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

Unified Diff: pkg/front_end/test/src/incremental/file_state_test.dart

Issue 3007503002: Load extraRequiredLibraries from the target passed in the options (Closed)
Patch Set: Created 3 years, 4 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 | « pkg/front_end/lib/src/incremental/kernel_driver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/src/incremental/file_state_test.dart
diff --git a/pkg/front_end/test/src/incremental/file_state_test.dart b/pkg/front_end/test/src/incremental/file_state_test.dart
index 93956519e3ffb864439823c5036ebc3e350a252f..8a988cb0805ea9dd17bd4b9c5a132dc42e4e0b1f 100644
--- a/pkg/front_end/test/src/incremental/file_state_test.dart
+++ b/pkg/front_end/test/src/incremental/file_state_test.dart
@@ -11,6 +11,7 @@ import 'package:front_end/src/incremental/file_state.dart';
import 'package:package_config/packages.dart';
import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
+import 'package:kernel/target/targets.dart';
import 'mock_sdk.dart';
@@ -34,8 +35,8 @@ class FileSystemStateTest {
new UriTranslatorImpl(createSdkFiles(fileSystem), Packages.noPackages);
_coreUri = Uri.parse('dart:core');
expect(_coreUri, isNotNull);
- fsState = new FileSystemState(byteStore, fileSystem, uriTranslator, <int>[],
- (uri) {
+ fsState = new FileSystemState(byteStore, fileSystem,
+ new NoneTarget(new TargetFlags()), uriTranslator, <int>[], (uri) {
_newFileUris.add(uri);
return new Future.value();
});
« no previous file with comments | « pkg/front_end/lib/src/incremental/kernel_driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698