Home
last modified time | relevance | path

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

12

/external/rust/crates/nix/test/
Dtest_sendfile.rs99 let expected_string = header_strings.concat() in test_sendfile_freebsd() localVariable
104 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_freebsd()
109 assert_eq!(expected_string, read_string); in test_sendfile_freebsd()
148 let expected_string = header_strings.concat() in test_sendfile_dragonfly() localVariable
153 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_dragonfly()
158 assert_eq!(expected_string, read_string); in test_sendfile_dragonfly()
197 let expected_string = header_strings.concat() in test_sendfile_darwin() localVariable
202 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_darwin()
207 assert_eq!(expected_string, read_string); in test_sendfile_darwin()
/external/autotest/server/cros/servo/topology/
Dservo_topology_unittest.py24 expected_string = (
47 self.assertEqual(result, expected_string)
50 expected_string = (
64 self.assertEqual(result, expected_string)
/external/cronet/base/fuchsia/
Dtest_log_listener_safe.cc82 base::StringPiece expected_string) { in RunUntilMessageReceived() argument
86 if (base::StringPiece(message.msg()).find(expected_string) != in RunUntilMessageReceived()
96 expected_string = std::string(expected_string), in RunUntilMessageReceived()
102 if (message.msg().find(expected_string) == std::string::npos) { in RunUntilMessageReceived()
Dtest_log_listener_safe.h76 base::StringPiece expected_string);
/external/cronet/third_party/icu/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.cpp779 UnicodeString expected_string(kErrorUChars); in testTag() local
781 expected_string = base; in testTag()
784 CONFIRM_EQ(string, expected_string); in testTag()
815 expected_string = base; in testTag()
816 expected_string += itoa(j,buf); in testTag()
817 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
850 expected_string = base; in testTag()
851 expected_string += itoa(index,buf); in testTag()
853 expected_string = kErrorUChars; in testTag()
855 CONFIRM_EQ(string,expected_string); in testTag()
[all …]
/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.cpp779 UnicodeString expected_string(kErrorUChars); in testTag() local
781 expected_string = base; in testTag()
784 CONFIRM_EQ(string, expected_string); in testTag()
815 expected_string = base; in testTag()
816 expected_string += itoa(j,buf); in testTag()
817 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
850 expected_string = base; in testTag()
851 expected_string += itoa(index,buf); in testTag()
853 expected_string = kErrorUChars; in testTag()
855 CONFIRM_EQ(string,expected_string); in testTag()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dreconstruction_ops_test.py51 self.expected_string = ["1", "10", "100100", "1001000", "10010010000",
131 self.assertEqual(string_output, self.expected_string)
142 accumulator = accumulator and (string_output == self.expected_string)
158 self.assertEqual(string_output, self.expected_string)
/external/cronet/third_party/icu/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.c285 UChar* expected_string = NULL; in testTag() local
414 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3)); in testTag()
415 u_strcpy(expected_string,base); in testTag()
420 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
421 u_strcpy(expected_string,kERROR); in testTag()
425 CONFIRM_EQ(string, expected_string); in testTag()
427 free(expected_string); in testTag()
/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.c285 UChar* expected_string = NULL; in testTag() local
414 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3)); in testTag()
415 u_strcpy(expected_string,base); in testTag()
420 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
421 u_strcpy(expected_string,kERROR); in testTag()
425 CONFIRM_EQ(string, expected_string); in testTag()
427 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/cronet/net/der/
Dinput_unittest.cc44 std::string expected_string(reinterpret_cast<const char*>(kInput), in TEST()
46 EXPECT_EQ(expected_string, input.AsString()); in TEST()
/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/cronet/base/trace_event/
Dmemory_allocator_dump_unittest.cc140 MemoryAllocatorDump::Entry expected_string("one", "object", "one"); in TEST() local
142 Eq(ByRef(expected_string)))); in TEST()
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_protocol_test.cc136 const std::string expected_string; in TEST() member
154 EXPECT_EQ(test_case.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.cpp342 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() argument
349 REPORTER_ASSERT(reporter, 0 == strcmp(expected_string, vstr.c_str())); in check_value()
/external/python/cpython3/Lib/unittest/
Dmock.py806 expected_string = self._format_mock_call_signature(args, kwargs)
809 return message % (action, expected_string, actual_string)
989 expected_string = self._format_mock_call_signature(args, kwargs)
991 '%s call not found' % expected_string
2284 expected_string = self._format_mock_call_signature(args, kwargs)
2286 '%s await not found' % expected_string
/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/
Dsubstr_op_test.py103 expected_string = {
112 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

12