OLD | NEW |
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 <string.h> | 9 #include <string.h> |
10 | 10 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |