From 4b72ed9c27470de7753e6d69029a82b953520350 Mon Sep 17 00:00:00 2001 From: Daniel Lovell Date: Wed, 2 Oct 2024 02:16:10 -0700 Subject: [PATCH] Separate playmode/editmode test assemblies --- ...est.asmdef => bamlab.test.editmode.asmdef} | 2 +- ....meta => bamlab.test.editmode.asmdef.meta} | 0 Assets/Tests/PlayMode.meta | 8 +++++++ .../PlayMode/bamlab.test.playmode.asmdef | 22 +++++++++++++++++++ .../PlayMode/bamlab.test.playmode.asmdef.meta | 7 ++++++ 5 files changed, 38 insertions(+), 1 deletion(-) rename Assets/Tests/EditMode/{bamlab.test.asmdef => bamlab.test.editmode.asmdef} (93%) rename Assets/Tests/EditMode/{bamlab.test.asmdef.meta => bamlab.test.editmode.asmdef.meta} (100%) create mode 100644 Assets/Tests/PlayMode.meta create mode 100644 Assets/Tests/PlayMode/bamlab.test.playmode.asmdef create mode 100644 Assets/Tests/PlayMode/bamlab.test.playmode.asmdef.meta diff --git a/Assets/Tests/EditMode/bamlab.test.asmdef b/Assets/Tests/EditMode/bamlab.test.editmode.asmdef similarity index 93% rename from Assets/Tests/EditMode/bamlab.test.asmdef rename to Assets/Tests/EditMode/bamlab.test.editmode.asmdef index 6eb15a3..d30c203 100644 --- a/Assets/Tests/EditMode/bamlab.test.asmdef +++ b/Assets/Tests/EditMode/bamlab.test.editmode.asmdef @@ -1,5 +1,5 @@ { - "name": "bamlab.test", + "name": "bamlab.test.editmode", "rootNamespace": "", "references": [ "UnityEngine.TestRunner", diff --git a/Assets/Tests/EditMode/bamlab.test.asmdef.meta b/Assets/Tests/EditMode/bamlab.test.editmode.asmdef.meta similarity index 100% rename from Assets/Tests/EditMode/bamlab.test.asmdef.meta rename to Assets/Tests/EditMode/bamlab.test.editmode.asmdef.meta diff --git a/Assets/Tests/PlayMode.meta b/Assets/Tests/PlayMode.meta new file mode 100644 index 0000000..ec4d76f --- /dev/null +++ b/Assets/Tests/PlayMode.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fb45bee6d70202941a0bab2fe23f0ffb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef b/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef new file mode 100644 index 0000000..1b3d0c2 --- /dev/null +++ b/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef @@ -0,0 +1,22 @@ +{ + "name": "bamlab.test.playmode", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "bamlab.micromissiles" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "nunit.framework.dll" + ], + "autoReferenced": false, + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef.meta b/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef.meta new file mode 100644 index 0000000..cc65815 --- /dev/null +++ b/Assets/Tests/PlayMode/bamlab.test.playmode.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e06647a307e3eb742b52b0482094df98 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: