Skip to content

Commit aab7621

Browse files
lrhnCommit Queue
authored andcommitted
Remove some multitest runtime-tests.
Change-Id: I8fb69fecbe67236a4cbad9c1eb899a31a26a1ba3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410002 Reviewed-by: Martin Kustermann <[email protected]> Commit-Queue: Lasse Nielsen <[email protected]>
1 parent dd93f6f commit aab7621

File tree

299 files changed

+32
-13416
lines changed

Some content is hidden

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

299 files changed

+32
-13416
lines changed

runtime/tests/concurrency/stress_test_list.json

Lines changed: 0 additions & 291 deletions
Large diffs are not rendered by default.

tests/language/abstract/exact_selector_runtime_test.dart

Lines changed: 0 additions & 40 deletions
This file was deleted.

tests/language/abstract/factory_constructor_runtime_test.dart

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/language/argument/assignability_function_typed_runtime_test.dart

Lines changed: 0 additions & 34 deletions
This file was deleted.

tests/language/assert/initializer_const_error2_runtime_test.dart

Lines changed: 0 additions & 58 deletions
This file was deleted.

tests/language/assert/initializer_const_error2_test.dart

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,81 +20,77 @@ class C {
2020
const C.cc10(this.x, y) : assert(x < y, "$x < $y");
2121
}
2222

23-
main() {
23+
void main() {
24+
{
25+
const x = 3;
26+
const C.cc01(2, x);
27+
const C.cc02(2, x);
28+
const C.cc03(2, x);
29+
const C.cc04(2, x);
30+
const C.cc05(2, x);
31+
const C.cc06(2, x);
32+
const C.cc07(2, x);
33+
const C.cc08(2, x);
34+
const C.cc09(2, x);
35+
const C.cc10(2, x);
36+
}
37+
2438
{
2539
const x = 1;
2640
const C.cc01(2, x);
2741
// [error column 5, length 18]
2842
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
2943
// ^
3044
// [cfe] Constant evaluation error:
31-
}
32-
{
33-
const x = 1;
45+
3446
const C.cc02(2, x);
3547
// [error column 5, length 18]
3648
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
3749
// ^
3850
// [cfe] Constant evaluation error:
39-
}
40-
{
41-
const x = 1;
51+
4252
const C.cc03(2, x);
4353
// [error column 5, length 18]
4454
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
4555
// ^
4656
// [cfe] Constant evaluation error:
47-
}
48-
{
49-
const x = 1;
57+
5058
const C.cc04(2, x);
5159
// [error column 5, length 18]
5260
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
5361
// ^
5462
// [cfe] Constant evaluation error:
55-
}
56-
{
57-
const x = 1;
63+
5864
const C.cc05(2, x);
5965
// [error column 5, length 18]
6066
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
6167
// ^
6268
// [cfe] Constant evaluation error:
63-
}
64-
{
65-
const x = 1;
69+
6670
const C.cc06(2, x);
6771
// [error column 5, length 18]
6872
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
6973
// ^
7074
// [cfe] Constant evaluation error:
71-
}
72-
{
73-
const x = 1;
75+
7476
const C.cc07(2, x);
7577
// [error column 5, length 18]
7678
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
7779
// ^
7880
// [cfe] Constant evaluation error:
79-
}
80-
{
81-
const x = 1;
81+
8282
const C.cc08(2, x);
8383
// [error column 5, length 18]
8484
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
8585
// ^
8686
// [cfe] Constant evaluation error:
87-
}
88-
{
89-
const x = 1;
87+
9088
const C.cc09(2, x);
9189
// [error column 5, length 18]
9290
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION
9391
// ^
9492
// [cfe] Constant evaluation error:
95-
}
96-
{
97-
const x = 1;
93+
9894
const C.cc10(2, x);
9995
// [error column 5, length 18]
10096
// [analyzer] COMPILE_TIME_ERROR.CONST_EVAL_THROWS_EXCEPTION

tests/language/assert/initializer_const_error_runtime_test.dart

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)