From d9847d01671bc39fbcd292a5beccdd062c10a429 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Sat, 12 Aug 2023 17:15:17 +0200 Subject: [PATCH] tests: Rename some files because windows is dumb and they're too long I guess --- .../UserDefinedErrorsPackageWithoutMatchingCatch/Test.as | 2 +- ...yAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as | 4 ++-- .../Box.as | 2 +- .../BoxDimensionException.as | 2 +- .../BoxOverflowException.as | 2 +- .../BoxUnderzeroException.as | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/{UserDefinedErrorsPackageWithoutMatchingCatch => testpackage}/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as (92%) rename tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/{UserDefinedErrorsPackageWithoutMatchingCatch2 => testpackage2}/Box.as (93%) rename tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/{UserDefinedErrorsPackageWithoutMatchingCatch2 => testpackage2}/BoxDimensionException.as (86%) rename tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/{UserDefinedErrorsPackageWithoutMatchingCatch2 => testpackage2}/BoxOverflowException.as (86%) rename tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/{UserDefinedErrorsPackageWithoutMatchingCatch2 => testpackage2}/BoxUnderzeroException.as (86%) diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/Test.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/Test.as index 2efce30f9c0a..b69bbbc2b330 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/Test.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/Test.as @@ -9,7 +9,7 @@ import flash.display.MovieClip; public class Test extends MovieClip {} } -import UserDefinedErrorsPackageWithoutMatchingCatch.*; +import testpackage.*; // var SECTION = "Definitions"; // provide a document reference (ie, ECMA section) // var VERSION = "AS3"; // Version of JavaScript or ECMA diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as similarity index 92% rename from tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as rename to tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as index f7d8e336c941..3fa371019798 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage/TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch.as @@ -1,9 +1,9 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package UserDefinedErrorsPackageWithoutMatchingCatch{ +package testpackage { - import UserDefinedErrorsPackageWithoutMatchingCatch2.*; + import testpackage2.*; import com.adobe.test.Assert; public class TryAndCatchBlockWithUserDefinedErrorsWithoutMatchingcatch { diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/Box.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/Box.as similarity index 93% rename from tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/Box.as rename to tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/Box.as index b8fd0ced332e..80b4c8c33fc9 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/Box.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/Box.as @@ -1,7 +1,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package UserDefinedErrorsPackageWithoutMatchingCatch2 +package testpackage2 { public class Box { diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxDimensionException.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxDimensionException.as similarity index 86% rename from tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxDimensionException.as rename to tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxDimensionException.as index 3adeddd16427..2b0b3b94b94e 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxDimensionException.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxDimensionException.as @@ -1,7 +1,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package UserDefinedErrorsPackageWithoutMatchingCatch2 { +package testpackage2 { public class BoxDimensionException extends Error { public function BoxDimensionException(boxErrMsg: String) { diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxOverflowException.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxOverflowException.as similarity index 86% rename from tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxOverflowException.as rename to tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxOverflowException.as index 44000d357971..e132931554f8 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxOverflowException.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxOverflowException.as @@ -1,7 +1,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package UserDefinedErrorsPackageWithoutMatchingCatch2 { +package testpackage2 { public class BoxOverflowException extends BoxDimensionException { public function BoxOverflowException(boxErrMsg3: String) { diff --git a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxUnderzeroException.as b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxUnderzeroException.as similarity index 86% rename from tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxUnderzeroException.as rename to tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxUnderzeroException.as index eb60c55a6a3a..e1c2ea9e6ac2 100644 --- a/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/UserDefinedErrorsPackageWithoutMatchingCatch2/BoxUnderzeroException.as +++ b/tests/tests/swfs/from_avmplus/as3/Statements/Exceptions/UserDefinedErrorsPackageWithoutMatchingCatch/testpackage2/BoxUnderzeroException.as @@ -1,7 +1,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package UserDefinedErrorsPackageWithoutMatchingCatch2 { +package testpackage2 { public class BoxUnderzeroException extends BoxDimensionException {