Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
38e14659
Commit
38e14659
authored
May 31, 2010
by
vladlosev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes a wrong comment for OnTestPartResult().
parent
0e413243
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gtest.h
include/gtest/gtest.h
+1
-1
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 {
...
@@ -877,7 +877,7 @@ class TestEventListener {
// Fired before the test starts.
// Fired before the test starts.
virtual
void
OnTestStart
(
const
TestInfo
&
test_info
)
=
0
;
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
;
virtual
void
OnTestPartResult
(
const
TestPartResult
&
test_part_result
)
=
0
;
// Fired after the test ends.
// Fired after the test ends.
...
...
samples/sample9_unittest.cc
View file @
38e14659
...
@@ -69,7 +69,7 @@ class TersePrinter : public EmptyTestEventListener {
...
@@ -69,7 +69,7 @@ class TersePrinter : public EmptyTestEventListener {
fflush
(
stdout
);
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
)
{
virtual
void
OnTestPartResult
(
const
TestPartResult
&
test_part_result
)
{
fprintf
(
stdout
,
fprintf
(
stdout
,
"%s in %s:%d
\n
%s
\n
"
,
"%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