/third_party/rust/crates/nix/test/ |
D | test_sendfile.rs | 99 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()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | restest.cpp | 427 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()
|
D | restsnew.cpp | 779 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 …]
|
/third_party/openssl/test/ |
D | x509_time_test.c | 45 const char *expected_string; member 384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time() 386 x509_format_tests[idx].expected_string, in test_x509_time() 387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time() 389 idx, x509_format_tests[idx].expected_string, t->length, in test_x509_time()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | creststn.c | 1653 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 …]
|
D | crestst.c | 285 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()
|
/third_party/skia/tests/ |
D | JSONTest.cpp | 323 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()
|
/third_party/python/Lib/unittest/ |
D | mock.py | 806 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
|
/third_party/googletest/googletest/test/ |
D | googletest-printers-test.cc | 1563 #define EXPECT_PRINT_TO_STRING_(value, expected_string) \ argument 1564 EXPECT_TRUE(PrintToString(value) == (expected_string)) \
|