Home
last modified time | relevance | path

Searched refs:TestInfo (Results 1 – 25 of 47) sorted by relevance

12

/third_party/python/Lib/idlelib/idle_test/
Dtest_pyparse.py152 TestInfo = namedtuple('TestInfo', ['string', 'goodlines',
155 TestInfo('', [0], NONE),
157 TestInfo('"""This is a complete docstring."""\n', [0, 1], NONE),
158 TestInfo("'''This is a complete docstring.'''\n", [0, 1], NONE),
159 TestInfo('"""This is a continued docstring.\n', [0, 1], FIRST),
160 TestInfo("'''This is a continued docstring.\n", [0, 1], FIRST),
161 TestInfo('"""Closing quote does not match."\n', [0, 1], FIRST),
162 TestInfo('"""Bracket in docstring [\n', [0, 1], FIRST),
163 TestInfo("'''Incomplete two line docstring.\n\n", [0, 2], NEXT),
165 TestInfo('"This is a complete string."\n', [0, 1], NONE),
[all …]
Dtest_editor.py130 TestInfo = namedtuple('Tests', ['label', 'text', 'expected', 'mark'])
132 tests = (TestInfo('Empty line inserts with no indent.',
136 TestInfo('Inside bracket before space, deletes space.',
140 TestInfo('Inside bracket after space, deletes space.',
144 TestInfo('Inside string with one line - no indent.',
148 TestInfo('Inside string with more than one line.',
152 TestInfo('Backslash with one line.',
156 TestInfo('Backslash with more than one line.',
160 TestInfo('Block opener - indents +1 level.',
164 TestInfo('Block closer - dedents -1 level.',
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DViewportTests.cpp91 struct TestInfo { struct in ViewportTest
99 void DoTest(const TestInfo& info) { in DoTest()
185 TestInfo info = {viewport, TopLeftTriangleColor, BottomRightTriangleColor, 1.0, false}; in TEST_P()
193 TestInfo info = {viewport, TopLeftTriangleColor, BottomRightTriangleColor}; in TEST_P()
202 TestInfo info = {viewport, BottomRightTriangleColor, BackgroundColor}; in TEST_P()
211 TestInfo info = {viewport, BackgroundColor, TopLeftTriangleColor}; in TEST_P()
221 TestInfo info = {viewport, BackgroundColor, BottomRightTriangleColor, 0.25}; in TEST_P()
234 TestInfo info = {viewport, BottomRightTriangleColor, BackgroundColor, 0.25}; in TEST_P()
244 TestInfo info = {viewport, BackgroundColor, BackgroundColor, 0.25}; in TEST_P()
251 TestInfo info = {viewport, TopLeftTriangleColor, TopLeftTriangleColor}; in TEST_P()
[all …]
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest.h193 class TestInfo; variable
404 friend class TestInfo;
609 friend class TestInfo;
695 class GTEST_API_ TestInfo {
699 ~TestInfo();
771 friend TestInfo* internal::MakeAndRegisterTestInfo(
780 TestInfo(const std::string& test_suite_name, const std::string& name,
797 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
824 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
903 const TestInfo* GetTestInfo(int i) const;
[all …]
/third_party/googletest/googletest/include/gtest/
Dgtest.h205 class TestInfo; variable
420 friend class TestInfo;
622 friend class TestInfo;
708 class GTEST_API_ TestInfo {
712 ~TestInfo();
784 friend TestInfo* internal::MakeAndRegisterTestInfo(
793 TestInfo(const std::string& test_suite_name, const std::string& name,
813 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
840 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
921 const TestInfo* GetTestInfo(int i) const;
[all …]
/third_party/googletest/googletest/samples/
Dsample9_unittest.cc43 using ::testing::TestInfo;
61 void OnTestStart(const TestInfo& test_info) override { in OnTestStart()
81 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd()
141 const TestInfo& test_info = *test_suite.GetTestInfo(j); in main()
Dsample10_unittest.cc41 using ::testing::TestInfo;
77 void OnTestStart(const TestInfo& /* test_info */) override { in OnTestStart() argument
82 void OnTestEnd(const TestInfo& /* test_info */) override { in OnTestEnd() argument
/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc85 static TestInfo const** GetSortedTests(const TestSuite* test_suite) { in GetSortedTests()
86 TestInfo const** const tests = new const TestInfo*[static_cast<size_t>( in GetSortedTests()
93 LessByName<TestInfo>()); in GetSortedTests()
150 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TEST()
211 const TestInfo* const test_info = test_suite->GetTestInfo(0); in TEST()
269 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TearDown()
Dgoogletest-listener-test.cc46 using ::testing::TestInfo;
86 void OnTestStart(const TestInfo& /*test_info*/) override { in OnTestStart() argument
94 void OnTestEnd(const TestInfo& /*test_info*/) override { in OnTestEnd() argument
162 void OnTestStart(const TestInfo& /*test_info*/) override { in OnTestStart() argument
170 void OnTestEnd(const TestInfo& /*test_info*/) override { in OnTestEnd() argument
Dgoogletest-shuffle-test_.cc42 using ::testing::TestInfo;
84 void OnTestStart(const TestInfo& test_info) override { in OnTestStart()
Dgoogletest-param-test-test.cc782 const ::testing::TestInfo* const test_info = in TEST_P()
803 const ::testing::TestInfo* const test_info = in TEST_P()
817 const ::testing::TestInfo* const test_info = in TEST_F()
833 while (const testing::TestInfo* info = suite->GetTestInfo(ti++)) { in TEST()
911 const ::testing::TestInfo* test_info = test_suite->GetTestInfo(test_num); in TEST()
926 const ::testing::TestInfo* const test_info = in TEST_P()
951 const ::testing::TestInfo* const test_info = in TEST_P()
981 const ::testing::TestInfo* const test_info = in TEST_P()
1009 const ::testing::TestInfo* const test_info = in TEST_P()
Dgoogletest-failfast-unittest_.cc130 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart()
141 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd()
Dgtest_stress_test.cc110 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in CheckTestFailureCount()
136 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in TEST()
/third_party/cef/tests/gtest/teamcity/include/
Dteamcity_gtest.h36 virtual void OnTestStart(const ::testing::TestInfo& test_info);
38 virtual void OnTestEnd(const ::testing::TestInfo& test_info);
/third_party/googletest/docs/reference/
Dtesting.md659 `const TestInfo* TestSuite::GetTestInfo(int i) const`
661 Returns the [`TestInfo`](#TestInfo) for the `i`-th test among all the tests. `i`
672 ### TestInfo {#TestInfo}
674 `::testing::TestInfo`
678 #### Public Methods {#TestInfo-public} argument
680 ##### test_suite_name {#TestInfo::test_suite_name}
682 `const char* TestInfo::test_suite_name() const`
686 ##### name {#TestInfo::name}
688 `const char* TestInfo::name() const`
692 ##### type_param {#TestInfo::type_param}
[all …]
/third_party/cef/tests/gtest/teamcity/src/
Dteamcity_gtest.cpp38 void TeamcityGoogleTestEventListener::OnTestStart(const TestInfo& test_info) { in OnTestStart()
43 void TeamcityGoogleTestEventListener::OnTestEnd(const TestInfo& test_info) { in OnTestEnd()
/third_party/typescript/src/testRunner/parallel/
Dshared.ts16 export interface TestInfo { interface
33 passes: TestInfo[];
/third_party/googletest/googletest/src/
Dgtest-internal-inl.h677 TestInfo* test_info) { in AddTestInfo()
723 void set_current_test_info(TestInfo* a_current_test_info) { in set_current_test_info()
774 TestInfo* current_test_info() { return current_test_info_; } in current_test_info()
775 const TestInfo* current_test_info() const { return current_test_info_; } in current_test_info()
914 TestInfo* current_test_info_;
1180 void OnTestStart(const TestInfo& test_info) override { in OnTestStart()
1184 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd()
Dgtest.cc2479 const TestInfo* const first_test_info = test_suite->test_info_list()[0]; in HasSameFixtureClass()
2484 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2714 TestInfo::TestInfo(const std::string& a_test_suite_name, in TestInfo() function in testing::TestInfo
2734 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2756 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2761 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2762 new TestInfo(test_suite_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2806 bool operator()(const TestInfo * test_info) const { in operator ()()
2833 void TestInfo::Run() { in Run()
2882 void TestInfo::Skip() { in Skip()
[all …]
/third_party/mesa3d/src/gtest/src/
Dgtest-internal-inl.h675 TestInfo* test_info) { in AddTestInfo()
708 void set_current_test_info(TestInfo* a_current_test_info) { in set_current_test_info()
759 TestInfo* current_test_info() { return current_test_info_; } in current_test_info()
760 const TestInfo* current_test_info() const { return current_test_info_; } in current_test_info()
893 TestInfo* current_test_info_;
1170 void OnTestStart(const TestInfo& test_info) override { in OnTestStart()
1174 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd()
Dgtest.cc2305 const TestInfo* const first_test_info = test_suite->test_info_list()[0]; in HasSameFixtureClass()
2310 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2540 TestInfo::TestInfo(const std::string& a_test_suite_name, in TestInfo() function in testing::TestInfo
2559 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2581 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2586 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2587 new TestInfo(test_suite_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2631 bool operator()(const TestInfo * test_info) const { in operator ()()
2657 void TestInfo::Run() { in Run()
2770 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestSuite()
[all …]
/third_party/googletest/googletest/include/gtest/hwext/
Dgtest-ext.h69 const TestDefInfo* findDefFor(const TestInfo* test) const;
75 int queryFlagsFor(const TestInfo* test, int def_value) const;
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h511 tests_.push_back(std::shared_ptr<TestInfo>( in AddTestPattern()
512 new TestInfo(test_suite_name, test_base_name, meta_factory))); in AddTestPattern()
532 std::shared_ptr<TestInfo> test_info = *test_it; in RegisterTests()
588 struct TestInfo { struct
589 TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name, in TestInfo() argument
599 using TestInfoContainer = ::std::vector<std::shared_ptr<TestInfo> >; argument
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h525 tests_.push_back(std::shared_ptr<TestInfo>(new TestInfo( in AddTestPattern()
548 std::shared_ptr<TestInfo> test_info = *test_it; in RegisterTests()
612 struct TestInfo { struct
613 TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name, in TestInfo() argument
626 using TestInfoContainer = ::std::vector<std::shared_ptr<TestInfo> >; argument
/third_party/googletest/googletest/src/hwext/
Dgtest-ext.cc41 int TestDefManager::queryFlagsFor(const TestInfo* test, int def_value) const in queryFlagsFor()
47 const TestDefInfo* TestDefManager::findDefFor(const TestInfo* test) const in findDefFor()

12