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

Unified Diff: pkg/analysis_server/test/services/completion/optype_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/services/completion/optype_test.dart
diff --git a/pkg/analysis_server/test/services/completion/optype_test.dart b/pkg/analysis_server/test/services/completion/optype_test.dart
index 04ce497bc8ccbf4d22e71df7126e07f324a7cfa6..a6b99715f5c11698d9fe441654013ff25a391d0f 100644
--- a/pkg/analysis_server/test/services/completion/optype_test.dart
+++ b/pkg/analysis_server/test/services/completion/optype_test.dart
@@ -13,9 +13,10 @@ import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
import '../../abstract_context.dart';
+import '../../utils.dart';
main() {
- groupSep = ' | ';
+ initializeTestEnvironment();
defineReflectiveTests(OpTypeTest);
}
@@ -42,9 +43,14 @@ class OpTypeTest {
visitor = new OpType.forCompletion(completionTarget, offset);
}
- void assertOpType({bool prefixed: false, bool returnValue: false,
- bool typeNames: false, bool voidReturn: false, bool statementLabel: false,
- bool caseLabel: false, bool constructors: false}) {
+ void assertOpType(
+ {bool prefixed: false,
+ bool returnValue: false,
+ bool typeNames: false,
+ bool voidReturn: false,
+ bool statementLabel: false,
+ bool caseLabel: false,
+ bool constructors: false}) {
expect(visitor.includeReturnValueSuggestions, returnValue,
reason: 'returnValue');
expect(visitor.includeTypeNameSuggestions, typeNames, reason: 'typeNames');

Powered by Google App Engine
This is Rietveld 408576698