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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart

Issue 2990523002: Parse documentation for class aliases, fix for /// comments. (Closed)
Patch Set: Created 3 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
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 library analyzer.test.src.summary.resynthesize_kernel_test; 5 library analyzer.test.src.summary.resynthesize_kernel_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/standard_ast_factory.dart'; 10 import 'package:analyzer/dart/ast/standard_ast_factory.dart';
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 return resynthesizer.getLibrary(testUriStr); 102 return resynthesizer.getLibrary(testUriStr);
103 } 103 }
104 104
105 @override 105 @override
106 SummaryResynthesizer encodeDecodeLibrarySource(Source librarySource) { 106 SummaryResynthesizer encodeDecodeLibrarySource(Source librarySource) {
107 // TODO(scheglov): implement encodeDecodeLibrarySource 107 // TODO(scheglov): implement encodeDecodeLibrarySource
108 throw new UnimplementedError(); 108 throw new UnimplementedError();
109 } 109 }
110 110
111 @failingTest 111 @failingTest
112 test_class_alias_documented() async {
113 await super.test_class_alias_documented();
114 }
115
116 @failingTest
117 test_class_alias_with_forwarding_constructors_type_substitution() async { 112 test_class_alias_with_forwarding_constructors_type_substitution() async {
118 await super 113 await super
119 .test_class_alias_with_forwarding_constructors_type_substitution(); 114 .test_class_alias_with_forwarding_constructors_type_substitution();
120 } 115 }
121 116
122 @failingTest 117 @failingTest
123 test_class_alias_with_forwarding_constructors_type_substitution_complex() asyn c { 118 test_class_alias_with_forwarding_constructors_type_substitution_complex() asyn c {
124 await super 119 await super
125 .test_class_alias_with_forwarding_constructors_type_substitution_complex (); 120 .test_class_alias_with_forwarding_constructors_type_substitution_complex ();
126 } 121 }
127 122
128 @failingTest 123 @failingTest
129 test_class_constructor_field_formal_multiple_matching_fields() async { 124 test_class_constructor_field_formal_multiple_matching_fields() async {
130 // Fasta does not generate the class. 125 // Fasta does not generate the class.
131 // main() with a fatal error is generated instead. 126 // main() with a fatal error is generated instead.
132 await super.test_class_constructor_field_formal_multiple_matching_fields(); 127 await super.test_class_constructor_field_formal_multiple_matching_fields();
133 } 128 }
134 129
135 @failingTest 130 @failingTest
136 test_class_documented_tripleSlash() async {
137 await super.test_class_documented_tripleSlash();
138 }
139
140 @failingTest
141 test_class_documented_withLeadingNotDocumentation() async {
142 await super.test_class_documented_withLeadingNotDocumentation();
143 }
144
145 @failingTest
146 test_class_interfaces_unresolved() async { 131 test_class_interfaces_unresolved() async {
147 await super.test_class_interfaces_unresolved(); 132 await super.test_class_interfaces_unresolved();
148 } 133 }
149 134
150 @failingTest 135 @failingTest
151 test_class_mixins_unresolved() async { 136 test_class_mixins_unresolved() async {
152 await super.test_class_mixins_unresolved(); 137 await super.test_class_mixins_unresolved();
153 } 138 }
154 139
155 @failingTest 140 @failingTest
(...skipping 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 } 2267 }
2283 2268
2284 /** 2269 /**
2285 * Get the [Source] object for the given [uri]. 2270 * Get the [Source] object for the given [uri].
2286 */ 2271 */
2287 Source _getSource(String uri) { 2272 Source _getSource(String uri) {
2288 return _sources.putIfAbsent( 2273 return _sources.putIfAbsent(
2289 uri, () => _analysisContext.sourceFactory.forUri(uri)); 2274 uri, () => _analysisContext.sourceFactory.forUri(uri));
2290 } 2275 }
2291 } 2276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698