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

Unified Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 149178: DevTools: Console tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/devtools/console_test_page.html » ('j') | webkit/glue/devtools/js/tests.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/devtools_sanity_unittest.cc
===================================================================
--- chrome/browser/debugger/devtools_sanity_unittest.cc (revision 19804)
+++ chrome/browser/debugger/devtools_sanity_unittest.cc (working copy)
@@ -44,6 +44,7 @@
const wchar_t kSimplePage[] = L"files/devtools/simple_page.html";
const wchar_t kJsPage[] = L"files/devtools/js_page.html";
const wchar_t kDebuggerTestPage[] = L"files/devtools/debugger_test_page.html";
+const wchar_t kConsoleTestPage[] = L"files/devtools/console_test_page.html";
class DevToolsSanityTest : public InProcessBrowserTest {
public:
@@ -144,4 +145,14 @@
RunTest("testShowScriptsTab", kDebuggerTestPage);
}
+// Tests console eval.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) {
+ RunTest("testConsoleEval", kConsoleTestPage);
+}
+
+// Tests console log.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) {
+ RunTest("testConsoleLog", kConsoleTestPage);
+}
+
} // namespace
« no previous file with comments | « no previous file | chrome/test/data/devtools/console_test_page.html » ('j') | webkit/glue/devtools/js/tests.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698