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

Unified Diff: pkg/analyzer/test/src/context/cache_test.dart

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)
Patch Set: Fixes for review comments. Created 4 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
Index: pkg/analyzer/test/src/context/cache_test.dart
diff --git a/pkg/analyzer/test/src/context/cache_test.dart b/pkg/analyzer/test/src/context/cache_test.dart
index 39e3cf6dbf0b24cae6b7b3b2e0d4fec29c4ac188..b172dcfc1dcef220c544e0c4611765c6079439c2 100644
--- a/pkg/analyzer/test/src/context/cache_test.dart
+++ b/pkg/analyzer/test/src/context/cache_test.dart
@@ -16,21 +16,21 @@ import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/generated/utilities_collection.dart';
import 'package:analyzer/src/task/model.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(AnalysisCacheTest);
- runReflectiveTests(CacheEntryTest);
- runReflectiveTests(CacheFlushManagerTest);
- runReflectiveTests(SdkCachePartitionTest);
- runReflectiveTests(UniversalCachePartitionTest);
- runReflectiveTests(ResultDataTest);
+ defineReflectiveTests(AnalysisCacheTest);
+ defineReflectiveTests(CacheEntryTest);
+ defineReflectiveTests(CacheFlushManagerTest);
+ defineReflectiveTests(SdkCachePartitionTest);
+ defineReflectiveTests(UniversalCachePartitionTest);
+ defineReflectiveTests(ResultDataTest);
}
AnalysisCache createCache({AnalysisContext context}) {

Powered by Google App Engine
This is Rietveld 408576698