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

Side by Side Diff: pkg/front_end/test/scanner_roundtrip_test.dart

Issue 2900303003: delete obsolete scanner roundtrip test (Closed)
Patch Set: Created 3 years, 6 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/front_end/test/token_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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import 'package:analyzer/src/fasta/token_utils.dart';
6 import 'package:front_end/src/scanner/errors.dart' as analyzer;
7 import 'package:front_end/src/scanner/reader.dart' as analyzer;
8 import 'package:front_end/src/scanner/scanner.dart' as analyzer;
9 import 'package:front_end/src/scanner/token.dart';
10 import 'package:test/test.dart';
11 import 'package:test_reflective_loader/test_reflective_loader.dart';
12
13 import 'scanner_fasta_test.dart';
14 import 'scanner_test.dart';
15
16 main() {
17 // round trip test removed
18 }
19
20 class TestScanner extends analyzer.Scanner {
21 TestScanner(analyzer.CharacterReader reader) : super.create(reader);
22
23 @override
24 void reportError(
25 analyzer.ScannerErrorCode errorCode, int offset, List<Object> arguments) {
26 fail('Unexpected error $errorCode while scanning offset $offset\n'
27 ' arguments: $arguments');
28 }
29 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698