Home
last modified time | relevance | path

Searched refs:expected_string (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/scripts/tests/
Dtest_abspath.sh66 expected_string=${i#*:}
70 if [ "$result" = "$expected_string" ] ; then
71 result_s="matches expected string _abspath(${test_string}) => $result == $expected_string)"
74 result_s="doesn't match expected string _abspath(${test_string}) => $result != $expected_string)"
87 expected_string="$PWD"
91 if [ "$result" = "$expected_string" ] ; then
92 result_s="matches expected string abspath.sh ${test_string} => $result == $expected_string)"
95 result_s="doesn't match expected string abspath.sh ${test_string} => $result != $expected_string)"
104 expected_string="$PWD $PWD"
108 if [ "$result" = "$expected_string" ] ; then
[all …]
/external/rust/crates/nix/test/
Dtest_sendfile.rs74 let expected_string = in test_sendfile_freebsd() localVariable
78 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_freebsd()
83 assert_eq!(expected_string, read_string); in test_sendfile_freebsd()
119 let expected_string = in test_sendfile_darwin() localVariable
123 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_darwin()
128 assert_eq!(expected_string, read_string); in test_sendfile_darwin()
/external/autotest/server/cros/servo/topology/
Dservo_topology_unittest.py26 expected_string = (
49 self.assertEqual(result, expected_string)
52 expected_string = (
66 self.assertEqual(result, expected_string)
/external/icu/icu4c/source/test/intltest/
Drestest.cpp427 UnicodeString expected_string(kErrorUChars); in testTag() local
429 expected_string = base; in testTag()
432 CONFIRM_EQ(string, expected_string, action); in testTag()
458 expected_string = base; in testTag()
459 expected_string += itoa(j,buf); in testTag()
460 CONFIRM_EQ(value, expected_string, action); in testTag()
480 expected_string = base; in testTag()
481 expected_string += itoa(index,buf); in testTag()
485 expected_string = kErrorUChars; in testTag()
487 CONFIRM_EQ(string, expected_string, action); in testTag()
Drestsnew.cpp777 UnicodeString expected_string(kErrorUChars); in testTag() local
779 expected_string = base; in testTag()
782 CONFIRM_EQ(string, expected_string); in testTag()
813 expected_string = base; in testTag()
814 expected_string += itoa(j,buf); in testTag()
815 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
848 expected_string = base; in testTag()
849 expected_string += itoa(index,buf); in testTag()
851 expected_string = kErrorUChars; in testTag()
853 CONFIRM_EQ(string,expected_string); in testTag()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dreconstruction_ops_test.py55 self.expected_string = ["1", "10", "100100", "1001000", "10010010000",
135 self.assertEqual(string_output, self.expected_string)
146 accumulator = accumulator and (string_output == self.expected_string)
162 self.assertEqual(string_output, self.expected_string)
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c1653 UChar* expected_string = NULL; in testTag() local
1770 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 4)); in testTag()
1771 u_strcpy(expected_string,base); in testTag()
1772 CONFIRM_INT_EQ(len, u_strlen(expected_string)); in testTag()
1774 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
1775 u_strcpy(expected_string,kERROR); in testTag()
1781 CONFIRM_EQ(string, expected_string); in testTag()
1809 u_strcpy(expected_string, base); in testTag()
1811 u_strcat(expected_string, element); in testTag()
1814 CONFIRM_EQ(tres_getString(arrayItem1, -1, NULL, &len, &status),expected_string); in testTag()
[all …]
Dcrestst.c282 UChar* expected_string = NULL; in testTag() local
411 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3)); in testTag()
412 u_strcpy(expected_string,base); in testTag()
417 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
418 u_strcpy(expected_string,kERROR); in testTag()
422 CONFIRM_EQ(string, expected_string); in testTag()
424 free(expected_string); in testTag()
/external/libxkbcommon/test/
Dcompose.c81 const char *expected_string; in test_compose_seq_va() local
90 expected_string = va_arg(ap, const char *); in test_compose_seq_va()
117 fprintf(stderr, "expected string: %s\n", expected_string); in test_compose_seq_va()
121 if (!streq(buffer, expected_string)) { in test_compose_seq_va()
123 fprintf(stderr, "expected string: %s\n", strempty(expected_string)); in test_compose_seq_va()
/external/llvm-project/polly/lib/External/isl/
Disl_test_python.py144 expected_string = "n"
145 assert(expected_string == expr.to_C_str())
148 expected_string = "n >= 0"
149 assert(expected_string == expr.to_C_str())
Disl_test_cpp-generic.cc187 const char *expected_string = "n"; in test_return_string() local
188 assert(expected_string == expr.to_C_str()); in test_return_string()
191 expected_string = "n >= 0"; in test_return_string()
192 assert(expected_string == expr.to_C_str()); in test_return_string()
/external/libchrome/base/trace_event/
Dmemory_allocator_dump_unittest.cc142 MemoryAllocatorDump::Entry expected_string("one", "object", "one"); in TEST() local
144 Eq(ByRef(expected_string)))); in TEST()
/external/google-breakpad/src/processor/
Dsynth_minidump_unittest.cc245 string expected_string(expected, sizeof(expected) - 1); in TEST() local
246 EXPECT_EQ(expected_string, contents); in TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc85 void ExpectString(const WTF::String& expected_string, in ExpectString() argument
88 EXPECT_EQ(expected_string, string); in ExpectString()
/external/skia/tests/
DJSONTest.cpp323 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() argument
330 REPORTER_ASSERT(reporter, 0 == strcmp(expected_string, vstr.c_str())); in check_value()
/external/skqp/tests/
DJSONTest.cpp323 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() argument
330 REPORTER_ASSERT(reporter, 0 == strcmp(expected_string, vstr.c_str())); in check_value()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsubstr_op_test.py107 expected_string = {
116 self.assertAllEqual(substr, expected_string)
/external/python/cpython3/Lib/unittest/
Dmock.py794 expected_string = self._format_mock_call_signature(args, kwargs)
797 return message % (action, expected_string, actual_string)
977 expected_string = self._format_mock_call_signature(args, kwargs)
979 '%s call not found' % expected_string
2236 expected_string = self._format_mock_call_signature(args, kwargs)
2238 '%s await not found' % expected_string
/external/python/cpython2/Lib/test/
D_mock_backport.py733 expected_string = self._format_mock_call_signature(args, kwargs)
738 return message % (expected_string, actual_string)
844 expected_string = self._format_mock_call_signature(args, kwargs)
846 '%s call not found' % expected_string
/external/pdfium/third_party/pymock/
Dmock.py815 expected_string = self._format_mock_call_signature(args, kwargs)
820 return message % (expected_string, actual_string)
889 expected_string = self._format_mock_call_signature(args, kwargs)
891 '%s call not found' % expected_string
/external/pdfium/fpdfsdk/
Dfpdf_formfill_embeddertest.cpp117 void CheckSelection(WideStringView expected_string) { in CheckSelection() argument
128 EXPECT_EQ(expected_string, WideString::FromUTF16LE(buf.data(), num_chars)); in CheckSelection()
131 void CheckFocusedFieldText(WideStringView expected_string) { in CheckFocusedFieldText() argument
142 EXPECT_EQ(expected_string, WideString::FromUTF16LE(buf.data(), num_chars)); in CheckFocusedFieldText()
/external/gflags/test/
Dgflags_unittest.cc312 const string& expected_string, in TestFlagString() argument
321 EXPECT_EQ(expected_string, FLAGS_test_string); in TestFlagString()
/external/python/mock/mock/
Dmock.py862 expected_string = self._format_mock_call_signature(args, kwargs)
865 return message % (expected_string, actual_string)
1007 expected_string = self._format_mock_call_signature(args, kwargs)
1009 '%s call not found' % expected_string
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-printers-test.cc1310 #define EXPECT_PRINT_TO_STRING_(value, expected_string) \ argument
1311 EXPECT_TRUE(PrintToString(value) == (expected_string)) \
/external/googletest/googletest/test/
Dgoogletest-printers-test.cc1555 #define EXPECT_PRINT_TO_STRING_(value, expected_string) \ argument
1556 EXPECT_TRUE(PrintToString(value) == (expected_string)) \

12