/haiku-fatelf/src/bin/network/wget/src/ |
H A D | test.h | 35 #define mu_assert(message, test) do { if (!(test)) return message; } while (0) 36 #define mu_run_test(test) \ 39 puts("RUNNING TEST " #test "..."); \ 40 message = test(); \
|
/haiku-fatelf/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-fatelf/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-fatelf/src/bin/coreutils/man/ |
H A D | test.x | 2 test \- check file types and compare values
|
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/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 ) {}
|
/haiku-fatelf/src/libs/pdflib/config/ |
H A D | mkmainlib.inc | 19 if test ! -d $(libdir) ; then \ 23 if test ! -d $(includedir) ; then \ 28 @-if test "$(WITH_SHARED)" = "no"; then \ 32 @-if test "$(WITH_SHARED)" = "yes"; then \ 42 test::
|
/haiku-fatelf/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-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/ |
H A D | bon_time.h | 29 void get_delta_t(tests_t test); 31 void add_delta_report(report_s &rep, tests_t test); 44 int print_cpu_stat(tests_t test); 45 int print_stat(tests_t test); 46 int print_file_stat(tests_t test);
|
H A D | bon_time.cpp | 102 void BonTimer::get_delta_t(tests_t test) argument 104 m_delta[test].Elapsed = time_so_far(); 105 m_delta[test].CPU = cpu_so_far(); 116 void BonTimer::add_delta_report(report_s &rep, tests_t test) argument 118 if(m_delta[test].CPU == 0.0) 120 m_delta[test].FirstStart = rep.StartTime; 121 m_delta[test].LastStop = rep.EndTime; 125 m_delta[test].FirstStart = min(m_delta[test].FirstStart, rep.StartTime); 126 m_delta[test] 149 print_cpu_stat(tests_t test) argument 175 print_stat(tests_t test) argument 218 print_file_stat(tests_t test) argument [all...] |
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/ |
H A D | access.c | 73 const char *test = strrchr(path, '/'); local 75 if (test == 0) 76 test = strrchr(path, '\\'); 78 if (test == 0) 79 test = path; 81 test++; 82 return (test - path);
|
/haiku-fatelf/3rdparty/mmu_man/irc/Haiku/ |
H A D | test.py | 31 from supybot.test import *
|
/haiku-fatelf/src/libs/ncurses/tack/ |
H A D | menu.c | 47 ** menu_test_loop(test-structure, state, control-character) 49 ** This function implements the repeat test function. 53 struct test_list *test, 59 if ((test->flags & MENU_REP_MASK) && (augment_test != test)) { 61 p = (test->flags >> 8) & 15; 62 if ((test->flags & MENU_REP_MASK) == MENU_LM1) { 65 if ((test->flags & MENU_ONE_MASK) == MENU_ONE) { 68 if ((test->flags & MENU_LC_MASK) == MENU_lines) { 71 if ((test 52 menu_test_loop( struct test_list *test, int *state, int *ch) argument 262 generic_done_message( struct test_list *test, int *state, int *ch) argument 321 subtest_menu( struct test_list *test, int *state, int *ch) argument [all...] |
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | demo_panels.c | 14 #include <test.priv.h>
|
/haiku-fatelf/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-fatelf/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 );
|
/haiku-fatelf/src/libs/ncurses/misc/ |
H A D | jpf-indent | 47 test="${name}".b$$ 48 rm -f "$save" "$test" 54 "$save" >"$test" 55 cp "$test" "$name" 63 "$name" >"$test" 64 mv "$test" "$name" 66 if test $NOOP = yes ; then
|