Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Side by Side Diff: sandbox/linux/tests/sandbox_test_runner.h

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SANDBOX_TEST_RUNNER_H_ 5 #ifndef SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
6 #define SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_ 6 #define SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 9
10 namespace sandbox { 10 namespace sandbox {
11 11
12 // A simple "runner" class to implement tests. 12 // A simple "runner" class to implement tests.
13 class SandboxTestRunner { 13 class SandboxTestRunner {
14 public: 14 public:
15 SandboxTestRunner(); 15 SandboxTestRunner();
16 virtual ~SandboxTestRunner(); 16 virtual ~SandboxTestRunner();
17 17
18 virtual void Run() = 0; 18 virtual void Run() = 0;
19 19
20 // Override to decide whether or not to check for leaks with LSAN 20 // Override to decide whether or not to check for leaks with LSAN
21 // (if built with LSAN and LSAN is enabled). 21 // (if built with LSAN and LSAN is enabled).
22 virtual bool ShouldCheckForLeaks() const; 22 virtual bool ShouldCheckForLeaks() const;
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(SandboxTestRunner); 25 DISALLOW_COPY_AND_ASSIGN(SandboxTestRunner);
26 }; 26 };
27 27
28 } // namespace sandbox 28 } // namespace sandbox
29 29
30 #endif // SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_ 30 #endif // SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « sandbox/linux/system_headers/x86_64_linux_ucontext.h ('k') | sandbox/linux/tests/sandbox_test_runner_function_pointer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698