/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 58 TYPED_TEST_CASE(FooTest, MyTypes); 66 TYPED_TEST(FooTest, DoesBlah) { 83 TYPED_TEST(FooTest, HasPropertyA) { ... } 106 class FooTest : public testing::Test { 113 TYPED_TEST_CASE_P(FooTest); 117 TYPED_TEST_P(FooTest, DoesBlah) { 123 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 129 REGISTER_TYPED_TEST_CASE_P(FooTest, 141 INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes);
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 58 TYPED_TEST_CASE(FooTest, MyTypes); 66 TYPED_TEST(FooTest, DoesBlah) { 83 TYPED_TEST(FooTest, HasPropertyA) { ... } 106 class FooTest : public testing::Test { 113 TYPED_TEST_CASE_P(FooTest); 117 TYPED_TEST_P(FooTest, DoesBlah) { 123 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 129 REGISTER_TYPED_TEST_CASE_P(FooTest, 141 INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes);
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest-typed-test.h | 47 class FooTest : public testing::Test { 59 TYPED_TEST_CASE(FooTest, MyTypes); 67 TYPED_TEST(FooTest, DoesBlah) { 84 TYPED_TEST(FooTest, HasPropertyA) { ... } 125 class FooTest : public testing::Test { 132 TYPED_TEST_CASE_P(FooTest); 136 TYPED_TEST_P(FooTest, DoesBlah) { 142 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 148 REGISTER_TYPED_TEST_CASE_P(FooTest, 160 INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes);
|
D | gtest-param-test.h.pump | 58 class FooTest : public ::testing::TestWithParam<const char*> { 66 TEST_P(FooTest, DoesBlah) { 73 TEST_P(FooTest, HasBlahBlah) { 98 // The following statement will instantiate tests from the FooTest test case 102 FooTest, 112 // * InstantiationName/FooTest.DoesBlah/0 for "meeny" 113 // * InstantiationName/FooTest.DoesBlah/1 for "miny" 114 // * InstantiationName/FooTest.DoesBlah/2 for "moe" 115 // * InstantiationName/FooTest.HasBlahBlah/0 for "meeny" 116 // * InstantiationName/FooTest.HasBlahBlah/1 for "miny" [all …]
|
/external/googletest/googletest/include/gtest/ |
D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 58 TYPED_TEST_SUITE(FooTest, MyTypes); 66 TYPED_TEST(FooTest, DoesBlah) { 83 TYPED_TEST(FooTest, HasPropertyA) { ... } 124 class FooTest : public testing::Test { 131 TYPED_TEST_SUITE_P(FooTest); 135 TYPED_TEST_P(FooTest, DoesBlah) { 141 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 147 REGISTER_TYPED_TEST_SUITE_P(FooTest, 159 INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes);
|
D | gtest-param-test.h | 52 class FooTest : public ::testing::TestWithParam<const char*> { 60 TEST_P(FooTest, DoesBlah) { 67 TEST_P(FooTest, HasBlahBlah) { 96 FooTest, 119 INSTANTIATE_TEST_SUITE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/ |
D | gtest-typed-test.h | 47 class FooTest : public testing::Test { 59 TYPED_TEST_SUITE(FooTest, MyTypes); 67 TYPED_TEST(FooTest, DoesBlah) { 84 TYPED_TEST(FooTest, HasPropertyA) { ... } 125 class FooTest : public testing::Test { 132 TYPED_TEST_SUITE_P(FooTest); 136 TYPED_TEST_P(FooTest, DoesBlah) { 142 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 148 REGISTER_TYPED_TEST_SUITE_P(FooTest, 160 INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes);
|
D | gtest-param-test.h | 55 class FooTest : public ::testing::TestWithParam<const char*> { 63 TEST_P(FooTest, DoesBlah) { 70 TEST_P(FooTest, HasBlahBlah) { 99 FooTest, 122 INSTANTIATE_TEST_SUITE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 58 TYPED_TEST_SUITE(FooTest, MyTypes); 66 TYPED_TEST(FooTest, DoesBlah) { 83 TYPED_TEST(FooTest, HasPropertyA) { ... } 124 class FooTest : public testing::Test { 131 TYPED_TEST_SUITE_P(FooTest); 135 TYPED_TEST_P(FooTest, DoesBlah) { 141 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 147 REGISTER_TYPED_TEST_SUITE_P(FooTest, 159 INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes);
|
D | gtest-param-test.h | 54 class FooTest : public ::testing::TestWithParam<const char*> { 62 TEST_P(FooTest, DoesBlah) { 69 TEST_P(FooTest, HasBlahBlah) { 98 FooTest, 121 INSTANTIATE_TEST_SUITE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-typed-test.h | 47 class FooTest : public testing::Test { 59 TYPED_TEST_SUITE(FooTest, MyTypes); 67 TYPED_TEST(FooTest, DoesBlah) { 84 TYPED_TEST(FooTest, HasPropertyA) { ... } 125 class FooTest : public testing::Test { 132 TYPED_TEST_SUITE_P(FooTest); 136 TYPED_TEST_P(FooTest, DoesBlah) { 142 TYPED_TEST_P(FooTest, HasPropertyA) { ... } 148 REGISTER_TYPED_TEST_SUITE_P(FooTest, 160 INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes);
|
D | gtest-param-test.h | 55 class FooTest : public ::testing::TestWithParam<const char*> { 63 TEST_P(FooTest, DoesBlah) { 70 TEST_P(FooTest, HasBlahBlah) { 99 FooTest, 122 INSTANTIATE_TEST_SUITE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | google-upgrade-googletest-case.cpp | 15 TYPED_TEST_CASE(FooTest, FooTypes); 18 TYPED_TEST_CASE_P(FooTest); 21 REGISTER_TYPED_TEST_CASE_P(FooTest, FooTestName); 24 INSTANTIATE_TYPED_TEST_CASE_P(FooPrefix, FooTest, FooTypes); 56 TYPED_TEST_CASE(FooTest, FooTypes); 57 TYPED_TEST_CASE_P(FooTest); 58 REGISTER_TYPED_TEST_CASE_P(FooTest, FooTestName); 59 INSTANTIATE_TYPED_TEST_CASE_P(FooPrefix, FooTest, FooTypes); 64 class FooTest : public testing::Test { class 74 void FooTest::SetUpTestCase() {} in SetUpTestCase() [all …]
|
/external/guava/android/guava-testlib/test/com/google/common/testing/ |
D | AbstractPackageSanityTestsTest.java | 84 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotThere")) in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() 86 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotPublic")) in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() 91 ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class); in testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() 97 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class))) in testFindClassesToTest_withCorrespondingTestClass_noTestName() 115 static class FooTest { class in AbstractPackageSanityTestsTest
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | AbstractPackageSanityTestsTest.java | 84 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotThere")) in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() 86 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotPublic")) in testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() 91 ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class); in testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() 97 assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class))) in testFindClassesToTest_withCorrespondingTestClass_noTestName() 115 static class FooTest { class in AbstractPackageSanityTestsTest
|
/external/googletest/googletest/test/ |
D | googletest-list-tests-unittest_.cc | 61 class FooTest : public testing::Test { class 64 TEST_F(FooTest, Test1) { in TEST_F() argument 67 TEST_F(FooTest, DISABLED_Test2) { in TEST_F() argument 70 TEST_F(FooTest, Test3) { in TEST_F() argument
|
D | googletest-filter-unittest_.cc | 46 class FooTest : public testing::Test { class 49 TEST_F(FooTest, Abc) { in TEST_F() argument 52 TEST_F(FooTest, Xyz) { in TEST_F() argument
|
D | gtest_list_output_unittest_.cc | 43 TEST(FooTest, Test1) {} in TEST() argument 45 TEST(FooTest, Test2) {} in TEST() argument
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | googletest-list-tests-unittest_.cc | 61 class FooTest : public testing::Test { class 64 TEST_F(FooTest, Test1) { in TEST_F() argument 67 TEST_F(FooTest, DISABLED_Test2) { in TEST_F() argument 70 TEST_F(FooTest, Test3) { in TEST_F() argument
|
D | googletest-filter-unittest_.cc | 46 class FooTest : public testing::Test { class 49 TEST_F(FooTest, Abc) { in TEST_F() argument 52 TEST_F(FooTest, Xyz) { in TEST_F() argument
|
D | gtest_list_output_unittest_.cc | 43 TEST(FooTest, Test1) {} in TEST() argument 45 TEST(FooTest, Test2) {} in TEST() argument
|
D | gtest_repeat_test.cc | 85 TEST(FooTest, ShouldFail) { in TEST() argument 94 TEST(FooTest, ShouldPass) { in TEST() argument
|
/external/googletest/docs/ |
D | faq.md | 242 // Derives a fixture FooTest from BaseTest. 243 class FooTest : public BaseTest { 251 ... clean-up work for FooTest ... 253 // after cleaning up FooTest! 256 ... functions and variables for FooTest ... 259 // Tests that use the fixture FooTest. 260 TEST_F(FooTest, Bar) { ... } 261 TEST_F(FooTest, Baz) { ... } 482 class FooTest : public BaseTest {}; 484 TEST_F(FooTest, Abc) { ... } [all …]
|
D | advanced.md | 766 class FooTest : public testing::Test { ... }; 768 using FooDeathTest = FooTest; 770 TEST_F(FooTest, DoesThis) { 974 15: TEST(FooTest, Bar) { 1037 TEST(FooTest, Bar) { 1122 TEST(FooTest, Bar) { 1193 1. In your test fixture class (say `FooTest` ), declare as `static` some member 1203 *first test* in the `FooTest` test suite (i.e. before creating the first 1204 `FooTest` object), and calls `TearDownTestSuite()` after running the *last test* 1205 in it (i.e. after deleting the last `FooTest` object). In between, the tests can [all …]
|
/external/testng/src/test/java/test/methodinterceptors/ |
D | MethodInterceptorTest.java | 44 tng.setTestClasses(new Class[] { FooTest.class }); in noMethodsShouldRun() 61 tng.setTestClasses(new Class[] { FooTest.class }); in testFast()
|