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

Unified Diff: pkg/analysis_server/test/services/completion/import_uri_contributor_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/import_uri_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/import_uri_contributor_test.dart b/pkg/analysis_server/test/services/completion/import_uri_contributor_test.dart
index e584c4d48c6c28aa7ee1e554703a19265b1da690..7cd732a77190c18071d37eab4a01aadb94caeaab 100644
--- a/pkg/analysis_server/test/services/completion/import_uri_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/import_uri_contributor_test.dart
@@ -12,10 +12,11 @@ import 'package:path/path.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
+import '../../utils.dart';
import 'completion_test_util.dart';
main() {
- groupSep = ' | ';
+ initializeTestEnvironment();
defineReflectiveTests(ImportUriContributorTest);
}
@@ -112,7 +113,8 @@ class ImportUriContributorTest extends AbstractCompletionTest {
assertNotSuggested('other.dart');
assertNotSuggested('foo');
assertNotSuggested('foo${separator}');
- assertSuggest('foo${separator}bar.dart', csKind: CompletionSuggestionKind.IMPORT);
+ assertSuggest('foo${separator}bar.dart',
+ csKind: CompletionSuggestionKind.IMPORT);
assertNotSuggested('..${separator}blat.dart');
}
@@ -132,7 +134,8 @@ class ImportUriContributorTest extends AbstractCompletionTest {
assertNotSuggested('foo');
assertNotSuggested('foo${separator}');
assertNotSuggested('foo${separator}bar.dart');
- assertSuggest('..${separator}blat.dart', csKind: CompletionSuggestionKind.IMPORT);
+ assertSuggest('..${separator}blat.dart',
+ csKind: CompletionSuggestionKind.IMPORT);
}
test_import_package() {
@@ -245,7 +248,8 @@ class ImportUriContributorTest extends AbstractCompletionTest {
assertNotSuggested('other.dart');
assertNotSuggested('foo');
assertNotSuggested('foo${separator}');
- assertSuggest('foo${separator}bar.dart', csKind: CompletionSuggestionKind.IMPORT);
+ assertSuggest('foo${separator}bar.dart',
+ csKind: CompletionSuggestionKind.IMPORT);
assertNotSuggested('..${separator}blat.dart');
}
@@ -265,6 +269,7 @@ class ImportUriContributorTest extends AbstractCompletionTest {
assertNotSuggested('foo');
assertNotSuggested('foo${separator}');
assertNotSuggested('foo${separator}bar.dart');
- assertSuggest('..${separator}blat.dart', csKind: CompletionSuggestionKind.IMPORT);
+ assertSuggest('..${separator}blat.dart',
+ csKind: CompletionSuggestionKind.IMPORT);
}
}

Powered by Google App Engine
This is Rietveld 408576698