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

Unified Diff: pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart

Issue 2939803002: Convert more tests to use the new driver (Closed)
Patch Set: Created 3 years, 6 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: pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart
diff --git a/pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart b/pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart
index e1c269056b45a667960b463fa080b667812963b3..9e843dcf6f5d4d23689f0d2ac7ea0d6392a8aec9 100644
--- a/pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart
+++ b/pkg/analysis_server/test/services/dependencies/reachable_source_collector_test.dart
@@ -17,9 +17,6 @@ main() {
@reflectiveTest
class ReachableSourceCollectorTest extends AbstractContextTest {
- @override
- bool get enableNewAnalysisDriver => false;
-
Map<String, List<String>> importsFor(Source source) =>
new ReachableSourceCollector(source, context).collectSources();
@@ -29,12 +26,18 @@ class ReachableSourceCollectorTest extends AbstractContextTest {
throwsA(new isInstanceOf<ArgumentError>()));
}
+ @failingTest
test_null_source() {
+ // See https://github.com/dart-lang/sdk/issues/29311
+ fail('The analysis.getReachableSources is not implemented.');
expect(() => new ReachableSourceCollector(null, context),
throwsA(new isInstanceOf<ArgumentError>()));
}
+ @failingTest
test_sources() {
+ // See https://github.com/dart-lang/sdk/issues/29311
+ fail('The analysis.getReachableSources is not implemented.');
Source lib1 = addSource(
'/lib1.dart',
'''

Powered by Google App Engine
This is Rietveld 408576698