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

Unified Diff: pkg/analyzer/test/source/analysis_options_provider_test.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (Closed)
Patch Set: Created 4 years, 2 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/source/analysis_options_provider_test.dart
diff --git a/pkg/analyzer/test/source/analysis_options_provider_test.dart b/pkg/analyzer/test/source/analysis_options_provider_test.dart
index 6e1b339a15feadd5117db506758292585481c3b0..049feb98694e7a4252404b1855cb258acd3198dc 100644
--- a/pkg/analyzer/test/source/analysis_options_provider_test.dart
+++ b/pkg/analyzer/test/source/analysis_options_provider_test.dart
@@ -10,8 +10,8 @@ import 'package:analyzer/file_system/file_system.dart';
import 'package:analyzer/file_system/memory_file_system.dart';
import 'package:analyzer/source/analysis_options_provider.dart';
import 'package:analyzer/src/generated/engine.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import 'package:yaml/yaml.dart';
import '../resource_utils.dart';
@@ -19,8 +19,10 @@ import '../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AnalysisOptionsProviderOldTest);
- defineReflectiveTests(AnalysisOptionsProviderNewTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisOptionsProviderOldTest);
+ defineReflectiveTests(AnalysisOptionsProviderNewTest);
+ });
group('AnalysisOptionsProvider', () {
void expectMergesTo(String defaults, String overrides, String expected) {
var optionsProvider = new AnalysisOptionsProvider();

Powered by Google App Engine
This is Rietveld 408576698