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

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

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « mojo/public/c/system/message_pipe.h ('k') | mojo/public/c/system/tests/core_unittest_pure_c.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/c/system/core.h" 7 #include "mojo/public/c/system/core.h"
8 8
9 #include <stdint.h>
9 #include <string.h> 10 #include <string.h>
10 11
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace mojo { 14 namespace mojo {
14 namespace { 15 namespace {
15 16
16 const MojoHandleSignals kSignalReadadableWritable = 17 const MojoHandleSignals kSignalReadadableWritable =
17 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE; 18 MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE;
18 19
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // This checks that things actually work in C (not C++). 331 // This checks that things actually work in C (not C++).
331 TEST(CoreTest, MinimalCTest) { 332 TEST(CoreTest, MinimalCTest) {
332 const char* failure = MinimalCTest(); 333 const char* failure = MinimalCTest();
333 EXPECT_FALSE(failure) << failure; 334 EXPECT_FALSE(failure) << failure;
334 } 335 }
335 336
336 // TODO(vtl): Add multi-threaded tests. 337 // TODO(vtl): Add multi-threaded tests.
337 338
338 } // namespace 339 } // namespace
339 } // namespace mojo 340 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/c/system/message_pipe.h ('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