1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ppapi/tests/test_empty.h" 6 #include "ppapi/tests/testing_instance.h" 7 8 REGISTER_TEST_CASE(Empty); 9 // This test checks only that the NaCl module loads successfully. 10 // This is needed when the NaCl module is launched under the debugger and 11 // so we want to check only the launching sequence. TestEmpty(TestingInstance * instance)12TestEmpty::TestEmpty(TestingInstance* instance) 13 : TestCase(instance) { 14 } 15 Init()16bool TestEmpty::Init() { 17 return true; 18 } 19 RunTests(const std::string & filter)20void TestEmpty::RunTests(const std::string& filter) { 21 RUN_TEST(NaClLoad, filter); 22 } 23 TestNaClLoad()24std::string TestEmpty::TestNaClLoad() { 25 PASS(); 26 } 27