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

Side by Side Diff: pkg/analysis_server/test/integration/analysis_domain_int_test.dart

Issue 422343005: Fix analysis server integration/test_all.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/test_all.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library test.integration.analysis.domain; 5 library test.integration.analysis.domain;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/constants.dart'; 9 import 'package:analysis_server/src/constants.dart';
10 import 'package:analysis_testing/reflective_tests.dart'; 10 import 'package:analysis_testing/reflective_tests.dart';
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 expect(result['hovers'], hasLength(0)); 159 expect(result['hovers'], hasLength(0));
160 }); 160 });
161 }); 161 });
162 } 162 }
163 163
164 test_getErrors_before_analysis() { 164 test_getErrors_before_analysis() {
165 return getErrorsTest(false); 165 return getErrorsTest(false);
166 } 166 }
167 167
168 test_getErrors_after_analysis() { 168 test_getErrors_after_analysis() {
169 debugStdio();
170 return getErrorsTest(true); 169 return getErrorsTest(true);
171 } 170 }
172 171
173 Future getErrorsTest(bool afterAnalysis) { 172 Future getErrorsTest(bool afterAnalysis) {
174 String filename = 'test.dart'; 173 String filename = 'test.dart';
175 String pathname = normalizePath(filename); 174 String pathname = normalizePath(filename);
176 String text = 175 String text =
177 r''' 176 r'''
178 main() { 177 main() {
179 var x // parse error: missing ';' 178 var x // parse error: missing ';'
(...skipping 12 matching lines...) Expand all
192 return analysisFinished.then((_) => finishTest()); 191 return analysisFinished.then((_) => finishTest());
193 } else { 192 } else {
194 return finishTest(); 193 return finishTest();
195 } 194 }
196 } 195 }
197 } 196 }
198 197
199 main() { 198 main() {
200 runReflectiveTests(AnalysisDomainIntegrationTest); 199 runReflectiveTests(AnalysisDomainIntegrationTest);
201 } 200 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698