aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-09-18 18:17:19 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-09-18 18:17:19 +0000
commitbbd6e105e786dd6d4e1fdd6b1467f969121bcca3 (patch)
tree1bccbafa8e38fea292f0fadba4b09589fa21e7a7 /src
parent93244dc36979a7755d02f0b210659160ce593144 (diff)
downloadgoogletest-bbd6e105e786dd6d4e1fdd6b1467f969121bcca3.tar.gz
googletest-bbd6e105e786dd6d4e1fdd6b1467f969121bcca3.tar.bz2
googletest-bbd6e105e786dd6d4e1fdd6b1467f969121bcca3.zip
Picks up gtest r314.
Diffstat (limited to 'src')
-rw-r--r--src/gmock-internal-utils.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gmock-internal-utils.cc b/src/gmock-internal-utils.cc
index e72e019b..196ec74b 100644
--- a/src/gmock-internal-utils.cc
+++ b/src/gmock-internal-utils.cc
@@ -77,8 +77,12 @@ class GoogleTestFailureReporter : public FailureReporterInterface {
public:
virtual void ReportFailure(FailureType type, const char* file, int line,
const string& message) {
- AssertHelper(type == FATAL ? TPRT_FATAL_FAILURE : TPRT_NONFATAL_FAILURE,
- file, line, message.c_str()) = Message();
+ AssertHelper(type == FATAL ?
+ TestPartResult::kFatalFailure :
+ TestPartResult::kNonFatalFailure,
+ file,
+ line,
+ message.c_str()) = Message();
if (type == FATAL) {
posix::Abort();
}