Fixes a wrong comment for OnTestPartResult().
This commit is contained in:
parent
0e41324393
commit
38e1465902
@ -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 SUCCESS().
|
// Fired after a failed assertion or a SUCCEED() 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.
|
||||||
|
@ -69,7 +69,7 @@ class TersePrinter : public EmptyTestEventListener {
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called after a failed assertion or a SUCCESS().
|
// Called after a failed assertion or a SUCCEED() 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",
|
||||||
|
Loading…
Reference in New Issue
Block a user