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

Unified Diff: packages/analyzer/test/src/task/general_test.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 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 | « packages/analyzer/test/src/task/driver_test.dart ('k') | packages/analyzer/test/src/task/html_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/analyzer/test/src/task/general_test.dart
diff --git a/packages/analyzer/test/src/task/general_test.dart b/packages/analyzer/test/src/task/general_test.dart
index b335664f773ec0b8578a815b5480fbec4074feb4..fc1f7892251f4d76ae3898b62b49de8df3258970 100644
--- a/packages/analyzer/test/src/task/general_test.dart
+++ b/packages/analyzer/test/src/task/general_test.dart
@@ -2,24 +2,23 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library test.src.task.general_test;
+library analyzer.test.src.task.general_test;
-import 'package:analyzer/src/generated/engine.dart'
- hide AnalysisTask, GetContentTask;
+import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/task/general.dart';
import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/model.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:typed_mock/typed_mock.dart';
import 'package:unittest/unittest.dart';
import '../../generated/test_support.dart';
-import '../../reflective_tests.dart';
import '../../utils.dart';
main() {
initializeTestEnvironment();
- runReflectiveTests(GetContentTaskTest);
+ defineReflectiveTests(GetContentTaskTest);
}
@reflectiveTest
@@ -81,6 +80,4 @@ class GetContentTaskTest extends EngineTestCase {
}
}
-class _MockContext extends TypedMock implements AnalysisContext {
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
+class _MockContext extends TypedMock implements AnalysisContext {}
« no previous file with comments | « packages/analyzer/test/src/task/driver_test.dart ('k') | packages/analyzer/test/src/task/html_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698