Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: mojo/public/tests/system/core_unittest.cc

Issue 213393002: Mojo: Move public C system header files to mojo/public/c/system/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file tests the C API. 5 // This file tests the C API.
6 6
7 #include "mojo/public/system/core.h" 7 #include "mojo/public/c/system/core.h"
8 8
9 #include <string.h> 9 #include <string.h>
10 10
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace { 14 namespace {
15 15
16 TEST(CoreTest, GetTimeTicksNow) { 16 TEST(CoreTest, GetTimeTicksNow) {
17 const MojoTimeTicks start = MojoGetTimeTicksNow(); 17 const MojoTimeTicks start = MojoGetTimeTicksNow();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // This checks that things actually work in C (not C++). 277 // This checks that things actually work in C (not C++).
278 TEST(CoreTest, MinimalCTest) { 278 TEST(CoreTest, MinimalCTest) {
279 const char* failure = MinimalCTest(); 279 const char* failure = MinimalCTest();
280 EXPECT_TRUE(failure == NULL) << failure; 280 EXPECT_TRUE(failure == NULL) << failure;
281 } 281 }
282 282
283 // TODO(vtl): Add multi-threaded tests. 283 // TODO(vtl): Add multi-threaded tests.
284 284
285 } // namespace 285 } // namespace
286 } // namespace mojo 286 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/tests/system/core_perftest.cc ('k') | mojo/public/tests/system/core_unittest_pure_c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698