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

Side by Side Diff: pkg/analyzer/test/src/task/dart_test.dart

Issue 1101213002: Revert breaking change (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/src/context/context_test.dart ('k') | pkg/analyzer/test/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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.task.dart_test; 5 library test.src.task.dart_test;
6 6
7 import 'package:analyzer/file_system/file_system.dart'; 7 import 'package:analyzer/file_system/file_system.dart';
8 import 'package:analyzer/file_system/memory_file_system.dart'; 8 import 'package:analyzer/file_system/memory_file_system.dart';
9 import 'package:analyzer/plugin/plugin.dart';
10 import 'package:analyzer/plugin/task.dart';
9 import 'package:analyzer/src/context/cache.dart'; 11 import 'package:analyzer/src/context/cache.dart';
10 import 'package:analyzer/src/generated/ast.dart'; 12 import 'package:analyzer/src/generated/ast.dart';
11 import 'package:analyzer/src/generated/element.dart'; 13 import 'package:analyzer/src/generated/element.dart';
12 import 'package:analyzer/src/generated/engine.dart' 14 import 'package:analyzer/src/generated/engine.dart'
13 hide AnalysisTask, GetContentTask, ParseDartTask, ScanDartTask; 15 hide AnalysisTask, GetContentTask, ParseDartTask, ScanDartTask;
14 import 'package:analyzer/src/generated/error.dart'; 16 import 'package:analyzer/src/generated/error.dart';
15 import 'package:analyzer/src/generated/resolver.dart'; 17 import 'package:analyzer/src/generated/resolver.dart';
16 import 'package:analyzer/src/generated/sdk.dart'; 18 import 'package:analyzer/src/generated/sdk.dart';
17 import 'package:analyzer/src/generated/source.dart'; 19 import 'package:analyzer/src/generated/source.dart';
18 import 'package:analyzer/src/plugin/engine_plugin.dart'; 20 import 'package:analyzer/src/plugin/engine_plugin.dart';
21 import 'package:analyzer/src/plugin/plugin_impl.dart';
19 import 'package:analyzer/src/task/dart.dart'; 22 import 'package:analyzer/src/task/dart.dart';
20 import 'package:analyzer/src/task/driver.dart'; 23 import 'package:analyzer/src/task/driver.dart';
21 import 'package:analyzer/src/task/manager.dart'; 24 import 'package:analyzer/src/task/manager.dart';
22 import 'package:analyzer/task/dart.dart'; 25 import 'package:analyzer/task/dart.dart';
23 import 'package:analyzer/task/general.dart'; 26 import 'package:analyzer/task/general.dart';
24 import 'package:analyzer/task/model.dart'; 27 import 'package:analyzer/task/model.dart';
25 import 'package:plugin/manager.dart';
26 import 'package:typed_mock/typed_mock.dart'; 28 import 'package:typed_mock/typed_mock.dart';
27 import 'package:unittest/unittest.dart'; 29 import 'package:unittest/unittest.dart';
28 30
29 import '../../generated/test_support.dart'; 31 import '../../generated/test_support.dart';
30 import '../../reflective_tests.dart'; 32 import '../../reflective_tests.dart';
31 import '../mock_sdk.dart'; 33 import '../mock_sdk.dart';
32 34
33 main() { 35 main() {
34 groupSep = ' | '; 36 groupSep = ' | ';
35 runReflectiveTests(BuildClassConstructorsTaskTest); 37 runReflectiveTests(BuildClassConstructorsTaskTest);
(...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 return entryMap.putIfAbsent(target, () => new CacheEntry()); 1915 return entryMap.putIfAbsent(target, () => new CacheEntry());
1914 } 1916 }
1915 1917
1916 TimestampedData<String> getContents(Source source) => source.contents; 1918 TimestampedData<String> getContents(Source source) => source.contents;
1917 1919
1918 noSuchMethod(Invocation invocation) { 1920 noSuchMethod(Invocation invocation) {
1919 print('noSuchMethod: ${invocation.memberName}'); 1921 print('noSuchMethod: ${invocation.memberName}');
1920 return super.noSuchMethod(invocation); 1922 return super.noSuchMethod(invocation);
1921 } 1923 }
1922 } 1924 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/context/context_test.dart ('k') | pkg/analyzer/test/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698