OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 #include "c_salt/test/gtest_nacl_environment.h" | 4 #include "gtest_ppapi/gtest_nacl_environment.h" |
5 | |
6 namespace c_salt { | |
7 | 5 |
8 pp::Instance* GTestNaclEnvironment::global_instance_ = NULL; | 6 pp::Instance* GTestNaclEnvironment::global_instance_ = NULL; |
9 | 7 |
10 void GTestNaclEnvironment::SetUp() { | 8 void GTestNaclEnvironment::SetUp() { |
11 // Check that the global instance is set before running the tests. | 9 // Check that the global instance is set before running the tests. |
12 assert(global_instance_ != NULL); | 10 assert(global_instance_ != NULL); |
13 } | 11 } |
14 | 12 |
15 void GTestNaclEnvironment::TearDown() { | 13 void GTestNaclEnvironment::TearDown() { |
16 } | 14 } |
17 | |
18 } // namespace c_salt | |
19 | |
OLD | NEW |