Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
daaed2b6
Commit
daaed2b6
authored
Aug 14, 2017
by
Herbert Thielen
Browse files
fix typo in comment and string (SetUpTestCase)
parent
b43bfcf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+2
-2
No files found.
googletest/test/gtest_unittest.cc
View file @
daaed2b6
...
@@ -3115,13 +3115,13 @@ TEST(DISABLED_TestCase, DISABLED_TestShouldNotRun) {
...
@@ -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, Set
u
pTestCase() and
// Check that when all tests in a test case are disabled, Set
U
pTestCase() 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. "
"Set
u
pTestCase() should not be called."
;
"Set
U
pTestCase() should not be called."
;
}
}
static
void
TearDownTestCase
()
{
static
void
TearDownTestCase
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment