Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 236) sorted by relevance

12345678910

/ndk/tests/device/test-gnustl-full/unit/cppunit/
Dtest_main.cpp26 int TestCase::m_numErrors = 0;
27 int TestCase::m_numTests = 0;
29 TestCase *TestCase::m_root = 0;
30 Reporter *TestCase::m_reporter = 0;
32 void TestCase::registerTestCase(TestCase *in_testCase) { in registerTestCase()
37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { in run()
38 TestCase::m_reporter = in_reporter; in run()
43 TestCase *tmp = m_root; in run()
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); in main()
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); in main()
Dcppunit_mini.h54 class TestCase : public TestFixture {
56 TestCase() { registerTestCase(this); } in TestCase() function
61 static void registerTestCase(TestCase *in_testCase);
124 static TestCase *m_root;
125 TestCase *m_next;
143 typedef CPPUNIT_NS::TestCase Base; \
223 #define CPPUNIT_MESSAGE(m) CPPUNIT_NS::TestCase::message(m)
/ndk/tests/device/test-stlport/unit/cppunit/
Dtest_main.cpp26 int TestCase::m_numErrors = 0;
27 int TestCase::m_numTests = 0;
29 TestCase *TestCase::m_root = 0;
30 Reporter *TestCase::m_reporter = 0;
32 void TestCase::registerTestCase(TestCase *in_testCase) { in registerTestCase()
37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { in run()
38 TestCase::m_reporter = in_reporter; in run()
43 TestCase *tmp = m_root; in run()
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); in main()
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); in main()
Dcppunit_mini.h54 class TestCase : public TestFixture {
56 TestCase() { registerTestCase(this); } in TestCase() function
61 static void registerTestCase(TestCase *in_testCase);
124 static TestCase *m_root;
125 TestCase *m_next;
143 typedef CPPUNIT_NS::TestCase Base; \
223 #define CPPUNIT_MESSAGE(m) CPPUNIT_NS::TestCase::message(m)
/ndk/sources/android/support/tests/minitest/
Dminitest.cc147 void TestCase::Failure() { in Failure()
154 void TestCase::FatalFailure() { in FatalFailure()
160 internal::String& TestCase::GetText() { in GetText()
189 minitest::TestCase testcase; in main()
195 case minitest::TestCase::PASS: in main()
198 case minitest::TestCase::FAIL: in main()
199 case minitest::TestCase::FATAL: in main()
Dminitest.h205 class TestCase {
213 TestCase() : result_(PASS) {}
214 ~TestCase() {}
229 typedef void(TestFunction)(TestCase* testcase);
243 static void MINITEST_TEST_FUNCTION(testname, casename)(minitest::TestCase*); \
250 casename)(minitest::TestCase* minitest_testcase)
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc57 static TestCase const** const GetSortedTestCases() { in GetSortedTestCases()
59 TestCase const** const test_cases = in GetSortedTestCases()
60 new const TestCase*[unit_test.total_test_case_count()]; in GetSortedTestCases()
67 LessByName<TestCase>()); in GetSortedTestCases()
73 static const TestCase* FindTestCase(const char* name) { in FindTestCase()
76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase()
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests()
123 const TestCase** const test_cases = UnitTestHelper::GetSortedTestCases(); in TEST()
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); in TEST()
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); in TEST()
[all …]
Dgtest-listener_test.cc43 using ::testing::TestCase;
80 virtual void OnTestCaseStart(const TestCase& /*test_case*/) { in OnTestCaseStart() argument
96 virtual void OnTestCaseEnd(const TestCase& /*test_case*/) { in OnTestCaseEnd() argument
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h389 template <class TestCase>
391 : public TestMetaFactoryBase<typename TestCase::ParamType> {
393 typedef typename TestCase::ParamType ParamType;
398 return new ParameterizedTestFactory<TestCase>(parameter); in CreateTestFactory()
443 template <class TestCase>
449 typedef typename TestCase::ParamType ParamType;
459 virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); } in GetTestCaseTypeId()
514 TestCase::SetUpTestCase, in RegisterTests()
515 TestCase::TearDownTestCase, in RegisterTests()
568 template <class TestCase>
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest.cc317 static int SumOverTestCaseList(const std::vector<TestCase*>& case_list, in SumOverTestCaseList()
318 int (TestCase::*method)() const) { in SumOverTestCaseList()
327 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed()
332 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed()
338 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase()
726 return SumOverTestCaseList(test_cases_, &TestCase::successful_test_count); in successful_test_count()
731 return SumOverTestCaseList(test_cases_, &TestCase::failed_test_count); in failed_test_count()
736 return SumOverTestCaseList(test_cases_, &TestCase::disabled_test_count); in disabled_test_count()
741 return SumOverTestCaseList(test_cases_, &TestCase::total_test_count); in total_test_count()
746 return SumOverTestCaseList(test_cases_, &TestCase::test_to_run_count); in test_to_run_count()
[all …]
Dgtest-internal-inl.h580 const TestCase* GetTestCase(int i) const { in GetTestCase()
587 TestCase* GetMutableTestCase(int i) { in GetMutableTestCase()
636 TestCase* GetTestCase(const char* test_case_name,
679 void set_current_test_case(TestCase* a_current_test_case) { in set_current_test_case()
706 ForEach(test_cases_, TestCase::ClearTestCaseResult); in ClearNonAdHocTestResult()
736 const TestCase* current_test_case() const { return current_test_case_; } in current_test_case()
843 std::vector<TestCase*> test_cases_;
867 TestCase* current_test_case_;
1162 void OnTestCaseStart(const TestCase& test_case) { in OnTestCaseStart()
1166 void OnTestCaseEnd(const TestCase& test_case) { in OnTestCaseEnd()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample9_unittest.cc42 using ::testing::TestCase;
143 const TestCase& test_case = *unit_test.GetTestCase(i); in main()
/ndk/tests/device/test-gnustl-full/unit/
D_template.cpp13 class Test : public CPPUNIT_NS::TestCase
Dtest_errno.cpp17 class ErrnoTest : public CPPUNIT_NS::TestCase
Dtimes_test.cpp14 class TimesTest : public CPPUNIT_NS::TestCase
Ddivides_test.cpp13 class DivideTest : public CPPUNIT_NS::TestCase
Dstrstream_buffer_read_test.cpp15 class StrstreamBufferTest : public CPPUNIT_NS::TestCase
Dmodulus_test.cpp13 class ModulusTest : public CPPUNIT_NS::TestCase
/ndk/tests/device/test-stlport/unit/
D_template.cpp13 class Test : public CPPUNIT_NS::TestCase
Dtest_errno.cpp17 class ErrnoTest : public CPPUNIT_NS::TestCase
Dtimes_test.cpp14 class TimesTest : public CPPUNIT_NS::TestCase
Ddivides_test.cpp13 class DivideTest : public CPPUNIT_NS::TestCase
Dstrstream_buffer_read_test.cpp15 class StrstreamBufferTest : public CPPUNIT_NS::TestCase
Dmodulus_test.cpp13 class ModulusTest : public CPPUNIT_NS::TestCase
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h173 class TestCase; variable
542 friend class TestCase; variable
675 friend class TestCase; variable
738 class GTEST_API_ TestCase {
752 TestCase(const char* name, const char* a_type_param,
757 virtual ~TestCase();
832 static void ClearTestCaseResult(TestCase* test_case) { in ClearTestCaseResult()
898 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestCase);
954 virtual void OnTestCaseStart(const TestCase& test_case) = 0;
966 virtual void OnTestCaseEnd(const TestCase& test_case) = 0;
[all …]

12345678910