Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 38) sorted by relevance

12

/haiku/src/tests/system/libroot/posix/
H A Dwcs_test.cpp42 size_t expected = 0; in test_wcslen() local
54 size_t expected = 4; in test_wcslen() local
66 size_t expected = 4; in test_wcslen() local
78 size_t expected = 2; in test_wcslen() local
90 size_t expected = 0; in test_wcslen() local
102 size_t expected = 4; in test_wcslen() local
114 size_t expected = 4; in test_wcslen() local
145 int expected = 0; in test_wcscmp() local
158 int expected = -1; in test_wcscmp() local
171 int expected = 1; in test_wcscmp() local
[all …]
H A DTestUnitUtils.h26 _assert_equals(const char* test, const Type& expected, const Type& actual, in _assert_equals()
51 _assert_time_equals(const char* test, bigtime_t expected, in _assert_time_equals()
125 #define assert_equals(expected, actual) \ argument
128 #define assert_equals_not(expected, actual) \ argument
131 #define assert_time_equals(expected, actual) \ argument
H A Dlocale_test.cpp1766 test_localtime(const char* tz, time_t nowSecs, const tm& expected) in test_localtime()
1841 test_gmtime(const char* tz, time_t nowSecs, const tm& expected) in test_gmtime()
1916 test_mktime(const char* tz, tm& tm, time_t expected, int expectedWeekDay, in test_mktime()
/haiku/src/tests/apps/haikudepot/
H A DStringUtilsTest.cpp34 const BString expected = "Tonic Water"; in TestStartInSituTrimSpaceAndControl() local
48 const BString expected = "Tonic Water"; in TestEndInSituTrimSpaceAndControl() local
62 const BString expected = "Tonic Water"; in TestStartAndEndInSituTrimSpaceAndControl() local
76 const BString expected = "Tonic Water"; in TestNoTrimInSituTrimSpaceAndControl() local
90 const BString expected = "TonicWater"; in TestInSituStripSpaceAndControl() local
105 const BString expected = "TonicWater"; in TestNoInSituStripSpaceAndControl() local
H A DStorageUtilsTest.cpp34 const BString expected = "/paved/path.chai"; in TestSwapExtensionOnPathComponent() local
/haiku/headers/tools/cppunit/cppunit/
H A DTestAssert.h66 void assertEquals( const T& expected, in assertEquals()
154 #define CPPUNIT_ASSERT_EQUAL(expected,actual) \ argument
175 #define CPPUNIT_ASSERT_EQUAL(expected,actual) \ argument
198 #define CPPUNIT_ASSERT_EQUAL_MESSAGE(message,expected,actual) \ argument
208 #define CPPUNIT_ASSERT_DOUBLES_EQUAL(expected,actual,delta) \ argument
/haiku/src/tools/cppunit/cppunit/
H A DTestAssert.cpp30 TestAssert::assertNotEqualImplementation( string expected, in assertNotEqualImplementation()
43 TestAssert::assertEquals( double expected, in assertEquals()
H A DAsserter.cpp34 failNotEqual( string expected, in failNotEqual()
48 string expected, in failNotEqualIf()
H A DNotEqualException.cpp8 NotEqualException::NotEqualException( string expected, in NotEqualException()
27 NotEqualException::NotEqualException( string expected, in NotEqualException()
/haiku/src/tests/kits/locale/
H A DDurationFormatTest.cpp31 BString expected; in TestDefault() local
46 BString expected; in TestDuration() local
H A DNumberFormatTest.cpp48 const char* expected) in _TestGeneralPercent()
H A DStringFormatTest.cpp35 const char* expected; in TestFormat() member
H A DRelativeDateTimeFormatTest.cpp43 BString expected; in TestDefault() local
/haiku/src/tests/add-ons/mail/imap/
H A Drfc3501_encoding_test.cpp14 assertEquals(const char* expected, const char* result) in assertEquals()
/haiku/src/tests/kits/app/broster/
H A DGetAppListTester.cpp49 const BList &expected) in check_list()
73 check_list(const BList &toCheck, const BList &base, const BList &expected) in check_list()
81 check_list(const BList &toCheck, const BList &expected) in check_list()
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp28 atomic_test_and_set(int32_t* ptr, int32_t desired, int32_t expected) in atomic_test_and_set()
85 atomic_test_and_set64(int64_t* ptr, int64_t desired, int64_t expected) in atomic_test_and_set64()
/haiku/src/tests/kits/net/service/
H A DDataTest.cpp152 DataTest::_RunTest(BString url, const char* expected, size_t expectedLength) in _RunTest()
H A DUrlTest.cpp173 } expected; member
/haiku/src/tests/kits/support/blocker/
H A DBenaphoreLockCountTest1.cpp71 bool BenaphoreLockCountTest1::CheckLockRequests(int expected) in CheckLockRequests()
H A DSemaphoreLockCountTest1.cpp67 bool SemaphoreLockCountTest1::CheckLockRequests(int expected) in CheckLockRequests()
/haiku/src/tests/servers/registrar/
H A Dmessage_deliverer_test.cpp49 uint32 expected = sExpectedMessages[sExpectedMessageIndex++]; in check_expected_message() local
/haiku/src/add-ons/translators/raw/
H A DLibRAW.cpp347 int expected) in ProgressCallback()
354 LibRAW::_ProgressCallback(enum LibRaw_progress p,int iteration, int expected) in _ProgressCallback()
/haiku/src/bin/debug/profile/
H A DSummaryProfileResult.cpp79 SummaryProfileResult::AddExpectedTicks(int32 expected) in AddExpectedTicks()
H A DCallgrindProfileResult.cpp169 CallgrindProfileResult::AddExpectedTicks(int32 expected) in AddExpectedTicks()
/haiku/src/tests/misc/exception-test/
H A Dexception-test.cpp143 test(string (*catcher)(void (*)()), void (*thrower)(), const char *expected) in test()

12