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

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

Issue 339024: Move console stack dumping code to a function so it can be reused in test_she... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « webkit/tools/test_shell/test_shell_main.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 /** 5 /**
6 * Base test class used by all test shell tests. Provides boiler plate 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. 7 * code to create and destroy a new test shell for each gTest test.
8 */ 8 */
9 9
10 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__ 10 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
(...skipping 11 matching lines...) Expand all
22 // Returns the path "test_case_path/test_case". 22 // Returns the path "test_case_path/test_case".
23 GURL GetTestURL(const FilePath& test_case_path, 23 GURL GetTestURL(const FilePath& test_case_path,
24 const std::string& test_case); 24 const std::string& test_case);
25 25
26 virtual void SetUp(); 26 virtual void SetUp();
27 virtual void TearDown(); 27 virtual void TearDown();
28 28
29 // Don't refactor away; some unittests override this! 29 // Don't refactor away; some unittests override this!
30 virtual void CreateEmptyWindow(); 30 virtual void CreateEmptyWindow();
31 31
32 static const char* kJavascriptDelayExitScript; 32 static const char* const kJavascriptDelayExitScript;
33 33
34 protected: 34 protected:
35 // Location of SOURCE_ROOT/webkit/data/ 35 // Location of SOURCE_ROOT/webkit/data/
36 FilePath data_dir_; 36 FilePath data_dir_;
37 37
38 TestShell* test_shell_; 38 TestShell* test_shell_;
39 }; 39 };
40 40
41 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__ 41 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698