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

Unified Diff: test/runner/loader_test.dart

Issue 1076803003: Change the URL-space exposed by the browser server. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Changelog + pubspec Created 5 years, 8 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 | « test/runner/browser/loader_test.dart ('k') | test/runner/pub_serve_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/loader_test.dart
diff --git a/test/runner/loader_test.dart b/test/runner/loader_test.dart
index f5e8160848097826367189249ce2d49dfb228345..8474cbedbc4ebfa713af46b3077bce88babbd349 100644
--- a/test/runner/loader_test.dart
+++ b/test/runner/loader_test.dart
@@ -33,9 +33,10 @@ void main() {
void main() {
setUp(() {
+ _sandbox = createTempDir();
_loader = new Loader([TestPlatform.vm],
+ root: _sandbox,
packageRoot: p.join(packageDir, 'packages'));
- _sandbox = createTempDir();
});
tearDown(() {
@@ -87,7 +88,7 @@ void main() {
});
test("throws a nice error if the package root doesn't exist", () {
kevmoo 2015/04/11 01:22:25 This times out for me on mac using bleeding edge
- var loader = new Loader([TestPlatform.vm]);
+ var loader = new Loader([TestPlatform.vm], root: _sandbox);
expect(
loader.loadFile(p.join(_sandbox, 'a_test.dart')).first
.whenComplete(loader.close),
« no previous file with comments | « test/runner/browser/loader_test.dart ('k') | test/runner/pub_serve_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698