OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.generated.scanner_test; | 5 library analyzer.test.generated.scanner_test; |
6 | 6 |
7 import 'package:analyzer/dart/ast/token.dart'; | 7 import 'package:analyzer/dart/ast/token.dart'; |
| 8 import 'package:analyzer/error/error.dart'; |
| 9 import 'package:analyzer/error/listener.dart'; |
8 import 'package:analyzer/src/dart/ast/token.dart'; | 10 import 'package:analyzer/src/dart/ast/token.dart'; |
9 import 'package:analyzer/src/dart/scanner/reader.dart'; | 11 import 'package:analyzer/src/dart/scanner/reader.dart'; |
10 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 12 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
11 import 'package:analyzer/src/generated/error.dart'; | |
12 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
13 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 14 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
14 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
15 | 16 |
16 import '../utils.dart'; | 17 import '../utils.dart'; |
17 import 'test_support.dart'; | 18 import 'test_support.dart'; |
18 | 19 |
19 main() { | 20 main() { |
20 initializeTestEnvironment(); | 21 initializeTestEnvironment(); |
21 defineReflectiveTests(CharSequenceReaderTest); | 22 defineReflectiveTests(CharSequenceReaderTest); |
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 expect(TokenType.LT_LT.isUserDefinableOperator, isTrue); | 1430 expect(TokenType.LT_LT.isUserDefinableOperator, isTrue); |
1430 expect(TokenType.MINUS.isUserDefinableOperator, isTrue); | 1431 expect(TokenType.MINUS.isUserDefinableOperator, isTrue); |
1431 expect(TokenType.PERCENT.isUserDefinableOperator, isTrue); | 1432 expect(TokenType.PERCENT.isUserDefinableOperator, isTrue); |
1432 expect(TokenType.PLUS.isUserDefinableOperator, isTrue); | 1433 expect(TokenType.PLUS.isUserDefinableOperator, isTrue); |
1433 expect(TokenType.SLASH.isUserDefinableOperator, isTrue); | 1434 expect(TokenType.SLASH.isUserDefinableOperator, isTrue); |
1434 expect(TokenType.STAR.isUserDefinableOperator, isTrue); | 1435 expect(TokenType.STAR.isUserDefinableOperator, isTrue); |
1435 expect(TokenType.TILDE.isUserDefinableOperator, isTrue); | 1436 expect(TokenType.TILDE.isUserDefinableOperator, isTrue); |
1436 expect(TokenType.TILDE_SLASH.isUserDefinableOperator, isTrue); | 1437 expect(TokenType.TILDE_SLASH.isUserDefinableOperator, isTrue); |
1437 } | 1438 } |
1438 } | 1439 } |
OLD | NEW |