Index: client/site_tests/example_UnitTest/src/main.cc |
diff --git a/client/site_tests/example_UnitTest/src/main.cc b/client/site_tests/example_UnitTest/src/main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a7ba8447a3807de15a50d055078e09548740c4e |
--- /dev/null |
+++ b/client/site_tests/example_UnitTest/src/main.cc |
@@ -0,0 +1,15 @@ |
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "gtest/gtest.h" |
+ |
+TEST(ExampleTest, All) { |
+ // Test something |
+ EXPECT_EQ(10, 10); |
+} |
+ |
+int main(int argc, char **argv) { |
+ ::testing::InitGoogleTest(&argc, argv); |
+ return RUN_ALL_TESTS(); |
+} |