diff --git a/Assets/Accounts/Scripts/AccountsScripts.asmdef b/Assets/Accounts/Scripts/AccountsScripts.asmdef index 307f704..9238363 100644 --- a/Assets/Accounts/Scripts/AccountsScripts.asmdef +++ b/Assets/Accounts/Scripts/AccountsScripts.asmdef @@ -3,7 +3,7 @@ "rootNamespace": "", "references": [ "GUID:6055be8ebefd69e48b49212b09b47b2f", - "GUID:df9d7b70293a2e14d9d3a018c3956f7a" + "GUID:7f2d0ee6dd21e1d4eb25b71b7a749d25" ], "includePlatforms": [], "excludePlatforms": [], diff --git a/Assets/Accounts/Scripts/CourseProgressCard.cs.meta b/Assets/Accounts/Scripts/CourseProgressCard.cs.meta index 67a2889..e416c89 100644 --- a/Assets/Accounts/Scripts/CourseProgressCard.cs.meta +++ b/Assets/Accounts/Scripts/CourseProgressCard.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c7f1ef892112fd243929d40c896c9b7b +guid: 9d74ca3d18cdd2a45b0b3cebb9ce098d MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Accounts/Tests/TestProgress.cs b/Assets/Accounts/Tests/ProgressTest.cs similarity index 90% rename from Assets/Accounts/Tests/TestProgress.cs rename to Assets/Accounts/Tests/ProgressTest.cs index 03cdad4..90025cb 100644 --- a/Assets/Accounts/Tests/TestProgress.cs +++ b/Assets/Accounts/Tests/ProgressTest.cs @@ -7,7 +7,7 @@ using UnityEngine; /// /// Test the Progress class /// -public class TestProgress : MonoBehaviour +public class TestProgress { /// /// A dummy serializable struct to perform test operations on @@ -66,28 +66,6 @@ public class TestProgress : MonoBehaviour return false; } - /// - /// Start is called before the first frame update - /// - void Start() - { - TestNewProgress(); - TestProgressAddInvalidData(); - TestProgressAddDuplicateKey(); - TestProgressAddInt(); - TestProgressAddDouble(); - TestProgressAddString(); - TestProgressAddSerializableStruct(); - TestProgressAddNonSerializableStruct(); - TestProgressGetInvalidKey(); - TestProgressGetInvalidType(); - TestProgressUpdate(); - TestProgressGetInt(); - TestProgressGetDouble(); - TestProgressGetString(); - TestProgressGetStruct(); - } - /// /// Test for creation of a new progress /// diff --git a/Assets/Accounts/Tests/TestUserCreationScreen.cs.meta b/Assets/Accounts/Tests/ProgressTest.cs.meta similarity index 83% rename from Assets/Accounts/Tests/TestUserCreationScreen.cs.meta rename to Assets/Accounts/Tests/ProgressTest.cs.meta index f1659b3..b3be9da 100644 --- a/Assets/Accounts/Tests/TestUserCreationScreen.cs.meta +++ b/Assets/Accounts/Tests/ProgressTest.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b6dabaf99e10900459274641f4cc9010 +guid: 30234b937b9c84460ad4846ae1941484 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Accounts/Tests/TestUserCreationScreen.cs b/Assets/Accounts/Tests/UserCreationScreenTest.cs similarity index 74% rename from Assets/Accounts/Tests/TestUserCreationScreen.cs rename to Assets/Accounts/Tests/UserCreationScreenTest.cs index 18c6c00..36a7710 100644 --- a/Assets/Accounts/Tests/TestUserCreationScreen.cs +++ b/Assets/Accounts/Tests/UserCreationScreenTest.cs @@ -3,17 +3,8 @@ using UnityEngine; /// /// Test the UserCreationScreen class /// -public class TestUserCreationScreen : MonoBehaviour +public class TestUserCreationScreen { - /// - /// Start is called before the first frame update - /// - void Start() - { - TestIsValidUsernameTrue(); - TestIsValidUsernameFalse(); - } - /// /// Tets IsValidUsername will return true for an valid username /// @@ -31,7 +22,7 @@ public class TestUserCreationScreen : MonoBehaviour public void TestIsValidUsernameFalse() { Debug.Assert(!UserCreationScreen.IsValidUsername(string.Empty)); - foreach (char c in " \n\t+-*/%_.,;:!?(){}[]\\'\"§|&~^$") + foreach (char c in " \n\t+-*/%_.,;:!?(){}[]\\'\"|&~^$") Debug.Assert(!UserCreationScreen.IsValidUsername(c.ToString())); Debug.Assert(!UserCreationScreen.IsValidUsername("123456789_10_11_12_13")); diff --git a/Assets/Accounts/Tests/TestProgress.cs.meta b/Assets/Accounts/Tests/UserCreationScreenTest.cs.meta similarity index 83% rename from Assets/Accounts/Tests/TestProgress.cs.meta rename to Assets/Accounts/Tests/UserCreationScreenTest.cs.meta index b3a0933..a5db1b9 100644 --- a/Assets/Accounts/Tests/TestProgress.cs.meta +++ b/Assets/Accounts/Tests/UserCreationScreenTest.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 49445c42f43d1bb488f588623826a39e +guid: 5c44016c2b2f4405eb7a902b6781e4da MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Accounts/Tests/TestUser.cs b/Assets/Accounts/Tests/UserTest.cs similarity index 90% rename from Assets/Accounts/Tests/TestUser.cs rename to Assets/Accounts/Tests/UserTest.cs index cdd2d97..e3ecef8 100644 --- a/Assets/Accounts/Tests/TestUser.cs +++ b/Assets/Accounts/Tests/UserTest.cs @@ -5,26 +5,8 @@ using UnityEngine; /// /// Test the User class /// -public class TestUser : MonoBehaviour +public class TestUser { - /// - /// Start is called before the first frame update - /// - void Start() - { - TestNewUser(); - TestUserAddCourse(); - TestUserAddMinigame(); - TestGetRecentCoursesEmpty(); - TestGetRecentCoursesAll(); - TestGetRecommendedCoursesEmpty(); - TestGetRecommendedCoursesAll(); - TestGetCourseProgressNull(); - TestGetCourseProgressValid(); - TestGetMinigameProgressNull(); - TestGetMinigameProgressValid(); - } - /// /// Test for the creation of a new user /// diff --git a/Assets/Accounts/Tests/TestUser.cs.meta b/Assets/Accounts/Tests/UserTest.cs.meta similarity index 83% rename from Assets/Accounts/Tests/TestUser.cs.meta rename to Assets/Accounts/Tests/UserTest.cs.meta index 60f1ad2..b1bc708 100644 --- a/Assets/Accounts/Tests/TestUser.cs.meta +++ b/Assets/Accounts/Tests/UserTest.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 97bd2549f1c48d34db7cbccca17fc336 +guid: 6775c39e189fa9e9bbd85516fc4a50cb MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Common/Interfaces.meta b/Assets/Common/Interfaces.meta index dd149d1..5b0f200 100644 --- a/Assets/Common/Interfaces.meta +++ b/Assets/Common/Interfaces.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: e88996685ebf2274ea70a64e08b7ddd7 +guid: f3e4df0d6e02ad2f0905d1614f2e6545 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Common/Interfaces/InterfacesScripts.asmdef.meta b/Assets/Common/Interfaces/InterfacesScripts.asmdef.meta index 2ab3a50..870a1b0 100644 --- a/Assets/Common/Interfaces/InterfacesScripts.asmdef.meta +++ b/Assets/Common/Interfaces/InterfacesScripts.asmdef.meta @@ -1,6 +1,7 @@ fileFormatVersion: 2 -guid: df9d7b70293a2e14d9d3a018c3956f7a -AssemblyDefinitionImporter: +guid: 7f2d0ee6dd21e1d4eb25b71b7a749d25 +folderAsset: yes +DefaultImporter: externalObjects: {} userData: assetBundleName: diff --git a/Assets/Common/Interfaces/Score.cs.meta b/Assets/Common/Interfaces/Score.cs.meta index 1bd4bb6..5b5ae18 100644 --- a/Assets/Common/Interfaces/Score.cs.meta +++ b/Assets/Common/Interfaces/Score.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 295706da5995d69468daf35ad5527089 +guid: 16056ca3e1523f78cbd727cea2bfe047 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Common/Scripts/CommonScripts.asmdef b/Assets/Common/Scripts/CommonScripts.asmdef index 99f32a7..ed617d5 100644 --- a/Assets/Common/Scripts/CommonScripts.asmdef +++ b/Assets/Common/Scripts/CommonScripts.asmdef @@ -5,7 +5,7 @@ "GUID:6055be8ebefd69e48b49212b09b47b2f", "GUID:63c63e721f65ebb7d871cb9ef49f4752", "GUID:1631ed2680c61245b8211d943c1639a8", - "GUID:df9d7b70293a2e14d9d3a018c3956f7a" + "GUID:7f2d0ee6dd21e1d4eb25b71b7a749d25" ], "includePlatforms": [], "excludePlatforms": [], diff --git a/Assets/Common/Tests/BasicTest.cs b/Assets/Common/Tests/BasicTest.cs new file mode 100644 index 0000000..7da4cc0 --- /dev/null +++ b/Assets/Common/Tests/BasicTest.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class BasicTests +{ + // A Test behaves as an ordinary method + [Test] + public void BasicTestsSimplePasses() + { + // Use the Assert class to test conditions + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator BasicTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/Assets/PlayModeTests/BasicTest.cs.meta b/Assets/Common/Tests/BasicTest.cs.meta similarity index 83% rename from Assets/PlayModeTests/BasicTest.cs.meta rename to Assets/Common/Tests/BasicTest.cs.meta index 76e805c..597574e 100644 --- a/Assets/PlayModeTests/BasicTest.cs.meta +++ b/Assets/Common/Tests/BasicTest.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 144f20408941dce97812560476275d78 +guid: 298e34c71d9e68260a1e06d1d4e94be1 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Common/Tests/CommonTests.asmdef b/Assets/Common/Tests/CommonTests.asmdef new file mode 100644 index 0000000..b9a20ed --- /dev/null +++ b/Assets/Common/Tests/CommonTests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "CommonTests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "CommonScripts" + ], + "includePlatforms": [ + "Editor" + ], + "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/PlayModeTests/PlayModeTests.asmdef.meta b/Assets/Common/Tests/CommonTests.asmdef.meta similarity index 76% rename from Assets/PlayModeTests/PlayModeTests.asmdef.meta rename to Assets/Common/Tests/CommonTests.asmdef.meta index 764ac6f..c1d43bb 100644 --- a/Assets/PlayModeTests/PlayModeTests.asmdef.meta +++ b/Assets/Common/Tests/CommonTests.asmdef.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 6d91b6749698c0ea6a1f03f8801e43a8 +guid: 51e9387d41ea4c92e959a2181b19e568 AssemblyDefinitionImporter: externalObjects: {} userData: diff --git a/Assets/PlayModeTests.meta b/Assets/Courses/Tests.meta similarity index 77% rename from Assets/PlayModeTests.meta rename to Assets/Courses/Tests.meta index ae36393..f8997ef 100644 --- a/Assets/PlayModeTests.meta +++ b/Assets/Courses/Tests.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: de9830103274ebdf39c7197c8fbc9bf8 +guid: 172e0dd7b744d4823bbcc323f0d70c88 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Courses/Tests/BasicTests.cs b/Assets/Courses/Tests/BasicTests.cs new file mode 100644 index 0000000..7da4cc0 --- /dev/null +++ b/Assets/Courses/Tests/BasicTests.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class BasicTests +{ + // A Test behaves as an ordinary method + [Test] + public void BasicTestsSimplePasses() + { + // Use the Assert class to test conditions + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator BasicTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/Assets/Courses/Tests/BasicTests.cs.meta b/Assets/Courses/Tests/BasicTests.cs.meta new file mode 100644 index 0000000..a459051 --- /dev/null +++ b/Assets/Courses/Tests/BasicTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ec3ef897a8a62eee2b7d8822edf923d0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Courses/Tests/CoursesTests.asmdef b/Assets/Courses/Tests/CoursesTests.asmdef new file mode 100644 index 0000000..084e8f0 --- /dev/null +++ b/Assets/Courses/Tests/CoursesTests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "CoursesTests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "CourseScripts" + ], + "includePlatforms": [ + "Editor" + ], + "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/Courses/Tests/CoursesTests.asmdef.meta b/Assets/Courses/Tests/CoursesTests.asmdef.meta new file mode 100644 index 0000000..d7b8e4a --- /dev/null +++ b/Assets/Courses/Tests/CoursesTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 67981c2a4586d9188b18e4b8cd7c5c61 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Hangman/Scripts/HangmanScripts.asmdef b/Assets/Hangman/Scripts/HangmanScripts.asmdef new file mode 100644 index 0000000..6de379d --- /dev/null +++ b/Assets/Hangman/Scripts/HangmanScripts.asmdef @@ -0,0 +1,3 @@ +{ + "name": "HangmanScripts" +} diff --git a/Assets/Hangman/Scripts/HangmanScripts.asmdef.meta b/Assets/Hangman/Scripts/HangmanScripts.asmdef.meta new file mode 100644 index 0000000..a3dd0da --- /dev/null +++ b/Assets/Hangman/Scripts/HangmanScripts.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4226ef75a34aeb8728e7092dd1371827 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/EditModeTests.meta b/Assets/Hangman/Tests.meta similarity index 77% rename from Assets/EditModeTests.meta rename to Assets/Hangman/Tests.meta index 8626e63..ef09a38 100644 --- a/Assets/EditModeTests.meta +++ b/Assets/Hangman/Tests.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 6d14129d5a7c94a6f9dd981688d05475 +guid: f029d08e11801e8158e9fcf0f74277f0 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Hangman/Tests/BasicTests.cs b/Assets/Hangman/Tests/BasicTests.cs new file mode 100644 index 0000000..a6355d4 --- /dev/null +++ b/Assets/Hangman/Tests/BasicTests.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class BasicTests +{ + // A Test behaves as an ordinary method + [Test] + public void BasicTestsSimplePasses() + { + Assert.True(true); + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator BasicTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} \ No newline at end of file diff --git a/Assets/Hangman/Tests/BasicTests.cs.meta b/Assets/Hangman/Tests/BasicTests.cs.meta new file mode 100644 index 0000000..1fc46b5 --- /dev/null +++ b/Assets/Hangman/Tests/BasicTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b3a4277e90159fa578bf998923333834 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Hangman/Tests/HangmanTests.asmdef b/Assets/Hangman/Tests/HangmanTests.asmdef new file mode 100644 index 0000000..211b815 --- /dev/null +++ b/Assets/Hangman/Tests/HangmanTests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "HangmanTests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "HangmanScripts" + ], + "includePlatforms": [ + "Editor" + ], + "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/Hangman/Tests/HangmanTests.asmdef.meta b/Assets/Hangman/Tests/HangmanTests.asmdef.meta new file mode 100644 index 0000000..2ea6f34 --- /dev/null +++ b/Assets/Hangman/Tests/HangmanTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3174034c46f2f52f3a996cde35d6f271 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/JustSign/Scripts/JustSignScripts.asmdef b/Assets/JustSign/Scripts/JustSignScripts.asmdef new file mode 100644 index 0000000..3abbe77 --- /dev/null +++ b/Assets/JustSign/Scripts/JustSignScripts.asmdef @@ -0,0 +1,3 @@ +{ + "name": "JustSignScripts" +} diff --git a/Assets/JustSign/Scripts/JustSignScripts.asmdef.meta b/Assets/JustSign/Scripts/JustSignScripts.asmdef.meta new file mode 100644 index 0000000..da81014 --- /dev/null +++ b/Assets/JustSign/Scripts/JustSignScripts.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 94b05c588eeb041c0bfd24fac57a77d8 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/JustSign/Tests.meta b/Assets/JustSign/Tests.meta new file mode 100644 index 0000000..e95c540 --- /dev/null +++ b/Assets/JustSign/Tests.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c05c9f274b935d03e8f0264e88e31cf6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/JustSign/Tests/BasicTests.cs b/Assets/JustSign/Tests/BasicTests.cs new file mode 100644 index 0000000..7da4cc0 --- /dev/null +++ b/Assets/JustSign/Tests/BasicTests.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class BasicTests +{ + // A Test behaves as an ordinary method + [Test] + public void BasicTestsSimplePasses() + { + // Use the Assert class to test conditions + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator BasicTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/Assets/JustSign/Tests/BasicTests.cs.meta b/Assets/JustSign/Tests/BasicTests.cs.meta new file mode 100644 index 0000000..8f0f393 --- /dev/null +++ b/Assets/JustSign/Tests/BasicTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5ce78cb7021f901bc8d26bf7534a92bf +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/JustSign/Tests/JustSignTests.asmdef b/Assets/JustSign/Tests/JustSignTests.asmdef new file mode 100644 index 0000000..2860755 --- /dev/null +++ b/Assets/JustSign/Tests/JustSignTests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "JustSignTests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "JustSignScripts" + ], + "includePlatforms": [ + "Editor" + ], + "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/JustSign/Tests/JustSignTests.asmdef.meta b/Assets/JustSign/Tests/JustSignTests.asmdef.meta new file mode 100644 index 0000000..efa4918 --- /dev/null +++ b/Assets/JustSign/Tests/JustSignTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5fbcff1093f226c5a84abf0062b0a120 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PlayModeTests/BasicTest.cs b/Assets/PlayModeTests/BasicTest.cs deleted file mode 100644 index 1aee8e9..0000000 --- a/Assets/PlayModeTests/BasicTest.cs +++ /dev/null @@ -1,11 +0,0 @@ -using NUnit.Framework; - -public class BasicTest -{ - // check if play mode tests works - [Test] - public void AlwaysTrueTest() - { - Assert.True(true); - } -} diff --git a/Assets/PlayModeTests/PlayModeTests.asmdef b/Assets/PlayModeTests/PlayModeTests.asmdef deleted file mode 100644 index 1d3a569..0000000 --- a/Assets/PlayModeTests/PlayModeTests.asmdef +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "PlayModeTests", - "optionalUnityReferences": [ - "TestAssemblies" - ] -} diff --git a/Assets/SpellingBee/Scripts/SpellingBeeScripts.asmdef b/Assets/SpellingBee/Scripts/SpellingBeeScripts.asmdef index 78a9950..039450a 100644 --- a/Assets/SpellingBee/Scripts/SpellingBeeScripts.asmdef +++ b/Assets/SpellingBee/Scripts/SpellingBeeScripts.asmdef @@ -5,7 +5,7 @@ "GUID:6055be8ebefd69e48b49212b09b47b2f", "GUID:1631ed2680c61245b8211d943c1639a8", "GUID:3444c67d5a3a93e5a95a48906078c372", - "GUID:df9d7b70293a2e14d9d3a018c3956f7a" + "GUID:7f2d0ee6dd21e1d4eb25b71b7a749d25" ], "includePlatforms": [], "excludePlatforms": [], diff --git a/Assets/SpellingBee/Tests.meta b/Assets/SpellingBee/Tests.meta new file mode 100644 index 0000000..1736858 --- /dev/null +++ b/Assets/SpellingBee/Tests.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 115d4d4de6307221ea8a44df4bde2e9d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/SpellingBee/Tests/BasicTests.cs b/Assets/SpellingBee/Tests/BasicTests.cs new file mode 100644 index 0000000..7da4cc0 --- /dev/null +++ b/Assets/SpellingBee/Tests/BasicTests.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class BasicTests +{ + // A Test behaves as an ordinary method + [Test] + public void BasicTestsSimplePasses() + { + // Use the Assert class to test conditions + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator BasicTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/Assets/SpellingBee/Tests/BasicTests.cs.meta b/Assets/SpellingBee/Tests/BasicTests.cs.meta new file mode 100644 index 0000000..6035afb --- /dev/null +++ b/Assets/SpellingBee/Tests/BasicTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8f299faea6f9535d0a1e6698b5be94ed +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/SpellingBee/Tests/SpellingBeeTests.asmdef b/Assets/SpellingBee/Tests/SpellingBeeTests.asmdef new file mode 100644 index 0000000..dc9de8e --- /dev/null +++ b/Assets/SpellingBee/Tests/SpellingBeeTests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "SpellingBeeTests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "UnityEditor.TestRunner", + "SpellingBeeScripts" + ], + "includePlatforms": [ + "Editor" + ], + "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/SpellingBee/Tests/SpellingBeeTests.asmdef.meta b/Assets/SpellingBee/Tests/SpellingBeeTests.asmdef.meta new file mode 100644 index 0000000..bb2fed1 --- /dev/null +++ b/Assets/SpellingBee/Tests/SpellingBeeTests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d7e04a82dbbbb1fa09f486876f2e776f +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 51332b6..aae41a5 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -76,7 +76,7 @@ PlayerSettings: androidFullscreenMode: 1 defaultIsNativeResolution: 1 macRetinaSupport: 1 - runInBackground: 0 + runInBackground: 1 captureSingleScreen: 0 muteOtherAudioSources: 0 Prepare IOS For Recording: 0