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

Unified Diff: pkg/analysis_server/test/integration/analysis/overrides_test.dart

Issue 1266923004: More fixes for failures on the Windows bot (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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/analysis_server/test/integration/analysis/overrides_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/overrides_test.dart b/pkg/analysis_server/test/integration/analysis/overrides_test.dart
index 12872c230d349cc71153a585fd9902548ddc3814..a302eef19e7b4a9735c7876f3ec9330c10a83ac0 100644
--- a/pkg/analysis_server/test/integration/analysis/overrides_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/overrides_test.dart
@@ -8,9 +8,11 @@ import 'package:analysis_server/src/protocol.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
+import '../../utils.dart';
import '../integration_tests.dart';
main() {
+ initializeTestEnvironment();
defineReflectiveTests(Test);
}
@@ -53,7 +55,9 @@ class Target extends Base implements Interface1, Interface2 {
''';
writeFile(pathname, text);
standardAnalysisSetup();
- sendAnalysisSetSubscriptions({AnalysisService.OVERRIDES: [pathname]});
+ sendAnalysisSetSubscriptions({
+ AnalysisService.OVERRIDES: [pathname]
+ });
List<Override> overrides;
onAnalysisOverrides.listen((AnalysisOverridesParams params) {
expect(params.file, equals(pathname));

Powered by Google App Engine
This is Rietveld 408576698