Open evertn opened 2 years ago
(ConnectionControllerTests,cs)
ConnectionController
(InvalidateSiblingsPatch.cs)
Postfix
internal
(InvalidateSiblingsPatchTests.cs)
InvalidateSiblingsPatch
(RequireLazyManagerAttribute.cs)
This attribute can be added to a test which requires a LazyManager<T>-class. Instantiating a LazyManager<T>-class outside Unity does not work. This attribute will create a usable LazyManager<T>-class which cán be used outside Unity.
LazyManager<T>
RequireLazyManagerAttribute
(TestHelpers.cs)
CreateLazyManagerMockObject
(Vtol.cs)
GameState
VTOL.Testing
ConnectionControllerTests (new)
(ConnectionControllerTests,cs)
ConnectionController
-classInvalidateSiblingsPatch
(InvalidateSiblingsPatch.cs)
Postfix
-method tointernal
, so test methods can reach it.InvalidateSiblingsPatchTests (new)
(InvalidateSiblingsPatchTests.cs)
InvalidateSiblingsPatch
-classRequireLazyManagerAttribute (new)
(RequireLazyManagerAttribute.cs)
This attribute can be added to a test which requires a
LazyManager<T>
-class. Instantiating aLazyManager<T>
-class outside Unity does not work. This attribute will create a usableLazyManager<T>
-class which cán be used outside Unity.RequireLazyManagerAttribute
-classTestHelpers
(TestHelpers.cs)
CreateLazyManagerMockObject
-methodVtol
(Vtol.cs)
GameState
-property tointernal
, so test methods can reach it.Files
VTOL.Testing
-namespace