OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file tests the C++ wrappers in mojo/public/cpp/system/time.h. |
| 6 |
| 7 #include "mojo/public/cpp/system/time.h" |
| 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 |
| 11 namespace mojo { |
| 12 namespace { |
| 13 |
| 14 TEST(TimeTest, GetTimeTicksNow) { |
| 15 const MojoTimeTicks start = GetTimeTicksNow(); |
| 16 EXPECT_NE(static_cast<MojoTimeTicks>(0), start); |
| 17 } |
| 18 |
| 19 } // namespace |
| 20 } // namespace mojo |
OLD | NEW |