Home
last modified time | relevance | path

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

/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/icu/icu4c/source/test/intltest/
Drestsnew.cpp733 UnicodeString expected_string(kErrorUChars); in testTag() local
735 expected_string = base; in testTag()
738 CONFIRM_EQ(string, expected_string); in testTag()
769 expected_string = base; in testTag()
770 expected_string += itoa(j,buf); in testTag()
771 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
804 expected_string = base; in testTag()
805 expected_string += itoa(index,buf); in testTag()
807 expected_string = kErrorUChars; in testTag()
809 CONFIRM_EQ(string,expected_string); in testTag()
[all …]
Drestest.cpp403 UnicodeString expected_string(kErrorUChars); in testTag() local
405 expected_string = base; in testTag()
408 CONFIRM_EQ(string, expected_string, action); in testTag()
434 expected_string = base; in testTag()
435 expected_string += itoa(j,buf); in testTag()
436 CONFIRM_EQ(value, expected_string, action); in testTag()
456 expected_string = base; in testTag()
457 expected_string += itoa(index,buf); in testTag()
461 expected_string = kErrorUChars; in testTag()
463 CONFIRM_EQ(string, expected_string, action); in testTag()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c1599 UChar* expected_string = NULL; in testTag() local
1716 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 4)); in testTag()
1717 u_strcpy(expected_string,base); in testTag()
1718 CONFIRM_INT_EQ(len, u_strlen(expected_string)); in testTag()
1720 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
1721 u_strcpy(expected_string,kERROR); in testTag()
1727 CONFIRM_EQ(string, expected_string); in testTag()
1755 u_strcpy(expected_string, base); in testTag()
1757 u_strcat(expected_string, element); in testTag()
1760 CONFIRM_EQ(tres_getString(arrayItem1, -1, NULL, &len, &status),expected_string); in testTag()
[all …]
Dcrestst.c256 UChar* expected_string = NULL; in testTag() local
385 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3)); in testTag()
386 u_strcpy(expected_string,base); in testTag()
391 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
392 u_strcpy(expected_string,kERROR); in testTag()
396 CONFIRM_EQ(string, expected_string); in testTag()
398 free(expected_string); in testTag()
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dreconstruction_ops_test.py52 self.expected_string = ["1", "10", "100100", "1001000", "10010010000",
169 self.assertEqual(string_output, self.expected_string)
181 accumulator = accumulator and (string_output == self.expected_string)
198 self.assertEqual(string_output, self.expected_string)
/external/libxkbcommon/xkbcommon/test/
Dcompose.c79 const char *expected_string; in test_compose_seq_va() local
88 expected_string = va_arg(ap, const char *); in test_compose_seq_va()
115 fprintf(stderr, "expected string: %s\n", expected_string); in test_compose_seq_va()
119 if (!streq(buffer, expected_string)) { in test_compose_seq_va()
121 fprintf(stderr, "expected string: %s\n", strempty(expected_string)); in test_compose_seq_va()
/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/pdfium/fpdfsdk/
Dfpdfformfill_embeddertest.cpp109 void CheckSelection(const WideStringView& expected_string) { in CheckSelection() argument
111 int num_chars = expected_string.GetLength(); in CheckSelection()
124 EXPECT_EQ(expected_string, WideString::FromUTF16LE(buf.data(), num_chars)); in CheckSelection()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsubstr_op_test.py107 expected_string = {
116 self.assertAllEqual(substr, 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/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/python/cpython3/Lib/unittest/
Dmock.py756 expected_string = self._format_mock_call_signature(args, kwargs)
761 return message % (expected_string, actual_string)
888 expected_string = self._format_mock_call_signature(args, kwargs)
890 '%s call not found' % expected_string
/external/python/mock/mock/
Dmock.py860 expected_string = self._format_mock_call_signature(args, kwargs)
865 return message % (expected_string, actual_string)
996 expected_string = self._format_mock_call_signature(args, kwargs)
998 '%s call not found' % expected_string
/external/google-breakpad/src/testing/gtest/test/
Dgtest-printers_test.cc1192 #define EXPECT_PRINT_TO_STRING_(value, expected_string) \ argument
1193 EXPECT_TRUE(PrintToString(value) == (expected_string)) \
/external/gflags/test/
Dgflags_unittest.cc312 const string& expected_string, in TestFlagString() argument
321 EXPECT_EQ(expected_string, FLAGS_test_string); in TestFlagString()
/external/googletest/googletest/test/
Dgoogletest-printers-test.cc1381 #define EXPECT_PRINT_TO_STRING_(value, expected_string) \ argument
1382 EXPECT_TRUE(PrintToString(value) == (expected_string)) \
/external/grpc-grpc/test/cpp/end2end/
Dend2end_test.cc1194 grpc::string expected_string = info->SerializeAsString(); in TEST_P() local
1202 EXPECT_EQ(expected_string, iter->second); in TEST_P()