/haiku-fatelf/src/tools/cppunit/cppunit/ |
H A D | TestAssert.cpp | 30 TestAssert::assertNotEqualImplementation( string expected, argument 35 Asserter::failNotEqual( expected, 43 TestAssert::assertEquals( double expected, argument 49 if (fabs (expected - actual) > delta) 50 assertNotEqualImplementation( assertion_traits<double>::toString(expected), 59 TestAssert::assertDoubleEquals( double expected, 64 Asserter::failNotEqualIf( fabs( expected - actual ) > delta, 65 assertion_traits<double>::toString(expected),
|
H A D | Asserter.cpp | 34 failNotEqual( string expected, argument 39 throw NotEqualException( expected, 48 string expected, 54 failNotEqual( expected, actual, sourceLine, additionalMessage ); 47 failNotEqualIf( bool shouldFail, string expected, string actual, SourceLine sourceLine, string additionalMessage ) argument
|
H A D | NotEqualException.cpp | 8 NotEqualException::NotEqualException( string expected, argument 12 Exception( "Expected: " + expected + 16 m_expected( expected ), 27 NotEqualException::NotEqualException( string expected, argument 31 Exception( "Expected: " + expected + ", but was: " + actual, 34 m_expected( expected ),
|
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | TestUnitUtils.h | 26 _assert_equals(const char* test, const Type& expected, const Type& actual, argument 29 if (actual == expected) 51 _assert_time_equals(const char* test, bigtime_t expected, argument 55 bigtime_t diff = actual > expected ? actual - expected : expected - actual; 56 if (diff <= expected / 20) 59 fprintf(stderr, "%s FAILED in line %d: expected time: %lld, actual: %lld\n", 60 test, lineNumber, (long long)expected, (long long)actual); 89 "code \"%s\" (0x%x), expected [all...] |
H A D | wcs_test.cpp | 42 size_t expected = 0; local 43 if (result != expected || errno != 0) { 44 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu)," 45 " errno = %x (expected %x)\n", string, result, expected, 54 size_t expected = 4; local 55 if (result != expected || errno != 0) { 56 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu)," 57 " errno = %x (expected %x)\n", string, result, expected, 66 size_t expected = 4; local 78 size_t expected = 2; local 90 size_t expected = 0; local 102 size_t expected = 4; local 114 size_t expected = 4; local 145 int expected = 0; local 158 int expected = -1; local 171 int expected = 1; local 184 int expected = 1; local 197 int expected = 0; local 210 int expected = -1; local 223 int expected = -1; local 236 int expected = 0; local 249 int expected = 0; local 262 int expected = 1; local 275 int expected = -1; local 306 int expected = 0; local 319 int expected = -1; local 332 int expected = 1; local 345 int expected = 0; local 358 int expected = 0; local 371 int expected = -1; local 384 int expected = 1; local 397 int expected = 0; local 410 int expected = 0; local 423 int expected = 1; local 436 int expected = -1; local 467 const wchar_t* expected = NULL; local 480 const wchar_t* expected = string; local 493 const wchar_t* expected = NULL; local 506 const wchar_t* expected = string + 4; local 519 const wchar_t* expected = string; local 532 const wchar_t* expected = NULL; local 545 const wchar_t* expected = string + 14; local 558 const wchar_t* expected = string; local 571 const wchar_t* expected = string; local 584 const wchar_t* expected = string + wcslen(string); local 597 const wchar_t* expected = string + 4; local 610 const wchar_t* expected = string; local 623 const wchar_t* expected = string + wcslen(string); local 636 const wchar_t* expected = string + 14; local 649 const wchar_t* expected = NULL; local 662 const wchar_t* expected = string; local 675 const wchar_t* expected = NULL; local 688 const wchar_t* expected = string + 9; local 701 const wchar_t* expected = string; local 714 const wchar_t* expected = NULL; local 727 const wchar_t* expected = string + 14; local 2741 const wchar_t* expected = NULL; local 2754 const wchar_t* expected = NULL; local 2767 const wchar_t* expected = string + 4; local 2780 const wchar_t* expected = string + 4; local 2793 const wchar_t* expected = string; local 2806 const wchar_t* expected = NULL; local 2837 size_t expected = 0; local 2850 size_t expected = 8; local 2863 size_t expected = 0; local 2876 size_t expected = 10; local 2889 size_t expected = wcslen(string); local 2902 size_t expected = wcslen(string); local 2933 size_t expected = 0; local 2946 size_t expected = 0; local 2959 size_t expected = 0; local 2972 size_t expected = wcslen(string); local 2985 size_t expected = 0; local 3016 const wchar_t* expected = NULL; local 3029 const wchar_t* expected = NULL; local 3042 const wchar_t* expected = NULL; local 3055 const wchar_t* expected = string; local 3068 const wchar_t* expected = string + 4; local 3081 const wchar_t* expected = string; local 3094 const wchar_t* expected = NULL; local 3125 wchar_t* expected = NULL; local 3150 wchar_t* expected = NULL; local 3175 wchar_t* expected = string; local 3230 wchar_t* expected = string + 1; local 3322 const wchar_t* expected = NULL; local 3335 const wchar_t* expected = NULL; local 3348 const wchar_t* expected = string; local 3361 const wchar_t* expected = NULL; local 3374 const wchar_t* expected = string + 4; local 3387 const wchar_t* expected = NULL; local 3400 const wchar_t* expected = NULL; local 3413 const wchar_t* expected = string + 5; local 3444 int expected = 0; local 3457 int expected = 0; local 3470 int expected = 0; local 3483 int expected = -1; local 3496 int expected = 1; local 3509 int expected = 1; local 3522 int expected = 0; local 3535 int expected = -1; local 3548 int expected = 0; local [all...] |
H A D | locale_test.cpp | 80 "(expected \"%s\")\n", 95 "(expected \"%s\")\n", result, expectedResult); 130 printf("\tPROBLEM: lc.decimal_point = \"%s\" (expected \"%s\")\n", 135 printf("\tPROBLEM: lc.thousands_sep = \"%s\" (expected \"%s\")\n", 143 printf("\tPROBLEM: lc.grouping = \"%s\" (expected \"%s\")\n", 148 printf("\tPROBLEM: lc.int_curr_symbol = \"%s\" (expected \"%s\")\n", 153 printf("\tPROBLEM: lc.currency_symbol = \"%s\" (expected \"%s\")\n", 159 "(expected \"%s\")\n", 165 "(expected \"%s\")\n", 173 printf("\tPROBLEM: lc.mon_grouping: \"%s\" (expected \" 1766 test_localtime(const char* tz, time_t nowSecs, const tm& expected) argument 1841 test_gmtime(const char* tz, time_t nowSecs, const tm& expected) argument 1916 test_mktime(const char* tz, tm& tm, time_t expected, int expectedWeekDay, int expectedYearDay) argument [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/asctime/ |
H A D | 1-1.c | 33 char expected[26]; local 53 sprintf(expected, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", 61 printf("expected = %s\n", expected); 63 if (strcmp(real, expected) != 0) { 66 printf("Expected %s\n", expected);
|
/haiku-fatelf/headers/tools/cppunit/cppunit/ |
H A D | TestAssert.h | 59 void CPPUNIT_API assertNotEqualImplementation( std::string expected, 66 void assertEquals( const T& expected, argument 71 if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion... 73 assertNotEqualImplementation( assertion_traits<T>::toString(expected), 80 void CPPUNIT_API assertEquals( double expected, 89 void assertEquals( const T& expected, 94 if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion... 96 Asserter::failNotEqual( assertion_traits<T>::toString(expected), 103 void CPPUNIT_API assertDoubleEquals( double expected, 154 #define CPPUNIT_ASSERT_EQUAL(expected,actua [all...] |
H A D | Asserter.h | 25 * string expected = XmlUniformiser( expectedXml ).stripped(); 28 * if ( expected == actual ) 31 * ::CppUnit::Asserter::failNotEqual( expected, 37 * #define CPPUNITTEST_ASSERT_XML_EQUAL( expected, actual ) \ 38 * checkXmlEqual( expected, actual, \ 61 * \param expected Text describing the expected value. 67 void CPPUNIT_API failNotEqual( std::string expected, 75 * \param expected Text describing the expected valu [all...] |
H A D | NotEqualException.h | 16 * \param expected Text that represents the expected value. 22 NotEqualException( std::string expected, 28 NotEqualException( std::string expected,
|
/haiku-fatelf/src/tests/kits/net/url/ |
H A D | url_test.cpp | 31 } expected; member in struct:__anon5855 86 ASSERT(BString(kTestExplode[testIndex].expected.protocol) == BString(testUrl.Protocol())); 87 ASSERT(BString(kTestExplode[testIndex].expected.userName) == BString(testUrl.UserName())); 88 ASSERT(BString(kTestExplode[testIndex].expected.password) == BString(testUrl.Password())); 89 ASSERT(BString(kTestExplode[testIndex].expected.host) == BString(testUrl.Host())); 90 ASSERT(kTestExplode[testIndex].expected.port == testUrl.Port()); 91 ASSERT(BString(kTestExplode[testIndex].expected.path) == BString(testUrl.Path())); 92 ASSERT(BString(kTestExplode[testIndex].expected.request) == BString(testUrl.Request())); 93 ASSERT(BString(kTestExplode[testIndex].expected.fragment) == BString(testUrl.Fragment()));
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | cpu-arm.c | 290 char * expected; local 315 case bfd_mach_arm_unknown: expected = "unknown"; break; 316 case bfd_mach_arm_2: expected = "armv2"; break; 317 case bfd_mach_arm_2a: expected = "armv2a"; break; 318 case bfd_mach_arm_3: expected = "armv3"; break; 319 case bfd_mach_arm_3M: expected = "armv3M"; break; 320 case bfd_mach_arm_4: expected = "armv4"; break; 321 case bfd_mach_arm_4T: expected = "armv4t"; break; 322 case bfd_mach_arm_5: expected = "armv5"; break; 323 case bfd_mach_arm_5T: expected [all...] |
/haiku-fatelf/src/tests/kits/net/cookie/ |
H A D | cookie_test.cpp | 37 } expected; member in struct:__anon5844 65 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.name) == BString(cookie.Name())); 66 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.value) == BString(cookie.Value())); 67 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.domain) == BString(cookie.Domain())); 68 ASSERT(testIndex, BString(kTestExplode[testIndex].expected.path) == BString(cookie.Path())); 69 ASSERT(testIndex, kTestExplode[testIndex].expected.secure == cookie.Secure()); 70 ASSERT(testIndex, kTestExplode[testIndex].expected.discard == cookie.Discard()); 71 ASSERT(testIndex, kTestExplode[testIndex].expected.session == cookie.IsSessionCookie()); 74 ASSERT(testIndex, kTestExplode[testIndex].expected.maxAge == cookie.MaxAge());
|
/haiku-fatelf/src/bin/gdb/libiberty/testsuite/ |
H A D | Makefile.in | 48 check-cplus-dem: test-demangle $(srcdir)/demangle-expected 49 ./test-demangle < $(srcdir)/demangle-expected
|
/haiku-fatelf/src/tests/servers/registrar/ |
H A D | message_deliverer_test.cpp | 49 uint32 expected = sExpectedMessages[sExpectedMessageIndex++]; local 50 if (what != expected) { 51 printf("Unexpected message '%.4s', expected was: '%.4s'\n", 52 (char*)&what, (char*)&expected);
|
/haiku-fatelf/src/tests/kits/support/blocker/ |
H A D | SemaphoreLockCountTest1.cpp | 67 bool SemaphoreLockCountTest1::CheckLockRequests(int expected) argument 70 return(actual == expected);
|
H A D | BenaphoreLockCountTest1.cpp | 71 bool BenaphoreLockCountTest1::CheckLockRequests(int expected) argument 74 return(actual == expected);
|
/haiku-fatelf/src/tests/kits/app/broster/ |
H A D | GetAppListTester.cpp | 49 const BList &expected) 60 int32 expectedCount = expected.CountItems(); 62 // toCheck must contain all elements of extendedBase and expected 65 list.AddList((BList*)&expected); 73 check_list(const BList &toCheck, const BList &base, const BList &expected) argument 75 check_list(toCheck, base, base, expected); 81 check_list(const BList &toCheck, const BList &expected) argument 84 check_list(toCheck, base, expected); 48 check_list(const BList &toCheck, const BList &base, const BList &extendedBase, const BList &expected) argument
|
/haiku-fatelf/src/tests/misc/exception-test/ |
H A D | exception-test.cpp | 143 test(string (*catcher)(void (*)()), void (*thrower)(), const char *expected) argument 146 if (caught != expected) { 147 printf("ERROR: expected exception: %s, but caught: %s\n", expected,
|
/haiku-fatelf/src/bin/network/wget/build-aux/ |
H A D | compile | 44 arguments, and rename the output as expected. 111 # that we are using for the .o file. Also, base the name on the expected
|
/haiku-fatelf/src/libs/print/libgutenprint/scripts/ |
H A D | compile | 43 arguments, and rename the output as expected. 110 # that we are using for the .o file. Also, base the name on the expected
|
/haiku-fatelf/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | Tools.inc | 64 %error expected 'proc' before 'endproc'.
|
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | Response.h | 96 ExpectedParseException(char expected,
|
H A D | Response.cpp | 220 ExpectedParseException::ExpectedParseException(char expected, char instead) argument 223 expected, instead);
|
/haiku-fatelf/src/bin/network/wget/tests/ |
H A D | HTTPServer.pm | 73 ('', 400, 'Mismatch on expected headers', {}); 186 # SUCCESSFUL AUTH: send expected message, headers, content. 205 my $expected = MIME::Base64::encode_base64($url_rec->{'user'} . ':' 208 if ($got eq $expected) { 211 $$msgref = "Wanted ${expected} got ${got}";
|