From 606feda047be4d5ceeaa09ca5758067b60f2f58f Mon Sep 17 00:00:00 2001 From: Robert Nystrom Date: Wed, 19 May 2021 08:05:05 +0000 Subject: [PATCH] Delete unused files in test folders. These files are not tests nor are they used by any tests. This change was split out from patch 198141 which had to be reverted. Change-Id: I26ca5931bf9e300e694d69ac7558536c965349ee Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200562 Auto-Submit: Bob Nystrom Commit-Queue: Lasse R.H. Nielsen Reviewed-by: Lasse R.H. Nielsen --- tests/language/library/a.dart | 10 ---------- tests/language/library/b.dart | 10 ---------- tests/language/library/c.dart | 8 -------- tests/language/library/d.dart | 10 ---------- tests/language/library/e.dart | 11 ----------- tests/language/library/f.dart | 8 -------- tests/language/library/library3.dart | 8 -------- tests/language/library/library4.dart | 11 ----------- tests/language/script/source.dart | 7 ------- tests/language/top_level/file3.dart | 7 ------- tests/language_2/library/a.dart | 12 ------------ tests/language_2/library/b.dart | 12 ------------ tests/language_2/library/c.dart | 10 ---------- tests/language_2/library/d.dart | 12 ------------ tests/language_2/library/e.dart | 13 ------------- tests/language_2/library/f.dart | 10 ---------- tests/language_2/library/library3.dart | 10 ---------- tests/language_2/library/library4.dart | 13 ------------- tests/language_2/script/source.dart | 9 --------- tests/language_2/top_level/file3.dart | 9 --------- 20 files changed, 200 deletions(-) delete mode 100644 tests/language/library/a.dart delete mode 100644 tests/language/library/b.dart delete mode 100644 tests/language/library/c.dart delete mode 100644 tests/language/library/d.dart delete mode 100644 tests/language/library/e.dart delete mode 100644 tests/language/library/f.dart delete mode 100644 tests/language/library/library3.dart delete mode 100644 tests/language/library/library4.dart delete mode 100644 tests/language/script/source.dart delete mode 100644 tests/language/top_level/file3.dart delete mode 100644 tests/language_2/library/a.dart delete mode 100644 tests/language_2/library/b.dart delete mode 100644 tests/language_2/library/c.dart delete mode 100644 tests/language_2/library/d.dart delete mode 100644 tests/language_2/library/e.dart delete mode 100644 tests/language_2/library/f.dart delete mode 100644 tests/language_2/library/library3.dart delete mode 100644 tests/language_2/library/library4.dart delete mode 100644 tests/language_2/script/source.dart delete mode 100644 tests/language_2/top_level/file3.dart diff --git a/tests/language/library/a.dart b/tests/language/library/a.dart deleted file mode 100644 index 95f855e7661..00000000000 --- a/tests/language/library/a.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryA.dart; - -import "c.dart"; - -var fooA = fooC; diff --git a/tests/language/library/b.dart b/tests/language/library/b.dart deleted file mode 100644 index 2a36a647d36..00000000000 --- a/tests/language/library/b.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryB.dart; - -import "c.dart"; - -var fooB = fooC; diff --git a/tests/language/library/c.dart b/tests/language/library/c.dart deleted file mode 100644 index fcf3555c930..00000000000 --- a/tests/language/library/c.dart +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryC.dart; - -var fooC = 10; diff --git a/tests/language/library/d.dart b/tests/language/library/d.dart deleted file mode 100644 index 054c0339083..00000000000 --- a/tests/language/library/d.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryD.dart; - -import "f.dart"; - -var fooD = fooC; diff --git a/tests/language/library/e.dart b/tests/language/library/e.dart deleted file mode 100644 index 0332e42cd1e..00000000000 --- a/tests/language/library/e.dart +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryE.dart; - -import "c.dart"; -import "f.dart"; - -var fooE = 0; diff --git a/tests/language/library/f.dart b/tests/language/library/f.dart deleted file mode 100644 index f73e3cb6e87..00000000000 --- a/tests/language/library/f.dart +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library libraryF.dart; - -var fooC = 10; diff --git a/tests/language/library/library3.dart b/tests/language/library/library3.dart deleted file mode 100644 index 625f568c458..00000000000 --- a/tests/language/library/library3.dart +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library library3.dart; - -import "../library2.dart"; // defines "foo" and "foo1". diff --git a/tests/language/library/library4.dart b/tests/language/library/library4.dart deleted file mode 100644 index 25af0117371..00000000000 --- a/tests/language/library/library4.dart +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -library library4.dart; - -import "../library2.dart"; // defines "foo" and "foo1". - -var foo; -var foo1 = 0; diff --git a/tests/language/script/source.dart b/tests/language/script/source.dart deleted file mode 100644 index 44f0d3464fc..00000000000 --- a/tests/language/script/source.dart +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -// A perfectly legal dart source file for use with script and library tests. - -const int script_source = 1; diff --git a/tests/language/top_level/file3.dart b/tests/language/top_level/file3.dart deleted file mode 100644 index a42c558c751..00000000000 --- a/tests/language/top_level/file3.dart +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -main() { - Expect.equals(42, prefix.topLevelVar); -} diff --git a/tests/language_2/library/a.dart b/tests/language_2/library/a.dart deleted file mode 100644 index 1b7fc617cc4..00000000000 --- a/tests/language_2/library/a.dart +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryA.dart; - -import "c.dart"; - -var fooA = fooC; diff --git a/tests/language_2/library/b.dart b/tests/language_2/library/b.dart deleted file mode 100644 index dfc7b36d989..00000000000 --- a/tests/language_2/library/b.dart +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryB.dart; - -import "c.dart"; - -var fooB = fooC; diff --git a/tests/language_2/library/c.dart b/tests/language_2/library/c.dart deleted file mode 100644 index cc212ff1018..00000000000 --- a/tests/language_2/library/c.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryC.dart; - -var fooC = 10; diff --git a/tests/language_2/library/d.dart b/tests/language_2/library/d.dart deleted file mode 100644 index 25ec2a91afa..00000000000 --- a/tests/language_2/library/d.dart +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryD.dart; - -import "f.dart"; - -var fooD = fooC; diff --git a/tests/language_2/library/e.dart b/tests/language_2/library/e.dart deleted file mode 100644 index c00631e5c4b..00000000000 --- a/tests/language_2/library/e.dart +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryE.dart; - -import "c.dart"; -import "f.dart"; - -var fooE = 0; diff --git a/tests/language_2/library/f.dart b/tests/language_2/library/f.dart deleted file mode 100644 index 085bea44215..00000000000 --- a/tests/language_2/library/f.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library libraryF.dart; - -var fooC = 10; diff --git a/tests/language_2/library/library3.dart b/tests/language_2/library/library3.dart deleted file mode 100644 index 96a979f71f4..00000000000 --- a/tests/language_2/library/library3.dart +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library library3.dart; - -import "../library2.dart"; // defines "foo" and "foo1". diff --git a/tests/language_2/library/library4.dart b/tests/language_2/library/library4.dart deleted file mode 100644 index f4d701e95ba..00000000000 --- a/tests/language_2/library/library4.dart +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. -// - -// @dart = 2.9 - -library library4.dart; - -import "../library2.dart"; // defines "foo" and "foo1". - -var foo; -var foo1 = 0; diff --git a/tests/language_2/script/source.dart b/tests/language_2/script/source.dart deleted file mode 100644 index b9861c7d494..00000000000 --- a/tests/language_2/script/source.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -// @dart = 2.9 - -// A perfectly legal dart source file for use with script and library tests. - -const int script_source = 1; diff --git a/tests/language_2/top_level/file3.dart b/tests/language_2/top_level/file3.dart deleted file mode 100644 index d9ffab68d9c..00000000000 --- a/tests/language_2/top_level/file3.dart +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -// @dart = 2.9 - -main() { - Expect.equals(42, prefix.topLevelVar); -}