Home
last modified time | relevance | path

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

1234

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_pyparse.py135 TestInfo = namedtuple('TestInfo', ['string', 'goodlines',
138 TestInfo('', [0], NONE),
140 TestInfo('"""This is a complete docstring."""\n', [0, 1], NONE),
141 TestInfo("'''This is a complete docstring.'''\n", [0, 1], NONE),
142 TestInfo('"""This is a continued docstring.\n', [0, 1], FIRST),
143 TestInfo("'''This is a continued docstring.\n", [0, 1], FIRST),
144 TestInfo('"""Closing quote does not match."\n', [0, 1], FIRST),
145 TestInfo('"""Bracket in docstring [\n', [0, 1], FIRST),
146 TestInfo("'''Incomplete two line docstring.\n\n", [0, 2], NEXT),
148 TestInfo('"This is a complete string."\n', [0, 1], NONE),
[all …]
/external/autotest/server/site_tests/brillo_HWRandom/
Dbrillo_HWRandom.py19 TestInfo = collections.namedtuple('TestInfo', 'number custom_args') variable in brillo_HWRandom
36 TestInfo(number=0, custom_args=['-p', '50']),
37 TestInfo(number=1, custom_args=['-p', '50', '-t', '50000']),
38 TestInfo(number=2, custom_args=['-p', '50', '-t', '1000']),
39 TestInfo(number=3, custom_args=['-p', '50', '-t', '5000']),
40 TestInfo(number=8, custom_args=['-p', '40']),
41 TestInfo(number=10, custom_args=[]),
42 TestInfo(number=11, custom_args=[]),
43 TestInfo(number=12, custom_args=[]),
44 TestInfo(number=15, custom_args=['-p', '50', '-t', '50000']),
[all …]
/external/autotest/server/site_tests/tast/
Dtast_unittest.py207 tests = [TestInfo('pkg.Test1', 0, 2),
208 TestInfo('pkg.Test2', 3, 5),
209 TestInfo('pkg.Test3', 6, 8)]
218 tests = [TestInfo('pkg.Test1', 0, 2, errors=[('failed', 1)]),
219 TestInfo('pkg.Test2', 3, 6),
220 TestInfo('pkg.Test2', 7, 8, errors=[('another', 7)])]
229 tests = [TestInfo('pkg.Test', 0, 2, errors=[('failed', 1)])]
237 tests = [TestInfo('pkg.Normal', 0, 1),
238 TestInfo('pkg.Skipped', 2, 2, skip_reason='missing deps')]
247 tests = [TestInfo('pkg.Normal', 0, 1),
[all …]
/external/googletest/googletest/include/gtest/
Dgtest.h208 class TestInfo; variable
419 friend class TestInfo;
616 friend class TestInfo;
697 class GTEST_API_ TestInfo {
701 ~TestInfo();
773 friend TestInfo* internal::MakeAndRegisterTestInfo(
782 TestInfo(const std::string& test_suite_name, const std::string& name,
799 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
826 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
901 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h174 class TestInfo; variable
373 friend class TestInfo;
564 friend class TestInfo;
644 class GTEST_API_ TestInfo {
648 ~TestInfo();
715 friend TestInfo* internal::MakeAndRegisterTestInfo(
728 TestInfo(const std::string& test_case_name,
746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
772 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
845 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h174 class TestInfo; variable
373 friend class TestInfo;
564 friend class TestInfo;
644 class GTEST_API_ TestInfo {
648 ~TestInfo();
715 friend TestInfo* internal::MakeAndRegisterTestInfo(
728 TestInfo(const std::string& test_case_name,
746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
772 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
845 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h174 class TestInfo; variable
373 friend class TestInfo;
564 friend class TestInfo;
644 class GTEST_API_ TestInfo {
648 ~TestInfo();
715 friend TestInfo* internal::MakeAndRegisterTestInfo(
728 TestInfo(const std::string& test_case_name,
746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
772 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
845 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h184 class TestInfo; variable
359 friend class TestInfo;
550 friend class TestInfo;
626 class GTEST_API_ TestInfo {
630 ~TestInfo();
682 friend TestInfo* internal::MakeAndRegisterTestInfo(
693 TestInfo(const char* test_case_name, const char* name,
709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
734 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
801 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h183 class TestInfo; variable
358 friend class TestInfo;
549 friend class TestInfo;
625 class GTEST_API_ TestInfo {
629 ~TestInfo();
682 friend TestInfo* internal::MakeAndRegisterTestInfo(
693 TestInfo(const char* test_case_name, const char* name,
709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
734 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
801 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest.h183 class TestInfo; variable
358 friend class TestInfo;
549 friend class TestInfo;
625 class GTEST_API_ TestInfo {
629 ~TestInfo();
682 friend TestInfo* internal::MakeAndRegisterTestInfo(
693 TestInfo(const char* test_case_name, const char* name,
709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
734 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
801 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h199 class TestInfo; variable
411 friend class TestInfo;
601 friend class TestInfo;
682 class GTEST_API_ TestInfo {
686 ~TestInfo();
755 friend TestInfo* internal::MakeAndRegisterTestInfo(
768 TestInfo(const std::string& test_case_name,
786 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
813 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
886 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/google-breakpad/src/testing/gtest/samples/
Dsample9_unittest.cc44 using ::testing::TestInfo;
64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart()
84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd()
145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main()
Dsample10_unittest.cc44 using ::testing::TestInfo;
81 virtual void OnTestStart(const TestInfo& /* test_info */) { in OnTestStart() argument
86 virtual void OnTestEnd(const TestInfo& /* test_info */) { in OnTestEnd() argument
/external/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_case.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
/external/googletest/googletest/test/
Dgtest-unittest-api_test.cc85 static TestInfo const** GetSortedTests(const TestSuite* test_suite) { in GetSortedTests()
86 TestInfo const** const tests = in GetSortedTests()
87 new const TestInfo*[test_suite->total_test_count()]; in GetSortedTests()
93 LessByName<TestInfo>()); in GetSortedTests()
157 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TEST()
220 const TestInfo* const test_info = test_suite->GetTestInfo(0); in TEST()
279 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TearDown()
Dgoogletest-listener-test.cc45 using ::testing::TestInfo;
84 void OnTestStart(const TestInfo& /*test_info*/) override { in OnTestStart() argument
92 void OnTestEnd(const TestInfo& /*test_info*/) override { in OnTestEnd() argument
158 void OnTestStart(const TestInfo& /*test_info*/) override { in OnTestStart() argument
166 void OnTestEnd(const TestInfo& /*test_info*/) override { in OnTestEnd() argument
/external/google-breakpad/src/testing/gtest/test/
Dgtest-unittest-api_test.cc86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests()
87 TestInfo const** const tests = in GetSortedTests()
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
94 LessByName<TestInfo>()); in GetSortedTests()
158 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TEST()
221 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST()
280 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TearDown()
Dgtest-listener_test.cc45 using ::testing::TestInfo;
85 virtual void OnTestStart(const TestInfo& /*test_info*/) { in OnTestStart() argument
93 virtual void OnTestEnd(const TestInfo& /*test_info*/) { in OnTestEnd() argument
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc1957 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
1962 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2191 TestInfo::TestInfo(const char* a_test_case_name, in TestInfo() function in testing::TestInfo
2209 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2230 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2238 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2239 new TestInfo(test_case_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2285 bool operator()(const TestInfo * test_info) const { in operator ()()
2313 void TestInfo::Run() { in Run()
2406 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestCase()
[all …]
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc1956 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
1961 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2190 TestInfo::TestInfo(const char* a_test_case_name, in TestInfo() function in testing::TestInfo
2208 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2229 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2237 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2238 new TestInfo(test_case_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2283 void TestInfo::Run() { in Run()
2376 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestCase()
2381 const TestInfo* TestCase::GetTestInfo(int i) const { in GetTestInfo()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc1956 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
1961 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2190 TestInfo::TestInfo(const char* a_test_case_name, in TestInfo() function in testing::TestInfo
2208 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2229 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2237 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2238 new TestInfo(test_case_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2283 void TestInfo::Run() { in Run()
2376 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestCase()
2381 const TestInfo* TestCase::GetTestInfo(int i) const { in GetTestInfo()
[all …]
/external/libtextclassifier/utils/testing/
Dlogging_event_listener.h41 void OnTestStart(const testing::TestInfo& test_info) override;
46 void OnTestEnd(const testing::TestInfo& test_info) override;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests()
525 struct TestInfo { struct
526 TestInfo(const char* a_test_case_base_name, in TestInfo() function
537 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer; argument
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests()
525 struct TestInfo { struct
526 TestInfo(const char* a_test_case_base_name, in TestInfo() argument
537 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer; argument

1234