Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
71e2858f
Commit
71e2858f
authored
Aug 30, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 30, 2017
Browse files
Merge pull request #1226 from aninf-wo/hethi/fix-typo
fix typo in comment and string (SetUpTestCase)
parents
298cd5e9
5bd8e832
Changes
1
Show 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 @
71e2858f
...
...
@@ -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, Set
u
pTestCase() and
// Check that when all tests in a test case are disabled, Set
U
pTestCase() and
// TearDownTestCase() are not called.
class
DisabledTestsTest
:
public
Test
{
protected:
static
void
SetUpTestCase
()
{
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
()
{
...
...
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