Home
last modified time | relevance | path

Searched refs:TestSuite (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc57 static TestSuite const** GetSortedTestSuites() { in GetSortedTestSuites()
59 auto const** const test_suites = new const TestSuite*[static_cast<size_t>( in GetSortedTestSuites()
66 LessByName<TestSuite>()); in GetSortedTestSuites()
72 static const TestSuite* FindTestSuite(const char* name) { in FindTestSuite()
75 const TestSuite* test_suite = unit_test.GetTestSuite(i); in FindTestSuite()
84 static TestInfo const** GetSortedTests(const TestSuite* test_suite) { in GetSortedTests()
117 const TestSuite** const test_suites = UnitTestHelper::GetSortedTestSuites(); in TEST()
140 const TestSuite* test_suite = UnitTestHelper::FindTestSuite("ApiTest"); in TEST()
201 const TestSuite* test_suite = UnitTestHelper::FindTestSuite("DISABLED_Test"); in TEST()
237 const TestSuite** const test_suites = UnitTestHelper::GetSortedTestSuites(); in TearDown()
[all …]
H A Dgoogletest-failfast-unittest_.cc125 void OnTestSuiteStart(const ::testing::TestSuite& test_suite) override { in OnTestSuiteStart()
145 void OnTestSuiteEnd(const ::testing::TestSuite& test_suite) override { in OnTestSuiteEnd()
H A Dgoogletest-listener-test.cc151 void OnTestSuiteStart(const TestSuite& /*test_suite*/) override { in OnTestSuiteStart() argument
167 void OnTestSuiteEnd(const TestSuite& /*test_suite*/) override { in OnTestSuiteEnd() argument
H A Dgoogletest-param-test-test.cc886 while (const testing::TestSuite* suite = ins->GetTestSuite(ts++)) { in TEST()
964 const ::testing::TestSuite* test_suite = unit_test->GetTestSuite(suite_num); in TEST()
H A Dgtest_unittest.cc135 streamer_.OnTestSuiteStart(TestSuite("FooTest", "Bar", nullptr, nullptr)); in TEST_F()
141 streamer_.OnTestSuiteEnd(TestSuite("FooTest", "Bar", nullptr, nullptr)); in TEST_F()
2027 const testing::TestSuite* test_suite = in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite()
2062 const testing::TestSuite* test_suite = in SetUpTestSuite()
5262 const TestSuite* const test_suite = in GetTestInfo()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h210 class TestSuite; variable
214 using TestCase = TestSuite;
447 friend class TestSuite; variable
606 friend class TestSuite; variable
672 class GTEST_API_ TestSuite {
686 TestSuite(const std::string& name, const char* a_type_param,
691 virtual ~TestSuite();
780 static void ClearTestSuiteResult(TestSuite* test_suite) { in ClearTestSuiteResult()
875 TestSuite(const TestSuite&) = delete;
876 TestSuite& operator=(const TestSuite&) = delete;
[all …]
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h591 const TestSuite* GetTestSuite(int i) const { in GetTestSuite()
603 TestSuite* GetMutableSuiteCase(int i) { in GetMutableSuiteCase()
653 TestSuite* GetTestSuite(const std::string& test_suite_name,
731 ForEach(test_suites_, TestSuite::ClearTestSuiteResult); in ClearNonAdHocTestResult()
756 const TestSuite* current_test_suite() const { return current_test_suite_; } in current_test_suite()
830 bool operator()(const TestSuite* lhs, const TestSuite* rhs) const { in operator()
842 void set_current_test_suite(TestSuite* a_current_test_suite) { in set_current_test_suite()
883 std::vector<TestSuite*> test_suites_;
886 std::unordered_map<std::string, TestSuite*> test_suites_by_name_;
914 TestSuite* current_test_suite_;
[all …]
H A Dgtest.cc429 static int SumOverTestSuiteList(const std::vector<TestSuite*>& case_list, in SumOverTestSuiteList()
430 int (TestSuite::*method)() const) { in SumOverTestSuiteList()
439 static bool TestSuitePassed(const TestSuite* test_suite) { in TestSuitePassed()
444 static bool TestSuiteFailed(const TestSuite* test_suite) { in TestSuiteFailed()
450 static bool ShouldRunTestSuite(const TestSuite* test_suite) { in ShouldRunTestSuite()
1117 return SumOverTestSuiteList(test_suites_, &TestSuite::successful_test_count); in successful_test_count()
1122 return SumOverTestSuiteList(test_suites_, &TestSuite::skipped_test_count); in skipped_test_count()
1127 return SumOverTestSuiteList(test_suites_, &TestSuite::failed_test_count); in failed_test_count()
1133 &TestSuite::reportable_disabled_test_count); in reportable_disabled_test_count()
1138 return SumOverTestSuiteList(test_suites_, &TestSuite::disabled_test_count); in disabled_test_count()
[all …]
/freebsd/contrib/googletest/docs/reference/
H A Dtesting.md579 ### TestSuite {#TestSuite}
581 Represents a test suite. `TestSuite` is not copyable.
583 #### Public Methods {#TestSuite-public} argument
585 ##### name {#TestSuite::name}
587 `const char* TestSuite::name() const`
591 ##### type_param {#TestSuite::type_param}
593 `const char* TestSuite::type_param() const`
599 ##### should_run {#TestSuite::should_run}
601 `bool TestSuite::should_run() const`
605 ##### successful_test_count {#TestSuite::successful_test_count}
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h435 template <class TestSuite>
437 : public TestMetaFactoryBase<typename TestSuite::ParamType> {
439 using ParamType = typename TestSuite::ParamType;
444 return new ParameterizedTestFactory<TestSuite>(parameter); in CreateTestFactory()
504 template <class TestSuite>
510 using ParamType = typename TestSuite::ParamType;
525 TypeId GetTestSuiteTypeId() const override { return GetTypeId<TestSuite>(); } in GetTestSuiteTypeId()
605 SuiteApiResolver<TestSuite>::GetSetUpCaseOrSuite(file, line), in RegisterTests()
606 SuiteApiResolver<TestSuite>::GetTearDownCaseOrSuite(file, line), in RegisterTests()
702 template <class TestSuite>
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.h151 #define INSTANTIATE_GTEST_MATCHER_TEST_P(TestSuite) \ argument
152 using TestSuite##P = GTestMatcherTestP; \
153 INSTANTIATE_TEST_SUITE_P(MatcherInterface, TestSuite##P, Values(false)); \
154 INSTANTIATE_TEST_SUITE_P(GtestMatcher, TestSuite##P, Values(true))
/freebsd/contrib/googletest/googletest/samples/
H A Dsample9_unittest.cc132 const testing::TestSuite& test_suite = *unit_test.GetTestSuite(i); in main()
/freebsd/contrib/googletest/docs/
H A Dprimer.md65 The preferred API is *TestSuite*. The older TestCase API is being slowly
H A Dadvanced.md1710 * TestSuite has information about a test suite, which can contain one or more
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt2234 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics