From 37ed9c199ca639565f6ce88105f9e39e898d82d0 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Mon, 1 Dec 2014 14:51:49 -0800 Subject: Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d --- unittests/Support/ProcessTest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'unittests/Support/ProcessTest.cpp') diff --git a/unittests/Support/ProcessTest.cpp b/unittests/Support/ProcessTest.cpp index f406072..3045c30 100644 --- a/unittests/Support/ProcessTest.cpp +++ b/unittests/Support/ProcessTest.cpp @@ -31,12 +31,12 @@ TEST(ProcessTest, SelfProcess) { EXPECT_LT(1u, process::get_self()->page_size()); - EXPECT_LT(TimeValue::MinTime, process::get_self()->get_user_time()); - EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_user_time()); - EXPECT_LT(TimeValue::MinTime, process::get_self()->get_system_time()); - EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_system_time()); - EXPECT_LT(TimeValue::MinTime, process::get_self()->get_wall_time()); - EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_wall_time()); + EXPECT_LT(TimeValue::MinTime(), process::get_self()->get_user_time()); + EXPECT_GT(TimeValue::MaxTime(), process::get_self()->get_user_time()); + EXPECT_LT(TimeValue::MinTime(), process::get_self()->get_system_time()); + EXPECT_GT(TimeValue::MaxTime(), process::get_self()->get_system_time()); + EXPECT_LT(TimeValue::MinTime(), process::get_self()->get_wall_time()); + EXPECT_GT(TimeValue::MaxTime(), process::get_self()->get_wall_time()); } TEST(ProcessTest, GetRandomNumberTest) { -- cgit v1.1