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

Unified Diff: mojo/public/c/tests/compile/compile_unittest.cc

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/tests/bindings/validation_unittest.cc ('k') | mojo/public/c/tests/compile/pure_c.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/tests/compile/compile_unittest.cc
diff --git a/mojo/public/c/tests/compile/compile_unittest.cc b/mojo/public/c/tests/compile/compile_unittest.cc
deleted file mode 100644
index ca1c907bbe95ff822aa27395738b3a5e50898e22..0000000000000000000000000000000000000000
--- a/mojo/public/c/tests/compile/compile_unittest.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file just "forwards" to "pure" tests -- those that are written using
-// only headers from mojo/public/c/include/mojo,
-// mojo/public/c/include/mojo/environment, mojo/public/c/include/mojo/system
-// (and the C standard library), and not using gtest.
-
-#include "gtest/gtest.h"
-
-// Defined in compile_unittest_pure_c.c.
-extern "C" const char* MinimalCTest(void);
-
-// Defined in compile_unittest_pure_cpp.cc.
-const char* MinimalCppTest();
-
-namespace {
-
-// This checks that things actually work in C (not C++).
-TEST(CompileTest, MinimalCTest) {
- const char* failure = MinimalCTest();
- EXPECT_FALSE(failure) << failure;
-}
-
-// This checks that things compile in C++ as well, without gtest.
-TEST(CompileTest, MinimalCppTest) {
- const char* failure = MinimalCppTest();
- EXPECT_FALSE(failure) << failure;
-}
-
-} // namespace
« no previous file with comments | « mojo/public/c/tests/bindings/validation_unittest.cc ('k') | mojo/public/c/tests/compile/pure_c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698