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

Side by Side Diff: webkit/tools/test_shell/test_shell_test.h

Issue 15028002: Delete test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy test_shell build target. Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * Base test class used by all test shell tests. Provides boiler plate
7 * code to create and destroy a new test shell for each gTest test.
8 */
9
10 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
11 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
12
13 #include <string>
14
15 #include "base/files/file_path.h"
16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/base/window_open_disposition.h"
18 #include "webkit/tools/test_shell/test_shell.h"
19
20 class TestShellTest : public testing::Test {
21 protected:
22 // Returns the path "test_case_path/test_case".
23 GURL GetTestURL(const base::FilePath& test_case_path,
24 const std::string& test_case);
25
26 virtual void SetUp() OVERRIDE;
27 virtual void TearDown() OVERRIDE;
28
29 // Don't refactor away; some unittests override this!
30 virtual void CreateEmptyWindow();
31
32 protected:
33 // Location of SOURCE_ROOT/webkit/data/
34 base::FilePath data_dir_;
35
36 TestShell* test_shell_;
37 };
38
39 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698