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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
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 "third_party/mojo/src/mojo/public/c/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 const MojoHandleSignals kSignalReadadableWritable = 16 const MojoHandleSignals kSignalReadadableWritable =
17 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE; 17 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // This checks that things actually work in C (not C++). 339 // This checks that things actually work in C (not C++).
340 TEST(CoreTest, MinimalCTest) { 340 TEST(CoreTest, MinimalCTest) {
341 const char* failure = MinimalCTest(); 341 const char* failure = MinimalCTest();
342 EXPECT_FALSE(failure) << failure; 342 EXPECT_FALSE(failure) << failure;
343 } 343 }
344 344
345 // TODO(vtl): Add multi-threaded tests. 345 // TODO(vtl): Add multi-threaded tests.
346 346
347 } // namespace 347 } // namespace
348 } // namespace mojo 348 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/c/system/tests/core_perftest.cc ('k') | mojo/public/c/system/tests/core_unittest_pure_c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698