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

Side by Side Diff: pkg/analyzer/test/src/context/context_test.dart

Issue 1063153004: Convert analyzer and analysis_server to use the plugin package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « pkg/analyzer/test/plugin/test_all.dart ('k') | pkg/analyzer/test/src/task/dart_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.src.context.context_test; 5 library test.src.context.context_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/src/cancelable_future.dart'; 10 import 'package:analyzer/src/cancelable_future.dart';
(...skipping 26 matching lines...) Expand all
37 import 'package:analyzer/src/generated/scanner.dart'; 37 import 'package:analyzer/src/generated/scanner.dart';
38 import 'package:analyzer/src/generated/sdk.dart'; 38 import 'package:analyzer/src/generated/sdk.dart';
39 import 'package:analyzer/src/generated/sdk_io.dart'; 39 import 'package:analyzer/src/generated/sdk_io.dart';
40 import 'package:analyzer/src/generated/source.dart'; 40 import 'package:analyzer/src/generated/source.dart';
41 import 'package:analyzer/src/generated/source_io.dart'; 41 import 'package:analyzer/src/generated/source_io.dart';
42 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 42 import 'package:analyzer/src/generated/testing/ast_factory.dart';
43 import 'package:analyzer/src/generated/testing/element_factory.dart'; 43 import 'package:analyzer/src/generated/testing/element_factory.dart';
44 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; 44 import 'package:analyzer/src/generated/testing/test_type_provider.dart';
45 import 'package:analyzer/src/generated/utilities_dart.dart'; 45 import 'package:analyzer/src/generated/utilities_dart.dart';
46 import 'package:analyzer/src/plugin/engine_plugin.dart'; 46 import 'package:analyzer/src/plugin/engine_plugin.dart';
47 import 'package:analyzer/src/plugin/plugin_impl.dart'; 47 import 'package:plugin/manager.dart';
48 import 'package:unittest/unittest.dart'; 48 import 'package:unittest/unittest.dart';
49 import 'package:watcher/src/utils.dart'; 49 import 'package:watcher/src/utils.dart';
50 50
51 import '../../generated/engine_test.dart'; 51 import '../../generated/engine_test.dart';
52 import '../../generated/test_support.dart'; 52 import '../../generated/test_support.dart';
53 import '../../reflective_tests.dart'; 53 import '../../reflective_tests.dart';
54 54
55 main() { 55 main() {
56 groupSep = ' | '; 56 groupSep = ' | ';
57 runReflectiveTests(AnalysisContextImplTest); 57 runReflectiveTests(AnalysisContextImplTest);
(...skipping 2403 matching lines...) Expand 10 before | Expand all | Expand 10 after
2461 : super(name, UriKind.FILE_URI); 2461 : super(name, UriKind.FILE_URI);
2462 2462
2463 @override 2463 @override
2464 TimestampedData<String> get contents { 2464 TimestampedData<String> get contents {
2465 throw 'Read error'; 2465 throw 'Read error';
2466 } 2466 }
2467 2467
2468 @override 2468 @override
2469 bool exists() => true; 2469 bool exists() => true;
2470 } 2470 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/plugin/test_all.dart ('k') | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698