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

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

Issue 149246: DevTools: Add more sanity tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/eval_test_page.html » ('j') | no next file with comments »
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 20016)
+++ chrome/browser/debugger/devtools_sanity_unittest.cc (working copy)
@@ -41,10 +41,11 @@
// action we take.
const int kActionDelayMs = 500;
+const wchar_t kConsoleTestPage[] = L"files/devtools/console_test_page.html";
+const wchar_t kDebuggerTestPage[] = L"files/devtools/debugger_test_page.html";
+const wchar_t kEvalTestPage[] = L"files/devtools/eval_test_page.html";
+const wchar_t kJsPage[] = L"files/devtools/js_page.html";
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:
@@ -135,6 +136,11 @@
RunTest("testEnableResourcesTab", kSimplePage);
}
+// Tests resource headers.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceHeaders) {
+ RunTest("testResourceHeaders", kDebuggerTestPage);
+}
+
// Tests profiler panel.
IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) {
RunTest("testProfilerTab", kJsPage);
@@ -155,4 +161,14 @@
RunTest("testConsoleLog", kConsoleTestPage);
}
+// Tests eval global values.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) {
+ RunTest("testEvalGlobal", kEvalTestPage);
+}
+
+// Tests eval on call frame.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalCallFrame) {
+ RunTest("testEvalCallFrame", kEvalTestPage);
+}
+
} // namespace
« no previous file with comments | « no previous file | chrome/test/data/devtools/eval_test_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698