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

Unified Diff: pkg/analysis_server/test/services/completion/combinator_computer_test.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/combinator_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/combinator_computer_test.dart b/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
index 4db0ad3aecc1d115f7b550dd6e7463bd4c35ae99..8e70f1ce0dc46ecd8f5fee66a586f44bbf2a73fd 100644
--- a/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/combinator_computer_test.dart
@@ -19,7 +19,6 @@ main() {
@reflectiveTest
class CombinatorComputerTest extends AbstractCompletionTest {
-
@override
void setUpComputer() {
computer = new CombinatorComputer();
@@ -60,29 +59,19 @@ class CombinatorComputerTest extends AbstractCompletionTest {
class X {}''');
computeFast();
return computeFull((bool result) {
- assertSuggestClass(
- 'A',
+ assertSuggestClass('A',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestClass(
- 'B',
+ assertSuggestClass('B',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestClass(
- 'PB',
+ assertSuggestClass('PB',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestTopLevelVar(
- 'T1',
- null,
- DART_RELEVANCE_DEFAULT,
- CompletionSuggestionKind.IDENTIFIER);
- assertSuggestFunction(
- 'F1',
- 'PB',
- false,
- DART_RELEVANCE_DEFAULT,
- CompletionSuggestionKind.IDENTIFIER);
+ assertSuggestTopLevelVar('T1', null,
+ DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER);
+ assertSuggestFunction('F1', 'PB', false,
+ DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER);
assertNotSuggested('C');
assertNotSuggested('D');
assertNotSuggested('X');
@@ -113,39 +102,24 @@ class CombinatorComputerTest extends AbstractCompletionTest {
class X {}''');
computeFast();
return computeFull((bool result) {
- assertSuggestClass(
- 'A',
+ assertSuggestClass('A',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestClass(
- 'B',
+ assertSuggestClass('B',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestClass(
- 'PB',
+ assertSuggestClass('PB',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestTopLevelVar(
- 'T1',
- null,
- DART_RELEVANCE_DEFAULT,
- CompletionSuggestionKind.IDENTIFIER);
- assertSuggestFunction(
- 'F1',
- 'PB',
- false,
- DART_RELEVANCE_DEFAULT,
- CompletionSuggestionKind.IDENTIFIER);
- assertSuggestClass(
- 'Clz',
+ assertSuggestTopLevelVar('T1', null,
+ DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER);
+ assertSuggestFunction('F1', 'PB', false,
+ DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER);
+ assertSuggestClass('Clz',
relevance: DART_RELEVANCE_DEFAULT,
kind: CompletionSuggestionKind.IDENTIFIER);
- assertSuggestFunctionTypeAlias(
- 'F2',
- null,
- false,
- DART_RELEVANCE_DEFAULT,
- CompletionSuggestionKind.IDENTIFIER);
+ assertSuggestFunctionTypeAlias('F2', null,
+ false, DART_RELEVANCE_DEFAULT, CompletionSuggestionKind.IDENTIFIER);
assertNotSuggested('C');
assertNotSuggested('D');
assertNotSuggested('X');

Powered by Google App Engine
This is Rietveld 408576698