Home | History | Annotate | Download | only in test

Lines Matching defs:Test

32 // This file is the input to a negative-compilation test for Google
33 // Test. Code here is NOT supposed to compile. Its purpose is to
34 // verify that certain incorrect usages of the Google Test API are
37 // We still need to write the negative-compilation test itself, which
40 // TODO(wan@google.com): finish the negative-compilation test.
59 // Setup() method in a test fixture.
63 class MyTest : public testing::Test {
70 // from a test fixture.
74 class MyTest : public testing::Test {
77 testing::Test::Setup(); // Tries to call SetUp() in the parent class.
107 // Tests that the compiler catches using the wrong test case name in
113 class FooTest : public testing::Test {
117 class BarTest : public testing::Test {
121 TYPED_TEST_P(BarTest, A) {} // Wrong test case name.
126 // Tests that the compiler catches using the wrong test case name in
132 class FooTest : public testing::Test {
136 class BarTest : public testing::Test {
141 REGISTER_TYPED_TEST_CASE_P(BarTest, A); // Wrong test case name.
145 // Tests that the compiler catches using the wrong test case name in
151 class FooTest : public testing::Test {
155 class BarTest : public testing::Test {
162 // Wrong test case name.
172 class FooTest : public testing::Test {
211 void Test() {
220 void Test() {
226 // A sanity test. This should compile.