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

Unified Diff: pkg/analysis_server/test/integration/completion/get_suggestions_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/completion/get_suggestions_test.dart
diff --git a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart b/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
index 12687e40ff3c279e46a4c04f07a6cf878da23b07..bf0f4d224db749c1d53ff650198306938d4eb8b4 100644
--- a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
+++ b/pkg/analysis_server/test/integration/completion/get_suggestions_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);
}
@@ -32,7 +34,9 @@ class Test extends AbstractAnalysisServerIntegrationTest {
}
test_getSuggestions() async {
- setTestSource('test.dart', r'''
+ setTestSource(
+ 'test.dart',
+ r'''
String test = '';
main() {
test.^
@@ -54,7 +58,9 @@ main() {
}
test_getSuggestions_onlyOverlay() async {
- setTestSource('test.dart', r'''
+ setTestSource(
+ 'test.dart',
+ r'''
String test = '';
main() {
test.^
@@ -78,7 +84,9 @@ main() {
}
test_getSuggestions_onlyOverlay_noWait() async {
- setTestSource('test.dart', r'''
+ setTestSource(
+ 'test.dart',
+ r'''
String test = '';
main() {
test.^

Powered by Google App Engine
This is Rietveld 408576698