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

Unified Diff: ppapi/tests/test_empty.cc

Issue 9662055: Test for --nacl-gdb functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Use environment variable to pass file between test and mock_nacl_gdb Created 8 years, 9 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
« chrome/test/ui/ppapi_uitest.cc ('K') | « ppapi/tests/test_empty.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_empty.cc
===================================================================
--- ppapi/tests/test_empty.cc (revision 0)
+++ ppapi/tests/test_empty.cc (working copy)
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 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
+
+#include "ppapi/tests/test_empty.h"
+#include "ppapi/tests/testing_instance.h"
+
+REGISTER_TEST_CASE(Empty);
+// This test checks only that the NaCl module loads successfully.
+// This is needed when the NaCl module is launched under the debugger and
+// so we want to check only the launching sequence.
+TestEmpty::TestEmpty(TestingInstance* instance)
+ : TestCase(instance) {
+}
+
+bool TestEmpty::Init() {
+ return true;
+}
+
+void TestEmpty::RunTests(const std::string& filter) {
+ RUN_TEST(NaClLoad, filter);
+}
+
+std::string TestEmpty::TestNaClLoad() {
+ PASS();
+}
« chrome/test/ui/ppapi_uitest.cc ('K') | « ppapi/tests/test_empty.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698