Skip to content

Commit

Permalink
[cfe] Move individual tests from test/fasta/ to test/
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
johnniwinther authored and Commit Queue committed Nov 13, 2024
1 parent 0b07f2e commit fd35dc4
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pkg/front_end/messages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4895,17 +4895,17 @@ TypeOriginWithFileUri:
ObjectExtends:
problemMessage: "The class 'Object' can't have a superclass."
frontendInternal: true
external: test/fasta/object_supertype_test.dart
external: test/object_supertype_test.dart

ObjectImplements:
problemMessage: "The class 'Object' can't implement anything."
frontendInternal: true
external: test/fasta/object_supertype_test.dart
external: test/object_supertype_test.dart

ObjectMixesIn:
problemMessage: "The class 'Object' can't use mixins."
frontendInternal: true
external: test/fasta/object_supertype_test.dart
external: test/object_supertype_test.dart

StaticAndInstanceConflict:
problemMessage: "This static member conflicts with an instance member."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import 'package:kernel/ast.dart'

Future<void> main() async {
await asyncTest(() async {
Uri uri = Uri.parse("org.dartlang.fasta:library");
Uri uri = Uri.parse("org.dartlang.cfe:library");
Library library = new Library(uri, fileUri: uri);
Field field = new Field.immutable(
new Name(unserializableExportName, library),
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import 'package:kernel/class_hierarchy.dart';
import 'package:kernel/core_types.dart';
import 'package:kernel/target/targets.dart' show NoneTarget, TargetFlags;

import '../mock_file_system.dart';
import 'mock_file_system.dart';

void check(String expected, Object generator) {
Expect.stringEquals(expected, "$generator");
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions pkg/front_end/test/spell_checking_list_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ introducer
inv
involves
ioo
irrespective
ish
it'll
italic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ DiagnosticMessageHandler _makeDiagnosticMessageHandler(Set<String> names) {
}

/// Check that by default an error is reported for all unresolved super
/// invocations: independently of weather they target abstract super members
/// invocations: independently of whether they target abstract super members
/// or nonexistent targets.
Future<void> testSuperMixins() async {
var missingSuperMethodNames = new Set<String>();
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit fd35dc4

Please sign in to comment.