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

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

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sandbox/linux/tests/main.cc ('k') | sandbox/linux/tests/sandbox_test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
6 #define SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
7
8 #include "base/basictypes.h"
9
10 namespace sandbox {
11
12 // A simple "runner" class to implement tests.
13 class SandboxTestRunner {
14 public:
15 SandboxTestRunner();
16 virtual ~SandboxTestRunner();
17
18 virtual void Run() = 0;
19
20 // Override to decide whether or not to check for leaks with LSAN
21 // (if built with LSAN and LSAN is enabled).
22 virtual bool ShouldCheckForLeaks() const;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(SandboxTestRunner);
26 };
27
28 } // namespace sandbox
29
30 #endif // SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « sandbox/linux/tests/main.cc ('k') | sandbox/linux/tests/sandbox_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698