Final Debugging #371
Annotations
27 errors and 3 warnings
BuildButtonTest.TestOutOfFrame:
Crypto Wars/Assets/Scripts/GUI/BuildButtonScript.cs#L55
System.NullReferenceException : Object reference not set to an instance of an object
|
BuildingTest.testAddCardsToInventory:
Crypto Wars/Assets/Scripts/Inventory.cs#L23
System.NullReferenceException : Object reference not set to an instance of an object
|
CancelButtonTest.TestDeactivate:
Crypto Wars/Assets/Scripts/GUI/CancelButton.cs#L18
System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestAddCardToStack_WhenNoStackExists:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestAddCardToStack_WhenStackAlreadyExists:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestMoveCardFromHand:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestMoveCardToHand:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestRemoveCardFromStackNoIndex_MutipleCardsRemaining:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestRemoveCardFromStackNoIndex_OneCardRemaining:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
InventoryTests.TestRemoveCardFromStackWithValidIndex:
Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
|
MapGeneratorTests.TestMapGeneration:
Crypto Wars/Assets/Scripts/MapGenerator.cs#L68
System.NullReferenceException : Object reference not set to an instance of an object
|
PlayerListTest.testVisibilityToggle:
Crypto Wars/Assets/Scripts/Test_EditMode/PlayerListTest.cs#L15
System.NullReferenceException : Object reference not set to an instance of an object
|
TestingforTests.Testing:
Crypto Wars/Assets/Scripts/Test_EditMode/TestingforTests.cs#L12
System.NullReferenceException : Object reference not set to an instance of an object
|
testWinConditions.testFindWinner:
Crypto Wars/Assets/Scripts/WinConditions.cs#L114
System.NullReferenceException : Object reference not set to an instance of an object
|
testWinConditions.testGameOver:
/home/bokken/build/output/unity/unity/Runtime/Export/SceneManager/SceneManager.bindings.cs#L39
System.InvalidOperationException : This can only be used during play mode, please use EditorSceneManager.OpenScene() instead.
|
TurnMasterTest.TestAllPhasesDone_True:
Crypto Wars/Assets/Scripts/Test_EditMode/TurnMasterTest.cs#L78
Expected: Build
But was: Defense
|
|
BuildButtonScriptTest.TestCreateBuildButton:
Crypto Wars/Assets/Scripts/Test_PlayMode/BuildButtonScriptTest.cs#L50
Expected: not null
But was: null
|
BuildButtonScriptTest.TestCreateCancelButton:
Crypto Wars/Assets/Scripts/Test_PlayMode/BuildButtonScriptTest.cs#L64
Expected: not null
But was: null
|
BuildButtonScriptTest.TestCreateDestroyButton:
Crypto Wars/Assets/Scripts/Test_PlayMode/BuildButtonScriptTest.cs#L57
Expected: not null
But was: null
|
EndTurnTest.TestPhaseIncrement:
Crypto Wars/Assets/Scripts/EndTurn.cs#L65
System.NullReferenceException : Object reference not set to an instance of an object
|
EndTurnTest.TestTurnNumberIncrement:
Crypto Wars/Assets/Scripts/EndTurn.cs#L65
System.NullReferenceException : Object reference not set to an instance of an object
|
EscapeMenuTest.TestToggleMenu:
Crypto Wars/Assets/Scripts/GUI/EscapeMenu.cs#L129
UnityEngine.MissingReferenceException : The object of type 'GameObject' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
|
GameManagerTest.DoAllBattles_AttackerWins_TileTransferred:
Crypto Wars/Assets/Scripts/GameManager.cs#L111
System.NullReferenceException : Object reference not set to an instance of an object
|
GameManagerTest.DoAllBattles_DefenderWins_NoTileTransferred:
Crypto Wars/Assets/Scripts/GameManager.cs#L106
System.NullReferenceException : Object reference not set to an instance of an object.
|
StashTest.TestStashToInventory:
Crypto Wars/Assets/Scripts/Test_PlayMode/StashTest.cs#L69
Expected: 3
But was: 1
|
Test
Test(s) Failed! Check 'Test Results' for details.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
Not able to find annotation point for failed test! Test trace: AttackButtonScript.Deactivate () (at Assets/Scripts/GUI/AttackButtonScript.cs:28)
AttackButtonScript.Awake () (at Assets/Scripts/GUI/AttackButtonScript.cs:20)
UnityEngine.GameObject:AddComponent()
AttackButtonScriptTest:SetUp() (at Assets/Scripts/Test_PlayMode/AttackButtonScriptTest.cs:14)
System.Reflection.MethodBase:Invoke(Object, Object[])
NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[])
NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
|
Test
Not able to find annotation point for failed test! Test trace: MapGenerator.GenerateMap () (at Assets/Scripts/MapGenerator.cs:94)
MapGenerator.Start () (at Assets/Scripts/MapGenerator.cs:34)
|