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

Side by Side Diff: pkg/analysis_server/test/context_manager_driver_test.dart

Issue 2653683004: Stop using SDK summary bundle. Analyze dart:xxx as any other libraries. (Closed)
Patch Set: Restore optional SDK bundle. Created 3 years, 11 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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:test/test.dart'; 5 import 'package:test/test.dart';
6 import 'package:test_reflective_loader/test_reflective_loader.dart'; 6 import 'package:test_reflective_loader/test_reflective_loader.dart';
7 7
8 import 'context_manager_test.dart'; 8 import 'context_manager_test.dart';
9 9
10 main() { 10 main() {
(...skipping 13 matching lines...) Expand all
24 // NoSuchMethodError: The getter 'apiSignature' was called on null. 24 // NoSuchMethodError: The getter 'apiSignature' was called on null.
25 // Receiver: null 25 // Receiver: null
26 // Tried calling: apiSignature 26 // Tried calling: apiSignature
27 // dart:core Object .noSuchMethod 27 // dart:core Object .noSuchMethod
28 // package:analyzer/src/dart/analysis/driver.dart 460:20 Analys isDriver.configure 28 // package:analyzer/src/dart/analysis/driver.dart 460:20 Analys isDriver.configure
29 // package:analysis_server/src/context_manager.dart 1043:16 Contex tManagerImpl._checkForPackagespecUpdate 29 // package:analysis_server/src/context_manager.dart 1043:16 Contex tManagerImpl._checkForPackagespecUpdate
30 // package:analysis_server/src/context_manager.dart 1553:5 Contex tManagerImpl._handleWatchEvent 30 // package:analysis_server/src/context_manager.dart 1553:5 Contex tManagerImpl._handleWatchEvent
31 //return super.test_embedder_added(); 31 //return super.test_embedder_added();
32 fail('NoSuchMethodError'); 32 fail('NoSuchMethodError');
33 } 33 }
34
35 @failingTest
36 test_embedder_packagespec() async {
37 // NoSuchMethodError: The getter 'apiSignature' was called on null.
38 // Receiver: null
39 // Tried calling: apiSignature
40 // dart:core Object .noSuchMethod
41 // package:analyzer/src/dart/analysis/driver.dart 248:20 Analys isDriver.AnalysisDriver
42 // test/context_manager_test.dart 2698:25 TestCo ntextManagerCallbacks.addAnalysisDriver
43 // package:analysis_server/src/context_manager.dart 1186:39 Contex tManagerImpl._createContext
44 // package:analysis_server/src/context_manager.dart 1247:16 Contex tManagerImpl._createContexts
45 // package:analysis_server/src/context_manager.dart 886:9 Contex tManagerImpl.setRoots
46 // test/context_manager_test.dart 154:13 Abstra ctContextManagerTest.test_embedder_packagespec.<async>
47 return super.test_embedder_packagespec();
48 }
49 } 34 }
50 35
51 @reflectiveTest 36 @reflectiveTest
52 class ContextManagerWithNewOptionsTest_Driver 37 class ContextManagerWithNewOptionsTest_Driver
53 extends ContextManagerWithNewOptionsTest { 38 extends ContextManagerWithNewOptionsTest {
54 bool get enableAnalysisDriver => true; 39 bool get enableAnalysisDriver => true;
55 40
56 @failingTest 41 @failingTest
57 test_analysis_options_file_delete_with_embedder() async { 42 test_analysis_options_file_delete_with_embedder() async {
58 // This fails because the ContextBuilder doesn't pick up the strongMode 43 // This fails because the ContextBuilder doesn't pick up the strongMode
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // disabling it in order to prevent it from being flaky. 97 // disabling it in order to prevent it from being flaky.
113 fail('Test times out'); 98 fail('Test times out');
114 } 99 }
115 100
116 @failingTest 101 @failingTest
117 test_path_filter_analysis_option() async { 102 test_path_filter_analysis_option() async {
118 // This fails because we're not analyzing the analyis options file. 103 // This fails because we're not analyzing the analyis options file.
119 return super.test_path_filter_analysis_option(); 104 return super.test_path_filter_analysis_option();
120 } 105 }
121 } 106 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/abstract_context.dart ('k') | pkg/analysis_server/test/domain_diagnostic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698