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 | 4 |
5 #ifndef SANDBOX_LINUX_TESTS_UNIT_TESTS_H__ | 5 #ifndef SANDBOX_LINUX_TESTS_UNIT_TESTS_H_ |
6 #define SANDBOX_LINUX_TESTS_UNIT_TESTS_H__ | 6 #define SANDBOX_LINUX_TESTS_UNIT_TESTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "sandbox/linux/tests/sandbox_test_runner_function_pointer.h" | 10 #include "sandbox/linux/tests/sandbox_test_runner_function_pointer.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 namespace sandbox { | 13 namespace sandbox { |
14 | 14 |
15 // Has this been compiled to run on Android? | 15 // Has this been compiled to run on Android? |
16 bool IsAndroid(); | 16 bool IsAndroid(); |
17 | 17 |
18 bool IsArchitectureArm(); | 18 bool IsArchitectureArm(); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 static void DeathBySignal(int status, | 191 static void DeathBySignal(int status, |
192 const std::string& msg, | 192 const std::string& msg, |
193 const void* aux); | 193 const void* aux); |
194 | 194 |
195 private: | 195 private: |
196 DISALLOW_IMPLICIT_CONSTRUCTORS(UnitTests); | 196 DISALLOW_IMPLICIT_CONSTRUCTORS(UnitTests); |
197 }; | 197 }; |
198 | 198 |
199 } // namespace | 199 } // namespace |
200 | 200 |
201 #endif // SANDBOX_LINUX_TESTS_UNIT_TESTS_H__ | 201 #endif // SANDBOX_LINUX_TESTS_UNIT_TESTS_H_ |
OLD | NEW |