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

Unified Diff: LayoutTests/inspector/sources/debugger/switch-file.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/switch-file.html
diff --git a/LayoutTests/inspector/sources/debugger/switch-file.html b/LayoutTests/inspector/sources/debugger/switch-file.html
deleted file mode 100644
index e9f0e24fd10563237953f6e1f6ffd1514376d67f..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/switch-file.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="../../../http/tests/inspector/workspace-test.js"></script>
-<script>
-function test()
-{
- var uiSourceCodes = [];
- function addUISourceCode(url)
- {
- var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "");
- var uiSourceCode = WebInspector.NetworkProject.forTarget(InspectorTest.mainTarget).addFileForURL(url, contentProvider, false);
- uiSourceCodes.push(uiSourceCode);
- }
-
- var files = [
- "foo.css",
- "foo.js",
- "foo.js.map",
- "foo.ts",
-
- "bar.css",
- "bar.js",
- "bar.js.map",
- "bar.ts",
-
- "baz.css",
- "baz2",
-
- "foo/foo.css",
- "foo/foo.js",
- "foo/foo.js.map",
- "foo/foo.ts",
- "foo/foo",
-
- "bar/foo.css",
- "bar/foo.js",
- "bar/foo.js.map",
- "bar/foo.ts",
- "bar/foo" ];
-
- for (var i = 0; i < files.length; ++i)
- addUISourceCode("http://example.com/" + files[i]);
-
- InspectorTest.addResult("Dumping next file for each file:");
- for (var i = 0; i < uiSourceCodes.length; ++i) {
- var uiSourceCode = uiSourceCodes[i];
- var nextUISourceCode = WebInspector.SourcesView.SwitchFileActionDelegate._nextFile(uiSourceCode);
- var nextURI = nextUISourceCode ? nextUISourceCode.uri() : "<none>";
- InspectorTest.addResult("Next file for " + uiSourceCode.uri() + " is " + nextURI + ".");
- }
- InspectorTest.completeTest();
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>Tests how switch to next file with the same name and different extension feature works.</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698