summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-09-17 19:12:30 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-09-17 19:12:30 +0000
commit7dcfb6b7375177814c5154e9770efc5406778ad0 (patch)
tree964a05a356fa57618194ac17d3dfd667c744a669 /samples
parent37ce949fb6ee00109391035835d4893a94f250a9 (diff)
downloadgoogletest-7dcfb6b7375177814c5154e9770efc5406778ad0.tar.gz
Renames the methods in the event listener API, and changes the order of *End events (by Vlad Losev).
git-svn-id: http://googletest.googlecode.com/svn/trunk@312 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'samples')
-rw-r--r--samples/sample9_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/sample9_unittest.cc b/samples/sample9_unittest.cc
index 50ac941..8ef70c7 100644
--- a/samples/sample9_unittest.cc
+++ b/samples/sample9_unittest.cc
@@ -105,7 +105,7 @@ class TersePrinter : public EmptyTestEventListener {
}
// Called after a failed assertion or a SUCCESS().
- virtual void OnNewTestPartResult(const TestPartResult& test_part_result) {
+ virtual void OnTestPartResult(const TestPartResult& test_part_result) {
fprintf(stdout,
"%s in %s:%d\n%s\n",
test_part_result.failed() ? "*** Failure" : "Success",