Lines Matching defs:Test
30 // The Google C++ Testing and Mocking Framework (Google Test)
33 // Google Test. They are subject to change without notice.
107 class Test; // Represents a test.
143 // Appends the user-supplied message to the Google-Test-generated message.
152 // This exception is thrown by (and only by) a failed Google Test
426 // Returns the type ID of ::testing::Test. Always call this instead
427 // of GetTypeId< ::testing::Test>() to get the type ID of
428 // ::testing::Test, as the latter may give the wrong result due to a
429 // suspected linker bug when compiling Google Test as a Mac OS X
434 // of a Test object.
441 virtual Test* CreateTest() = 0;
456 Test* CreateTest() override { return new TestClass; }
500 // testing::Test is only forward declared at this point. So we make it a
502 using Test =
503 typename std::conditional<sizeof(T) != 0, ::testing::Test, void>::type;
509 GetNotDefaultOrNull(&T::SetUpTestCase, &Test::SetUpTestCase);
511 GetNotDefaultOrNull(&T::SetUpTestSuite, &Test::SetUpTestSuite);
514 << "Test can not provide both SetUpTestSuite and SetUpTestCase, please "
530 GetNotDefaultOrNull(&T::TearDownTestCase, &Test::TearDownTestCase);
532 GetNotDefaultOrNull(&T::TearDownTestSuite, &Test::TearDownTestSuite);
535 << "Test can not provide both TearDownTestSuite and TearDownTestCase,"
548 // Creates a new TestInfo object and registers it with Google Test;
592 "%s Test %s must be defined before "
689 // registers a list of type-parameterized tests with Google Test. The
752 // Test. The return value is insignificant - we just need to return
777 // First, register the first test in 'Test' for each type in 'Types'.