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 // This code was auto-generated, is not intended to be edited, and is subject to | |
6 // significant change. Please see the README file for more information. | |
7 | |
8 library engine.all_the_rest_test; | 5 library engine.all_the_rest_test; |
9 | 6 |
10 import 'package:analyzer/file_system/physical_file_system.dart'; | 7 import 'package:analyzer/file_system/physical_file_system.dart'; |
11 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; | 8 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; |
12 import 'package:analyzer/src/generated/constant.dart'; | 9 import 'package:analyzer/src/generated/constant.dart'; |
13 import 'package:analyzer/src/generated/element.dart'; | 10 import 'package:analyzer/src/generated/element.dart'; |
14 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
15 import 'package:analyzer/src/generated/error.dart'; | 12 import 'package:analyzer/src/generated/error.dart'; |
16 import 'package:analyzer/src/generated/html.dart' as ht; | 13 import 'package:analyzer/src/generated/html.dart' as ht; |
17 import 'package:analyzer/src/generated/java_core.dart'; | 14 import 'package:analyzer/src/generated/java_core.dart'; |
(...skipping 8971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8989 if (_expectedExternalScriptName == null) { | 8986 if (_expectedExternalScriptName == null) { |
8990 expect(scriptSource, isNull, reason: "script $scriptIndex"); | 8987 expect(scriptSource, isNull, reason: "script $scriptIndex"); |
8991 } else { | 8988 } else { |
8992 expect(scriptSource, isNotNull, reason: "script $scriptIndex"); | 8989 expect(scriptSource, isNotNull, reason: "script $scriptIndex"); |
8993 String actualExternalScriptName = scriptSource.shortName; | 8990 String actualExternalScriptName = scriptSource.shortName; |
8994 expect(actualExternalScriptName, _expectedExternalScriptName, | 8991 expect(actualExternalScriptName, _expectedExternalScriptName, |
8995 reason: "script $scriptIndex"); | 8992 reason: "script $scriptIndex"); |
8996 } | 8993 } |
8997 } | 8994 } |
8998 } | 8995 } |
OLD | NEW |