Chromium Code Reviews| 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 NaCl module loads successfully. |
|
Mark Seaborn
2012/03/13 17:06:27
'the NaCl module'
halyavin
2012/03/13 18:54:22
Done.
|
| +// This is needed when NaCl module is launched under debugger and so we want |
|
Mark Seaborn
2012/03/13 17:06:27
'the debugger'
halyavin
2012/03/13 18:54:22
Done.
|
| +// check only the launching sequence. |
|
Mark Seaborn
2012/03/13 17:06:27
'to check'
halyavin
2012/03/13 18:54:22
Done.
|
| +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(); |
| +} |