Skip to content

Commit fd35dc4

Browse files
johnniwintherCommit Queue
authored andcommitted
[cfe] Move individual tests from test/fasta/ to test/
Change-Id: Iee49ecf801a046b83d44b6998135411ca447be04 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394861 Reviewed-by: Jens Johansen <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent 0b07f2e commit fd35dc4

15 files changed

+7
-6
lines changed

pkg/front_end/messages.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4895,17 +4895,17 @@ TypeOriginWithFileUri:
48954895
ObjectExtends:
48964896
problemMessage: "The class 'Object' can't have a superclass."
48974897
frontendInternal: true
4898-
external: test/fasta/object_supertype_test.dart
4898+
external: test/object_supertype_test.dart
48994899

49004900
ObjectImplements:
49014901
problemMessage: "The class 'Object' can't implement anything."
49024902
frontendInternal: true
4903-
external: test/fasta/object_supertype_test.dart
4903+
external: test/object_supertype_test.dart
49044904

49054905
ObjectMixesIn:
49064906
problemMessage: "The class 'Object' can't use mixins."
49074907
frontendInternal: true
4908-
external: test/fasta/object_supertype_test.dart
4908+
external: test/object_supertype_test.dart
49094909

49104910
StaticAndInstanceConflict:
49114911
problemMessage: "This static member conflicts with an instance member."

pkg/front_end/test/fasta/ambiguous_export_test.dart renamed to pkg/front_end/test/ambiguous_export_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:kernel/ast.dart'
1515

1616
Future<void> main() async {
1717
await asyncTest(() async {
18-
Uri uri = Uri.parse("org.dartlang.fasta:library");
18+
Uri uri = Uri.parse("org.dartlang.cfe:library");
1919
Library library = new Library(uri, fileUri: uri);
2020
Field field = new Field.immutable(
2121
new Name(unserializableExportName, library),

pkg/front_end/test/fasta/generator_to_string_test.dart renamed to pkg/front_end/test/generator_to_string_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import 'package:kernel/class_hierarchy.dart';
5454
import 'package:kernel/core_types.dart';
5555
import 'package:kernel/target/targets.dart' show NoneTarget, TargetFlags;
5656

57-
import '../mock_file_system.dart';
57+
import 'mock_file_system.dart';
5858

5959
void check(String expected, Object generator) {
6060
Expect.stringEquals(expected, "$generator");
File renamed without changes.

0 commit comments

Comments
 (0)