diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
commit | 52a261f59b20e89f8c5936bce642362f8e367b57 (patch) | |
tree | fcc7b3c100caaf43848cd9a241beafc883f93b7d /base/time_win_unittest.cc | |
parent | 7d926f9072ac496db6df715cc6a6bd5d3f9bd011 (diff) | |
download | chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.zip chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.gz chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.bz2 |
NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance).
Preliminary work to enforce new PRESUBMIT.py rules:
- <=80 cols
- no trailing whitespaces
- svn:eol-style=LF
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_win_unittest.cc')
-rw-r--r-- | base/time_win_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/time_win_unittest.cc b/base/time_win_unittest.cc index 4b63f6b..9244f7a5 100644 --- a/base/time_win_unittest.cc +++ b/base/time_win_unittest.cc @@ -175,9 +175,9 @@ TEST(TimeTicks, TimerPerformance) { }; // Cheating a bit here: assumes sizeof(TimeTicks) == sizeof(Time) // in order to create a single test case list. - COMPILE_ASSERT(sizeof(TimeTicks) == sizeof(Time), + COMPILE_ASSERT(sizeof(TimeTicks) == sizeof(Time), test_only_works_with_same_sizes); - TestCase cases[] = { + TestCase cases[] = { { reinterpret_cast<TestFunc>(Time::Now), "Time::Now" }, { TimeTicks::Now, "TimeTicks::Now" }, { TimeTicks::HighResNow, "TimeTicks::HighResNow" }, @@ -193,11 +193,11 @@ TEST(TimeTicks, TimerPerformance) { // Turning off the check for acceptible delays. Without this check, // the test really doesn't do much other than measure. But the // measurements are still useful for testing timers on various platforms. - // The reason to remove the check is because the tests run on many + // The reason to remove the check is because the tests run on many // buildbots, some of which are VMs. These machines can run horribly // slow, and there is really no value for checking against a max timer. //EXPECT_LT((stop - start).InMilliseconds(), kMaxTime); - printf("%s: %1.2fus per call\n", cases[test_case].description, + printf("%s: %1.2fus per call\n", cases[test_case].description, (stop - start).InMillisecondsF() * 1000 / kLoops); test_case++; } |