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

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

Issue 439313003: Add more matchers for use in analysis server integration testing. (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/analysis_error_int_test.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';
11 import 'package:path/path.dart'; 11 import 'package:path/path.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import 'integration_tests.dart'; 14 import 'integration_tests.dart';
15 import 'protocol_matchers.dart';
15 16
16 @ReflectiveTestCase() 17 @ReflectiveTestCase()
17 class AnalysisDomainIntegrationTest extends 18 class AnalysisDomainIntegrationTest extends
18 AbstractAnalysisServerIntegrationTest { 19 AbstractAnalysisServerIntegrationTest {
19 test_getHover() { 20 test_getHover() {
20 String filename = 'test.dart'; 21 String filename = 'test.dart';
21 String pathname = normalizePath(filename); 22 String pathname = normalizePath(filename);
22 String text = 23 String text =
23 r''' 24 r'''
24 library lib.test; 25 library lib.test;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // Now there should be errors again, because the contents on disk are no 249 // Now there should be errors again, because the contents on disk are no
249 // longer overridden. 250 // longer overridden.
250 expect(currentAnalysisErrors[pathname], isNot(isEmpty)); 251 expect(currentAnalysisErrors[pathname], isNot(isEmpty));
251 }); 252 });
252 } 253 }
253 } 254 }
254 255
255 main() { 256 main() {
256 runReflectiveTests(AnalysisDomainIntegrationTest); 257 runReflectiveTests(AnalysisDomainIntegrationTest);
257 } 258 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/analysis_error_int_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698