Searched refs:test (Results 1 - 25 of 238) sorted by relevance

12345678910

/haiku-fatelf/src/bin/network/wget/src/
H A Dtest.h35 #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 Dexception-test.cpp143 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 DTestSuite.cpp53 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 DTestError.cpp12 TestError::TestError(Test* test, char* message) argument
14 fTest(test),
H A DTestVisitor.cpp16 TestVisitor::VisitTest(Test* test) argument
H A DTestSuite.h24 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 Dtest.x2 test \- check file types and compare values
/haiku-fatelf/src/tests/kits/game/file_game_sound_test/
H A DFileSoundTest.cpp1 /**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 DFinePixTest.cpp8 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 DTestUnitUtils.h26 _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 Dtest_wctype.c25 #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 DTestListener.h14 /*! \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 Dmkmainlib.inc19 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 DTestSetUp.cpp5 TestSetUp::TestSetUp( Test *test ) : TestDecorator( test )
H A DTestRunner.cpp40 /*! 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 DTestResult.cpp16 /// 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 Dbon_time.h29 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 Dbon_time.cpp102 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 Daccess.c73 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 Dtest.py31 from supybot.test import *
/haiku-fatelf/src/libs/ncurses/tack/
H A Dmenu.c47 ** 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 Ddemo_panels.c14 #include <test.priv.h>
/haiku-fatelf/src/tests/servers/app/benchmark/
H A DTestWindow.cpp10 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 DTestSuiteBuilder.h55 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 Djpf-indent47 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

Completed in 271 milliseconds

12345678910