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

Unified Diff: test/runner/browser/loader_test.dart

Issue 2184543002: Use the package_resolver package. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 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 | « test/io.dart ('k') | test/runner/configuration/configuration_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/browser/loader_test.dart
diff --git a/test/runner/browser/loader_test.dart b/test/runner/browser/loader_test.dart
index 1c924d3e4c0f6c7e90621fab23b3c34fd75cbdb9..4eae04b1fe3c5fe775b20a3000769f40693a2ba7 100644
--- a/test/runner/browser/loader_test.dart
+++ b/test/runner/browser/loader_test.dart
@@ -34,11 +34,9 @@ void main() {
""";
void main() {
- setUp(() {
+ setUp(() async {
_sandbox = createTempDir();
- _loader = new Loader(new Configuration(
- platforms: [TestPlatform.chrome],
- packageRoot: p.join(packageDir, 'packages')),
+ _loader = new Loader(new Configuration(platforms: [TestPlatform.chrome]),
root: _sandbox);
/// TODO(nweiz): Use scheduled_test for this once it's compatible with this
/// version of test.
@@ -127,9 +125,7 @@ Future main() {
test("loads a suite both in the browser and the VM", () async {
var loader = new Loader(
- new Configuration(
- platforms: [TestPlatform.vm, TestPlatform.chrome],
- packageRoot: p.join(packageDir, 'packages')),
+ new Configuration(platforms: [TestPlatform.vm, TestPlatform.chrome]),
root: _sandbox);
var path = p.join(_sandbox, 'a_test.dart');
« no previous file with comments | « test/io.dart ('k') | test/runner/configuration/configuration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698