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

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2981283002: rename test methods and format (Closed)
Patch Set: rebase and dartfmt Created 3 years, 5 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
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_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) 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:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/error/error.dart'; 7 import 'package:analyzer/error/error.dart';
8 import 'package:analyzer/src/dart/scanner/scanner.dart'; 8 import 'package:analyzer/src/dart/scanner/scanner.dart';
9 import 'package:analyzer/src/fasta/ast_builder.dart'; 9 import 'package:analyzer/src/fasta/ast_builder.dart';
10 import 'package:analyzer/src/generated/parser.dart' as analyzer; 10 import 'package:analyzer/src/generated/parser.dart' as analyzer;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported 284 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported
285 // by Fasta. 285 // by Fasta.
286 throw new UnimplementedError(); 286 throw new UnimplementedError();
287 } 287 }
288 } 288 }
289 289
290 @override 290 @override
291 analyzer.Parser get parser => _parserProxy; 291 analyzer.Parser get parser => _parserProxy;
292 292
293 @override 293 @override
294 bool get usingFasta => true; 294 bool get usingFastaParser => true;
295 295
296 @override 296 @override
297 void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes) { 297 void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes) {
298 // TODO(scheglov): implement assertErrorsWithCodes 298 // TODO(scheglov): implement assertErrorsWithCodes
299 fail('Not implemented'); 299 fail('Not implemented');
300 } 300 }
301 301
302 @override 302 @override
303 void assertNoErrors() { 303 void assertNoErrors() {
304 // TODO(paulberry): implement assertNoErrors 304 // TODO(paulberry): implement assertNoErrors
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 } 950 }
951 951
952 @override 952 @override
953 @failingTest 953 @failingTest
954 void test_parsePartOfDirective_uri() { 954 void test_parsePartOfDirective_uri() {
955 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 955 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
956 // Fasta. 956 // Fasta.
957 super.test_parsePartOfDirective_uri(); 957 super.test_parsePartOfDirective_uri();
958 } 958 }
959 } 959 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698