Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/
Dtest_sendfile.rs93 let expected_string = header_strings.concat() in test_sendfile_freebsd() localVariable
98 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_freebsd()
103 assert_eq!(expected_string, read_string); in test_sendfile_freebsd()
142 let expected_string = header_strings.concat() in test_sendfile_dragonfly() localVariable
147 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_dragonfly()
152 assert_eq!(expected_string, read_string); in test_sendfile_dragonfly()
191 let expected_string = header_strings.concat() in test_sendfile_darwin() localVariable
196 assert_eq!(bytes_written as usize, expected_string.as_bytes().len()); in test_sendfile_darwin()
201 assert_eq!(expected_string, read_string); in test_sendfile_darwin()
250 let expected_string = header_strings.concat() in test_sendfilev() localVariable
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/fuchsia/dhcp/
DDhcpv4InteropTest.py221 expected_string = f'DHCPDISCOVER from'
223 dhcp_logs.count(expected_string), 1,
227 expected_string = f'DHCPOFFER on {ip}'
229 dhcp_logs.count(expected_string), 1,
233 expected_string = f'DHCPREQUEST for {ip}'
235 dhcp_logs.count(expected_string) >= 1,
239 expected_string = f'DHCPACK on {ip}'
241 dhcp_logs.count(expected_string) >= 1,
343 expected_string = f'DHCPREQUEST for {ip}'
345 dhcp_logs.count(expected_string) >= 2,
[all …]
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A 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 …]
H A Drestest.cpp436 UnicodeString expected_string(kErrorUChars); in testTag() local
438 expected_string = base; in testTag()
441 CONFIRM_EQ(string, expected_string, action); in testTag()
467 expected_string = base; in testTag()
468 expected_string += itoa(j,buf); in testTag()
469 CONFIRM_EQ(value, expected_string, action); in testTag()
489 expected_string = base; in testTag()
490 expected_string += itoa(index,buf); in testTag()
494 expected_string = kErrorUChars; in testTag()
496 CONFIRM_EQ(string, expected_string, action); in testTag()
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A 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 …]
H A Drestest.cpp436 UnicodeString expected_string(kErrorUChars); in testTag() local
438 expected_string = base; in testTag()
441 CONFIRM_EQ(string, expected_string, action); in testTag()
467 expected_string = base; in testTag()
468 expected_string += itoa(j,buf); in testTag()
469 CONFIRM_EQ(value, expected_string, action); in testTag()
489 expected_string = base; in testTag()
490 expected_string += itoa(index,buf); in testTag()
494 expected_string = kErrorUChars; in testTag()
496 CONFIRM_EQ(string, expected_string, action); in testTag()
/aosp_15_r20/external/cronet/base/fuchsia/
H A Dtest_log_listener_safe.cc83 std::string_view expected_string) { in RunUntilMessageReceived() argument
87 if (std::string_view(message.msg()).find(expected_string) != in RunUntilMessageReceived()
97 expected_string = std::string(expected_string), in RunUntilMessageReceived()
103 if (message.msg().find(expected_string) == std::string::npos) { in RunUntilMessageReceived()
/aosp_15_r20/external/autotest/server/cros/servo/topology/
H A Dservo_topology_unittest.py24 expected_string = (
47 self.assertEqual(result, expected_string)
50 expected_string = (
64 self.assertEqual(result, expected_string)
/aosp_15_r20/external/icu/icu4c/source/test/cintltst/
H A Dcreststn.c1657 UChar* expected_string = NULL; in testTag() local
1774 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 4)); in testTag()
1775 u_strcpy(expected_string,base); in testTag()
1776 CONFIRM_INT_EQ(len, u_strlen(expected_string)); in testTag()
1778 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1)); in testTag()
1779 u_strcpy(expected_string,kERROR); in testTag()
1785 CONFIRM_EQ(string, expected_string); in testTag()
1813 u_strcpy(expected_string, base); in testTag()
1815 u_strcat(expected_string, element); in testTag()
1818 CONFIRM_EQ(tres_getString(arrayItem1, -1, NULL, &len, &status),expected_string); in testTag()
[all …]
H A 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()
/aosp_15_r20/external/cronet/third_party/icu/source/test/cintltst/
H A 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 …]
H A 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()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/
H A Dresult.rs305 let mut expected_string = String::from("a result"); in test_result_as_deref_mut() localVariable
306 let mut_ok = &mut Result::Ok::<String, u32>(expected_string.clone()); in test_result_as_deref_mut()
307 let expected_result = Result::Ok::<&mut str, &mut u32>(expected_string.deref_mut()); in test_result_as_deref_mut()
322 let mut expected_string = String::from("an error"); in test_result_as_deref_mut() localVariable
323 let mut_err = &mut Result::Err::<&mut u32, String>(expected_string.clone()); in test_result_as_deref_mut()
324 let expected_result = Result::Err::<&mut u32, &mut String>(&mut expected_string); in test_result_as_deref_mut()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/
H A Dresult.rs305 let mut expected_string = String::from("a result"); in test_result_as_deref_mut() localVariable
306 let mut_ok = &mut Result::Ok::<String, u32>(expected_string.clone()); in test_result_as_deref_mut()
307 let expected_result = Result::Ok::<&mut str, &mut u32>(expected_string.deref_mut()); in test_result_as_deref_mut()
322 let mut expected_string = String::from("an error"); in test_result_as_deref_mut() localVariable
323 let mut_err = &mut Result::Err::<&mut u32, String>(expected_string.clone()); in test_result_as_deref_mut()
324 let expected_result = Result::Err::<&mut u32, &mut String>(&mut expected_string); in test_result_as_deref_mut()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/
H A Dresult.rs305 let mut expected_string = String::from("a result"); in test_result_as_deref_mut() localVariable
306 let mut_ok = &mut Result::Ok::<String, u32>(expected_string.clone()); in test_result_as_deref_mut()
307 let expected_result = Result::Ok::<&mut str, &mut u32>(expected_string.deref_mut()); in test_result_as_deref_mut()
322 let mut expected_string = String::from("an error"); in test_result_as_deref_mut() localVariable
323 let mut_err = &mut Result::Err::<&mut u32, String>(expected_string.clone()); in test_result_as_deref_mut()
324 let expected_result = Result::Err::<&mut u32, &mut String>(&mut expected_string); in test_result_as_deref_mut()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/
H A Dresult.rs305 let mut expected_string = String::from("a result"); in test_result_as_deref_mut() localVariable
306 let mut_ok = &mut Result::Ok::<String, u32>(expected_string.clone()); in test_result_as_deref_mut()
307 let expected_result = Result::Ok::<&mut str, &mut u32>(expected_string.deref_mut()); in test_result_as_deref_mut()
322 let mut expected_string = String::from("an error"); in test_result_as_deref_mut() localVariable
323 let mut_err = &mut Result::Err::<&mut u32, String>(expected_string.clone()); in test_result_as_deref_mut()
324 let expected_result = Result::Err::<&mut u32, &mut String>(&mut expected_string); in test_result_as_deref_mut()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/
H A Dresult.rs305 let mut expected_string = String::from("a result"); in test_result_as_deref_mut() localVariable
306 let mut_ok = &mut Result::Ok::<String, u32>(expected_string.clone()); in test_result_as_deref_mut()
307 let expected_result = Result::Ok::<&mut str, &mut u32>(expected_string.deref_mut()); in test_result_as_deref_mut()
322 let mut expected_string = String::from("an error"); in test_result_as_deref_mut() localVariable
323 let mut_err = &mut Result::Err::<&mut u32, String>(expected_string.clone()); in test_result_as_deref_mut()
324 let expected_result = Result::Err::<&mut u32, &mut String>(&mut expected_string); in test_result_as_deref_mut()
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/signal/
H A 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)
/aosp_15_r20/external/libxkbcommon/test/
H A 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()
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/
H A Dinput_unittest.cc44 std::string expected_string(reinterpret_cast<const char *>(kInput), in TEST()
46 EXPECT_EQ(expected_string, input.AsString()); in TEST()
/aosp_15_r20/external/libchrome/base/trace_event/
H A Dmemory_allocator_dump_unittest.cc142 MemoryAllocatorDump::Entry expected_string("one", "object", "one"); in TEST() local
144 Eq(ByRef(expected_string)))); in TEST()
/aosp_15_r20/external/cronet/base/trace_event/
H A Dmemory_allocator_dump_unittest.cc140 MemoryAllocatorDump::Entry expected_string("one", "object", "one"); in TEST() local
142 Eq(ByRef(expected_string)))); in TEST()
/aosp_15_r20/external/google-breakpad/src/processor/
H A Dsynth_minidump_unittest.cc248 string expected_string(expected, sizeof(expected) - 1); in TEST() local
249 EXPECT_EQ(expected_string, contents); in TEST()
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
H A Dspdy_protocol_test.cc135 const std::string expected_string; in TEST() member
153 EXPECT_EQ(test_case.expected_string, in TEST()
/aosp_15_r20/external/libchrome/mojo/public/cpp/bindings/tests/
H A Dwtf_types_unittest.cc85 void ExpectString(const WTF::String& expected_string, in ExpectString() argument
88 EXPECT_EQ(expected_string, string); in ExpectString()

123