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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-set-breakpoint-regex.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/sources/debugger/debugger-set-breakpoint-regex.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-set-breakpoint-regex.html b/LayoutTests/inspector/sources/debugger/debugger-set-breakpoint-regex.html
deleted file mode 100644
index 6e570d7e6ea135c8fd8d1a77dbed11f1d1e6237f..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-set-breakpoint-regex.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script>
-
-function testFunction()
-{
- foo();
-}
-
-function foo()
-{
-}
-
-function test()
-{
- InspectorTest.runDebuggerTestSuite([
- function testSetNoneOfURLAndRegex(next)
- {
- InspectorTest.DebuggerAgent.invoke_setBreakpointByUrl({lineNumber: 1}, step2);
-
- function step2(error)
- {
- InspectorTest.addResult(error);
- next();
- }
- },
-
- function testSetBothURLAndRegex(next)
- {
- var url = "debugger-set-breakpoint.js";
- var urlRegex = "debugger-set-breakpoint.*";
- InspectorTest.DebuggerAgent.setBreakpointByUrl(1, url, urlRegex, step2);
-
- function step2(error)
- {
- InspectorTest.addResult(error);
- next();
- }
- },
-
- function testSetByRegex(next)
- {
- InspectorTest.DebuggerAgent.invoke_setBreakpointByUrl({urlRegex: "debugger-set-breakpoint.*", lineNumber:8}, step2);
-
- function step2(result)
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
- }
-
- function step3(callFrames)
- {
- InspectorTest.captureStackTrace(callFrames);
- next();
- }
- }
- ]);
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests Debugger.setBreakpointByUrl with isRegex set to true.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698