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

Side by Side Diff: pkg/analysis_server/test/integration/completion/get_suggestions_test.dart

Issue 2571593002: Support for overlay only files in Analysis Server with the new driver. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analysis_server/plugin/protocol/protocol.dart'; 5 import 'package:analysis_server/plugin/protocol/protocol.dart';
6 import 'package:test/test.dart'; 6 import 'package:test/test.dart';
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; 7 import 'package:test_reflective_loader/test_reflective_loader.dart';
8 8
9 import '../integration_tests.dart'; 9 import '../integration_tests.dart';
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 @reflectiveTest 125 @reflectiveTest
126 class GetSuggestionsTest extends AbstractGetSuggestionsTest {} 126 class GetSuggestionsTest extends AbstractGetSuggestionsTest {}
127 127
128 @reflectiveTest 128 @reflectiveTest
129 class GetSuggestionsTest_Driver extends AbstractGetSuggestionsTest { 129 class GetSuggestionsTest_Driver extends AbstractGetSuggestionsTest {
130 @override 130 @override
131 bool get enableNewAnalysisDriver => true; 131 bool get enableNewAnalysisDriver => true;
132 132
133 @failingTest 133 @failingTest
134 test_getSuggestions_onlyOverlay() async {
135 // TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
136 //return super.test_getSuggestions_onlyOverlay();
137 fail('Test timed out');
138 }
139
140 @failingTest
141 test_getSuggestions_sourceMissing_noWait() { 134 test_getSuggestions_sourceMissing_noWait() {
142 // Expected: same instance as 'exception from server' 135 // Expected: same instance as 'exception from server'
143 // Actual: CompletionGetSuggestionsResult:<{"id":"0"}> 136 // Actual: CompletionGetSuggestionsResult:<{"id":"0"}>
144 return super.test_getSuggestions_sourceMissing_noWait(); 137 return super.test_getSuggestions_sourceMissing_noWait();
145 } 138 }
146 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698