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
38e14659
Commit
38e14659
authored
May 31, 2010
by
vladlosev
Browse files
Fixes a wrong comment for OnTestPartResult().
parent
0e413243
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/gtest/gtest.h
include/gtest/gtest.h
+1
-1
samples/sample9_unittest.cc
samples/sample9_unittest.cc
+1
-1
No files found.
include/gtest/gtest.h
View file @
38e14659
...
...
@@ -877,7 +877,7 @@ class TestEventListener {
// Fired before the test starts.
virtual
void
OnTestStart
(
const
TestInfo
&
test_info
)
=
0
;
// Fired after a failed assertion or a SUCCE
SS()
.
// Fired after a failed assertion or a SUCCE
ED() invocation
.
virtual
void
OnTestPartResult
(
const
TestPartResult
&
test_part_result
)
=
0
;
// Fired after the test ends.
...
...
samples/sample9_unittest.cc
View file @
38e14659
...
...
@@ -69,7 +69,7 @@ class TersePrinter : public EmptyTestEventListener {
fflush
(
stdout
);
}
// Called after a failed assertion or a SUCCE
SS()
.
// Called after a failed assertion or a SUCCE
ED() invocation
.
virtual
void
OnTestPartResult
(
const
TestPartResult
&
test_part_result
)
{
fprintf
(
stdout
,
"%s in %s:%d
\n
%s
\n
"
,
...
...
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