|
|
|
@ -3115,13 +3115,13 @@ TEST(DISABLED_TestCase, DISABLED_TestShouldNotRun) { |
|
|
|
|
FAIL() << "Unexpected failure: Test in disabled test case should not be run."; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Check that when all tests in a test case are disabled, SetupTestCase() and
|
|
|
|
|
// Check that when all tests in a test case are disabled, SetUpTestCase() and
|
|
|
|
|
// TearDownTestCase() are not called.
|
|
|
|
|
class DisabledTestsTest : public Test { |
|
|
|
|
protected: |
|
|
|
|
static void SetUpTestCase() { |
|
|
|
|
FAIL() << "Unexpected failure: All tests disabled in test case. " |
|
|
|
|
"SetupTestCase() should not be called."; |
|
|
|
|
"SetUpTestCase() should not be called."; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void TearDownTestCase() { |
|
|
|
|