fix typo in comment and string (SetUpTestCase)

This commit is contained in:
Herbert Thielen 2017-08-14 18:07:55 +02:00
parent b43bfcf491
commit daaed2b6cb

View File

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