Home
last modified time | relevance | path

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

123456

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_pyparse.py150 TestInfo = namedtuple('TestInfo', ['string', 'goodlines',
153 TestInfo('', [0], NONE),
155 TestInfo('"""This is a complete docstring."""\n', [0, 1], NONE),
156 TestInfo("'''This is a complete docstring.'''\n", [0, 1], NONE),
157 TestInfo('"""This is a continued docstring.\n', [0, 1], FIRST),
158 TestInfo("'''This is a continued docstring.\n", [0, 1], FIRST),
159 TestInfo('"""Closing quote does not match."\n', [0, 1], FIRST),
160 TestInfo('"""Bracket in docstring [\n', [0, 1], FIRST),
161 TestInfo("'''Incomplete two line docstring.\n\n", [0, 2], NEXT),
163 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.',
/external/autotest/server/site_tests/tast/
Dtast_unittest.py283 tests = [TestInfo('pkg.Test1', 0, 2),
284 TestInfo('pkg.Test2', 3, 5),
285 TestInfo('pkg.Test3', 6, 8)]
294 tests = [TestInfo('pkg.Test1', 0, 2, errors=[('failed', 1)]),
295 TestInfo('pkg.Test2', 3, 6),
296 TestInfo('pkg.Test2', 7, 8, errors=[('another', 7)])]
305 tests = [TestInfo('pkg.Test', 0, 2, errors=[('failed', 1)])]
313 tests = [TestInfo('pkg.Normal', 0, 1),
314 TestInfo('pkg.Skipped', 2, 2, skip_reason='missing deps')]
323 tests = [TestInfo('pkg.Normal', 0, 1),
[all …]
/external/pigweed/pw_unit_test/public/pw_unit_test/
Dframework.h150 class TestInfo; variable
172 void RegisterTest(TestInfo* test);
194 bool ShouldRunTest(const TestInfo& test_info);
205 static void CreateAndRunTest(const TestInfo& test_info) { in CreateAndRunTest()
272 void StartTest(const TestInfo& test);
282 static TestInfo* tests_;
285 const TestInfo* current_test_;
313 class TestInfo {
315 TestInfo(const char* const test_suite_name, in TestInfo() function
318 void (*run_func)(const TestInfo&)) in TestInfo() argument
[all …]
/external/pigweed/pw_unit_test/
Dframework.cc34 TestInfo* Framework::tests_ = nullptr;
36 void Framework::RegisterTest(TestInfo* new_test) { in RegisterTest()
44 TestInfo* info = tests_; in RegisterTest()
59 for (const TestInfo* test = tests_; test != nullptr; test = test->next()) { in RunAllTests()
78 void Framework::StartTest(const TestInfo& test) { in StartTest()
127 bool Framework::ShouldRunTest(const TestInfo& test_info) { in ShouldRunTest()
147 bool TestInfo::enabled() const { in enabled()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_vector_swizzle.cpp25 template <int N> struct TestInfo struct
29 template <> struct TestInfo<2> struct
88 template <> struct TestInfo<3> argument
171 template <> struct TestInfo<4> struct
242 template <> struct TestInfo<8> struct
343 template <> struct TestInfo<16> struct
622 constexpr size_t S = TestInfo<N>::vector_size; in test_vectype()
632 const char* xyzw_source = TestInfo<N>::kernel_source_xyzw; in test_vectype()
641 const char* sN_source = TestInfo<N>::kernel_source_sN; in test_vectype()
653 const char* rgba_source = TestInfo<N>::kernel_source_rgba; in test_vectype()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h193 class TestInfo; variable
409 friend class TestInfo;
603 friend class TestInfo;
689 class GTEST_API_ TestInfo {
693 ~TestInfo();
765 friend TestInfo *internal::MakeAndRegisterTestInfo(
774 TestInfo(const std::string &test_suite_name, const std::string &name,
791 static void ClearTestResult(TestInfo *test_info) { in ClearTestResult()
818 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
899 const TestInfo *GetTestInfo(int i) const;
[all …]
/external/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 …]
/external/googletest/googletest/include/gtest/
Dgtest.h201 class TestInfo; variable
416 friend class TestInfo;
618 friend class TestInfo;
704 class GTEST_API_ TestInfo {
708 ~TestInfo();
780 friend TestInfo* internal::MakeAndRegisterTestInfo(
789 TestInfo(const std::string& test_suite_name, const std::string& name,
809 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
836 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
917 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest.h193 class TestInfo; variable
404 friend class TestInfo;
601 friend class TestInfo;
682 class GTEST_API_ TestInfo {
686 ~TestInfo();
758 friend TestInfo* internal::MakeAndRegisterTestInfo(
767 TestInfo(const std::string& test_suite_name, const std::string& name,
784 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
811 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
886 const TestInfo* GetTestInfo(int i) const;
[all …]
/external/llvm-project/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/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/perfetto/test/
Dgtest_logcat_printer.cc41 void OnTestStart(const testing::TestInfo& test_info) override;
42 void OnTestEnd(const testing::TestInfo& test_info) override;
53 void LogcatPrinter::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart()
58 void LogcatPrinter::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd()
/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-upgrade-googletest-case.cpp217 class FooTestInfo : public testing::TestInfo {
228 class BarTestInfo : public testing::TestInfo {
230 using TestInfo::test_case_name;
242 class BarTestInfo3 : public testing::TestInfo {
252 class TestInfo { class
260 testing::TestInfo t; in FuncInfo()
274 #define TEST_CASE_NAME_MACRO_WARN_ONLY testing::TestInfo().test_case_name
277 (void)testing::TestInfo().test_case_name(); in testInfoCallAndReference()
283 auto F1 = &testing::TestInfo::test_case_name; in testInfoCallAndReference()
289 using MyTestInfo = testing::TestInfo; in testInfoCallAndReference()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/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/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
/external/libchrome/base/test/
Dtest_suite.h23 class TestInfo; variable
36 typedef bool (*TestMatch)(const testing::TestInfo&);
47 static bool IsMarkedMaybe(const testing::TestInfo& test);
/external/rust/crates/quiche/deps/boringssl/src/third_party/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/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
/external/libtextclassifier/native/utils/testing/
Dlogging_event_listener.cc50 void LoggingEventListener::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart()
64 void LoggingEventListener::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd()
105 const testing::TestInfo& test_info = *test_case.GetTestInfo(j); in OnTestIterationEnd()

123456