/haiku/src/tests/misc/exception-test/ |
H A D | exception-test.cpp | 143 test(string (*catcher)(void (*)()), void (*thrower)(), const char *expected) function 155 test(catchBase, throwBase, kCaughtBase); 156 test(catchBase, throwA, kCaughtBase); 157 test(catchBase, throwB, kCaughtBase); 158 test(catchBase, throwVirtualBase, kCaughtBase); 159 test(catchBase, throwVirtualA, kCaughtBase); 160 test(catchBase, throwVirtualB, kCaughtBase); 161 test(catchBase, throwInt, kCaughtGeneric); 163 test(catchA, throwBase, kCaughtGeneric); 164 test(catch [all...] |
/haiku/src/tests/system/kernel/unit/ |
H A D | TestSuite.cpp | 53 for (int32 i = 0; Test* test = TestAt(i); i++) { 54 if (strlen(test->Name()) == (size_t)nameLength 55 && strncmp(test->Name(), name, nameLength) == 0) { 56 return test; 65 TestSuite::AddTest(Test* test) argument 67 if (test == NULL) 68 return test; 72 delete test; 82 fTests[fTestCount++] = test; 84 test 114 Test* test = FindTest(name, separator != NULL ? separator - name : -1); local 142 _Run(TestContext& context, Test* test, const char* name) argument [all...] |
H A D | TestError.cpp | 12 TestError::TestError(Test* test, char* message) argument 14 fTest(test),
|
H A D | TestVisitor.cpp | 16 TestVisitor::VisitTest(Test* test) argument
|
H A D | TestSuite.h | 24 bool AddTest(Test* test); 34 bool _Run(TestContext& context, Test* test, 43 #define ADD_TEST(suite, test) \ 45 if (!suite->AddTest(test)) { \ 46 delete test; \ 58 StandardTest<type>* test = new(std::nothrow) StandardTest<type>( \ 60 if (test == NULL) { \ 64 ADD_TEST(suite, test); \
|
/haiku/src/tests/kits/game/file_game_sound_test/ |
H A D | FileSoundTest.cpp | 1 /**Class to test the BFileGameSound class 13 FileSoundTest test; local 14 test.Run();
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKitTest/ |
H A D | FinePixTest.cpp | 8 FinePix* test = new FinePix(); local 15 if (test->InitCheck() == B_OK) 18 test->SetupCam(); 21 test->GetPic(frame, total_size); 41 delete test;
|
/haiku/src/tests/system/libroot/posix/ |
H A D | TestUnitUtils.h | 26 _assert_equals(const char* test, const Type& expected, const Type& actual, argument 32 fprintf(stderr, "%s FAILED in line %d\n", test, lineNumber); 39 _assert_equals_not(const char* test, const Type& unexpected, const Type& actual, argument 45 fprintf(stderr, "%s FAILED in line %d\n", test, lineNumber); 51 _assert_time_equals(const char* test, bigtime_t expected, argument 60 test, lineNumber, (long long)expected, (long long)actual); 66 _assert_posix_bool_success(const char* test, bool success, int lineNumber) argument 71 fprintf(stderr, "%s FAILED in line %d: %s\n", test, lineNumber, 78 _assert_posix_bool_error(const char* test, int expectedError, bool success, argument 83 test, lineNumbe 104 test_ok(const char* test) argument 112 _wait_for_child(const char* test, pid_t child, int lineNumber) argument [all...] |
H A D | test_wctype.c | 25 #define TEST(test) \ 27 if ((is##test (ch) == 0) != (iswctype (ch, bit_##test) == 0)) { \ 28 printf("`iswctype' class `%s' test for character \\%o failed\n",\ 29 #test, ch); \ 32 if ((is##test (ch) == 0) != (isw##test (ch) == 0)) { \ 33 printf ("`isw%s' test for character \\%o failed\n", #test, ch); \
|
/haiku/headers/tools/cppunit/cppunit/ |
H A D | TestListener.h | 14 /*! \brief Listener for test progress and result. 20 * (TextTestProgressListener). Do not use the Listener for the test 23 * The test framework distinguishes between failures and errors. 36 virtual void startTest( Test *test ) {} 38 /*! Called when a failure occurs while running a test. 46 virtual void endTest( Test *test ) {}
|
H A D | TestCaller.h | 65 /*! \brief Generate a test case from a fixture method. 68 * A test caller provides access to a test case method 69 * on a test fixture class. Test callers are useful when 70 * you want to run an individual test or add it to a 72 * Test Callers invoke only one Test (i.e. test method) on one 95 * You can use a TestCaller to bind any test method on a TestFixture 112 * \param test the method this TestCaller calls in runTest() 114 TestCaller( std::string name, TestMethod test ) : 118 m_test( test ) 131 TestCaller(std::string name, TestMethod test, Fixture& fixture) argument 148 TestCaller(std::string name, TestMethod test, Fixture* fixture) argument [all...] |
/haiku/src/tools/cppunit/cppunit/ |
H A D | TestSetUp.cpp | 5 TestSetUp::TestSetUp( Test *test ) : TestDecorator( test )
|
H A D | TestRunner.cpp | 40 /*! Adds the specified test. 42 * \param test Test to add. 45 TestRunner::addTest( Test *test ) 47 if ( test != NULL ) 48 m_suite->addTest( test ); 52 /*! Runs the named test case. 54 * \param testName Name of the test case to run. If an empty is given, then 55 * all added test are run. The name must be the name of 56 * of an added test. 59 * \param doPrintResult if \c true (default) then the test resul 122 Test *test = *it; local 131 runTest( Test *test, bool doPrintProgress ) argument [all...] |
H A D | TestResult.cpp | 16 /// Destroys a test result 39 TestResult::addError( Test *test, argument 42 addFailure( TestFailure( test, e, true ) ); 50 TestResult::addFailure( Test *test, Exception *e ) argument 52 addFailure( TestFailure( test, e, false ) ); 69 /// Informs the result that a test will be started. 71 TestResult::startTest( Test *test ) 77 (*it)->startTest( test ); 81 /// Informs the result that a test was completed. 83 TestResult::endTest( Test *test ) [all...] |
/haiku/src/tests/servers/app/harness/ |
H A D | harness.cpp | 40 void SetTest(Test* test); 69 TestView::SetTest(Test* test) argument 71 fTest = test; 95 fTestSelectionField = new BMenuField("test selection", 96 "Select test:", new BPopUpMenu("select")); 135 TestWindow::AddTest(Test* test) argument 137 if (test == NULL || fTests.HasItem(test)) 140 if (!fTests.AddItem(test)) { 141 delete test; 164 Test* test = (Test*)fTests.ItemAt(index); local [all...] |
/haiku/3rdparty/mmu_man/irc/Haiku/ |
H A D | test.py | 31 from supybot.test import *
|
H A D | __init__.py | 58 import test
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | TestWindow.cpp | 10 TestView::TestView(BRect frame, Test* test, drawing_mode mode, argument 13 BView(frame, "test view", B_FOLLOW_ALL, B_WILL_DRAW), 14 fTest(test), 43 TestWindow::TestWindow(BRect frame, Test* test, drawing_mode mode, argument 50 fTestView = new TestView(Bounds(), test, mode, useClipping, target);
|
/haiku/headers/tools/cppunit/cppunit/extensions/ |
H A D | TestSuiteBuilder.h | 55 void addTest( Test *test ) 57 m_suite->addTest( test ); 63 Test *test = local 66 addTest( test ); 73 Test *test = local 77 addTest( test ); 86 Test *test = new TestCaller<Fixture,ExceptionType>( local 90 addTest( test );
|
H A D | TestDecorator.h | 15 * of a test class without subclassing the test. Instead, one can 16 * subclass the decorater and use it to wrap the test class. 18 * Does not assume ownership of the test it decorates 23 TestDecorator (Test *test); 40 inline TestDecorator::TestDecorator (Test *test) argument 41 { m_test = test; }
|
H A D | RepeatedTest.h | 13 /*! \brief Decorator that runs a test repeatedly. 15 * Does not assume ownership of the test it decorates 20 RepeatedTest( Test *test, argument 22 TestDecorator( test ),
|
/haiku/src/bin/screen_blanker/ |
H A D | ScreenSaverWindow.h | 23 ScreenSaverFilter(bool test) argument 27 fTestMode(test) {} 42 ScreenSaverWindow(BRect frame, bool test);
|
/haiku/src/tests/kits/locale/ |
H A D | collatorSpeed.cpp | 50 test(BCollator *collator, const char *name, int8 strength) function 125 // test key creation speed 130 test(collator, "primary: ", B_COLLATE_PRIMARY); 131 test(collator, "secondary: ", B_COLLATE_SECONDARY); 132 test(collator, "tertiary: ", B_COLLATE_TERTIARY); 133 test(collator, "quaternary:", B_COLLATE_QUATERNARY); 134 test(collator, "identical: ", B_COLLATE_IDENTICAL);
|
/haiku/headers/tools/cppunit/ |
H A D | TestListener.h | 13 //! Handles printing of test information 14 /*! Receives notification of the beginning and end of each test, 23 virtual void startTest( CppUnit::Test *test ); 25 virtual void endTest( CppUnit::Test *test );
|
/haiku/src/tests/system/runtime_loader/test_suite/ |
H A D | test_suite | 3 for test in \ 26 echo -n "$test ... " 27 testdir=testdir ./$test
|