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

Unified Diff: pkg/analysis_server/test/timing/completion/completion_simple.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analysis_server/test/timing/timing_framework.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/timing/completion/completion_simple.dart
diff --git a/pkg/analysis_server/test/timing/completion/completion_simple.dart b/pkg/analysis_server/test/timing/completion/completion_simple.dart
index aa833bb51d6adab38f268f07c38e0f5c8632bcf3..34197bde3646b857c51b39c646e16cf0903664fe 100644
--- a/pkg/analysis_server/test/timing/completion/completion_simple.dart
+++ b/pkg/analysis_server/test/timing/completion/completion_simple.dart
@@ -81,6 +81,16 @@ f(C c) {
}
@override
+ Future perform() {
+ sendAnalysisUpdateContent({
+ mainFilePath: new ChangeContentOverlay(
+ [new SourceEdit(cursorOffset, 0, '.')])
+ });
+ sendCompletionGetSuggestions(mainFilePath, cursorOffset + 1);
+ return completionReceived.future;
+ }
+
+ @override
Future setUp() {
completionReceived = new Completer();
onCompletionResults.listen((_) {
@@ -97,16 +107,6 @@ f(C c) {
}
@override
- Future perform() {
- sendAnalysisUpdateContent({
- mainFilePath: new ChangeContentOverlay(
- [new SourceEdit(cursorOffset, 0, '.')])
- });
- sendCompletionGetSuggestions(mainFilePath, cursorOffset + 1);
- return completionReceived.future;
- }
-
- @override
Future tearDown() {
sendAnalysisSetAnalysisRoots([], []);
return new Future.value();
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analysis_server/test/timing/timing_framework.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698