[email protected] | 5926124 | 2012-03-19 13:08:59 | [diff] [blame] | 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. |
| 12 | TestEmpty::TestEmpty(TestingInstance* instance) |
| 13 | : TestCase(instance) { |
| 14 | } |
| 15 | |
| 16 | bool TestEmpty::Init() { |
| 17 | return true; |
| 18 | } |
| 19 | |
| 20 | void TestEmpty::RunTests(const std::string& filter) { |
| 21 | RUN_TEST(NaClLoad, filter); |
| 22 | } |
| 23 | |
| 24 | std::string TestEmpty::TestNaClLoad() { |
| 25 | PASS(); |
| 26 | } |