blob: 9a9fe7484ea79f2fbd248fa6c12e065757617a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();
}
|