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

Side by Side Diff: pkg/analyzer/test/src/task/driver_test.dart

Issue 1490233007: Remove the old task model (Closed) Base URL: https://github.com/dart-lang/sdk.git@analyzer-breaking-0.27
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.src.task.driver_test; 5 library test.src.task.driver_test;
6 6
7 import 'package:analyzer/src/context/cache.dart'; 7 import 'package:analyzer/src/context/cache.dart';
8 import 'package:analyzer/src/generated/engine.dart' 8 import 'package:analyzer/src/generated/engine.dart';
9 hide
10 AnalysisCache,
11 AnalysisContextImpl,
12 AnalysisTask,
13 UniversalCachePartition,
14 WorkManager;
15 import 'package:analyzer/src/generated/java_engine.dart'; 9 import 'package:analyzer/src/generated/java_engine.dart';
16 import 'package:analyzer/src/task/driver.dart'; 10 import 'package:analyzer/src/task/driver.dart';
17 import 'package:analyzer/src/task/inputs.dart'; 11 import 'package:analyzer/src/task/inputs.dart';
18 import 'package:analyzer/src/task/manager.dart'; 12 import 'package:analyzer/src/task/manager.dart';
19 import 'package:analyzer/task/model.dart'; 13 import 'package:analyzer/task/model.dart';
20 import 'package:typed_mock/typed_mock.dart'; 14 import 'package:typed_mock/typed_mock.dart';
21 import 'package:unittest/unittest.dart'; 15 import 'package:unittest/unittest.dart';
22 16
23 import '../../generated/test_support.dart'; 17 import '../../generated/test_support.dart';
24 import '../../reflective_tests.dart'; 18 import '../../reflective_tests.dart';
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 return dependency; 778 return dependency;
785 } 779 }
786 } 780 }
787 return null; 781 return null;
788 } 782 }
789 } 783 }
790 784
791 class _WorkManagerMock extends TypedMock implements WorkManager { 785 class _WorkManagerMock extends TypedMock implements WorkManager {
792 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 786 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
793 } 787 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/task/dart_work_manager_test.dart ('k') | pkg/analyzer/test/src/task/general_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698