Skip to content

Commit 760a969

Browse files
johnniwinthercommit-bot@chromium.org
authored andcommitted
Remove tests irrelevant for Dart 2
Change-Id: Iedbab2ce11d7446ce28546f06ad97fd909f389c6 Reviewed-on: https://dart-review.googlesource.com/71404 Reviewed-by: Stephen Adams <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent 185eec1 commit 760a969

File tree

124 files changed

+271
-1387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+271
-1387
lines changed

tests/compiler/dart2js/closure/data/instantiation1.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class B<S> {
1111
/*element: B.method:hasThis*/
1212
method() {
1313
return
14-
/*kernel.hasThis*/
1514
/*strong.fields=[this],free=[this],hasThis*/
1615
/*omit.hasThis*/
1716
() {

tests/compiler/dart2js/closure/data/instantiation2.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class B<S> {
1111
/*element: B.method:hasThis*/
1212
method() {
1313
return
14-
/*kernel.hasThis*/
1514
/*strong.fields=[this],free=[this],hasThis*/
1615
/*omit.fields=[this],free=[this],hasThis*/
1716
() {

tests/compiler/dart2js/closure/data/list_literal_untested_strong_trust.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:expect/expect.dart';
66

77
@NoInline()
88
method<T>() {
9-
/*kernel.*/
109
/*omit.*/
1110
/*strong.fields=[T],free=[T]*/
1211
dynamic local() => <T>[];

tests/compiler/dart2js/closure/data/list_literal_untested_trust.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class A<T> {
99
/*element: A.method:hasThis*/
1010
@NoInline()
1111
method() {
12-
/*kernel.hasThis*/
1312
/*omit.hasThis*/
1413
/*strong.fields=[this],free=[this],hasThis*/
1514
dynamic local() => <T>[];

tests/compiler/dart2js/closure/data/map_literal_untested_strong_trust.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:expect/expect.dart';
66

77
@NoInline()
88
method<T>() {
9-
/*kernel.*/
109
/*omit.*/
1110
/*strong.fields=[T],free=[T]*/
1211
dynamic local() => <T, int>{};

tests/compiler/dart2js/closure/data/map_literal_untested_trust.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class A<T> {
99
/*element: A.method:hasThis*/
1010
@NoInline()
1111
method() {
12-
/*kernel.hasThis*/
1312
/*omit.hasThis*/
1413
/*strong.fields=[this],free=[this],hasThis*/
1514
dynamic local() => <T, int>{};

tests/compiler/dart2js/closure/data/test_type.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class Class2<T> {
3838
class Class3<T> {
3939
/*element: Class3.method3:hasThis*/
4040
method3(dynamic o) {
41-
/*kernel.fields=[o],free=[o],hasThis*/
4241
/*omit.fields=[o],free=[o],hasThis*/
4342
/*strong.fields=[o,this],free=[o,this],hasThis*/
4443
T local() => o;

tests/compiler/dart2js/closure/data/type_annotations.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ class Class1b<T> {
4848
class Class2<T> {
4949
/*element: Class2.method2:hasThis*/
5050
method2() {
51-
/*kernel.hasThis*/
5251
/*omit.hasThis*/
5352
/*strong.fields=[this],free=[this],hasThis*/
5453
dynamic local(T t) => t;
@@ -64,7 +63,6 @@ class Class2<T> {
6463
class Class3<T> {
6564
/*element: Class3.method3:hasThis*/
6665
method3(dynamic o) {
67-
/*kernel.fields=[o],free=[o],hasThis*/
6866
/*omit.fields=[o],free=[o],hasThis*/
6967
/*strong.fields=[o,this],free=[o,this],hasThis*/
7068
T local() => o;
@@ -108,7 +106,6 @@ class Class5<T> {
108106
class Class6<T> {
109107
/*element: Class6.method6:hasThis*/
110108
method6() {
111-
/*kernel.hasThis*/
112109
/*omit.hasThis*/
113110
/*strong.fields=[this],free=[this],hasThis*/
114111
dynamic local(T t) {
@@ -129,7 +126,6 @@ class Class6<T> {
129126
class Class7<T> {
130127
/*element: Class7.method7:hasThis*/
131128
method7(dynamic o) {
132-
/*kernel.fields=[o],free=[o],hasThis*/
133129
/*omit.fields=[o],free=[o],hasThis*/
134130
/*strong.fields=[o,this],free=[o,this],hasThis*/
135131
T local() {

tests/compiler/dart2js/deferred_loading/libs/type_argument_dependency_lib2.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
/*kernel.class: A:OutputUnit(1, {c})*/
65
/*strong.class: A:OutputUnit(main, {})*/
76
/*omit.class: A:OutputUnit(main, {})*/
87
class A {

tests/compiler/dart2js/equivalence/id_equivalence_helper.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ Future checkTests(Directory dataDir, DataComputer dataComputer,
559559
new AnnotatedCode.fromText(annotatedCode, commentStart, commentEnd)
560560
};
561561
Map<String, MemberAnnotations<IdValue>> expectedMaps = {
562-
kernelMarker: new MemberAnnotations<IdValue>(),
563562
strongMarker: new MemberAnnotations<IdValue>(),
564563
omitMarker: new MemberAnnotations<IdValue>(),
565564
};
@@ -800,7 +799,6 @@ Spannable computeSpannable(
800799
throw new UnsupportedError('Unsupported id $id.');
801800
}
802801

803-
const String kernelMarker = 'kernel.';
804802
const String strongMarker = 'strong.';
805803
const String omitMarker = 'omit.';
806804

@@ -819,7 +817,7 @@ const String omitMarker = 'omit.';
819817
/// annotations without prefixes.
820818
void computeExpectedMap(Uri sourceUri, AnnotatedCode code,
821819
Map<String, MemberAnnotations<IdValue>> maps) {
822-
List<String> mapKeys = [kernelMarker, strongMarker, omitMarker];
820+
List<String> mapKeys = [strongMarker, omitMarker];
823821
Map<String, AnnotatedCode> split = splitByPrefixes(code, mapKeys);
824822

825823
split.forEach((String marker, AnnotatedCode code) {

0 commit comments

Comments
 (0)