OLD | NEW |
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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 test_const_topLevel_identical() async { | 561 test_const_topLevel_identical() async { |
562 await super.test_const_topLevel_identical(); | 562 await super.test_const_topLevel_identical(); |
563 } | 563 } |
564 | 564 |
565 @failingTest | 565 @failingTest |
566 test_const_topLevel_ifNull() async { | 566 test_const_topLevel_ifNull() async { |
567 await super.test_const_topLevel_ifNull(); | 567 await super.test_const_topLevel_ifNull(); |
568 } | 568 } |
569 | 569 |
570 @failingTest | 570 @failingTest |
| 571 test_const_topLevel_parenthesis() async { |
| 572 await super.test_const_topLevel_parenthesis(); |
| 573 } |
| 574 |
| 575 @failingTest |
571 test_const_topLevel_prefix() async { | 576 test_const_topLevel_prefix() async { |
572 await super.test_const_topLevel_prefix(); | 577 await super.test_const_topLevel_prefix(); |
573 } | 578 } |
574 | 579 |
575 @failingTest | 580 @failingTest |
576 test_const_topLevel_super() async { | 581 test_const_topLevel_super() async { |
577 await super.test_const_topLevel_super(); | 582 await super.test_const_topLevel_super(); |
578 } | 583 } |
579 | 584 |
580 @failingTest | 585 @failingTest |
(...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2451 } | 2456 } |
2452 | 2457 |
2453 /** | 2458 /** |
2454 * Get the [Source] object for the given [uri]. | 2459 * Get the [Source] object for the given [uri]. |
2455 */ | 2460 */ |
2456 Source _getSource(String uri) { | 2461 Source _getSource(String uri) { |
2457 return _sources.putIfAbsent( | 2462 return _sources.putIfAbsent( |
2458 uri, () => _analysisContext.sourceFactory.forUri(uri)); | 2463 uri, () => _analysisContext.sourceFactory.forUri(uri)); |
2459 } | 2464 } |
2460 } | 2465 } |
OLD | NEW |