Namespace Microsoft.MixedReality.Toolkit.Tests
Classes
AsyncCoroutineRunnerTests
BaseCursorTests
BaseHandVisualizerTests
BasePlayModeTests
Base class to handle typical code setup/teardown and test utilities
BoundingBoxTests
ConstraintTests
CoreServicesTests
FocusedObjectEventCatcher<T>
Base class for counting events raised on the focused object.
FocusProviderRaycastTests
This class is used to test that FocusProvider raycasts are selecting the correct focus object.
FocusProviderTests
FocusRaycastTestProxy
Used by FocusProviderRaycastTests to represent a single raycast test. This is used to set any necessary values on the TestPointer for performing the test, including positioning (through RayLineData), as well as the GameObject that the test author expects to be selected as the pointer's new focus target after the values are set on the TestPointer, and it is updated by the FocusProvider.
GlobalEventCatcher<T>
Base class for counting global events.
InputRayUtilsTests
InteractableTests
Class that tests various types of Interactable buttons and UX components. Validates various forms of input (i.e speech etc) against various configurations of Interactable.
ManipulationHandlerTests
NearInteractionTouchableTests
PlayModeTestUtilities
PointerBehaviorTests
Verify that pointers can be turned on and off via FocusProvider.SetPointerBehavior
PointerEventsTests
PointerTests
Tests to verify pointer state and pointer direction
PressableButtonTests
ProfileTests
RenderingTests
Unit tests to check the functionality of a handful of rendering systems.
SlateTests
SolverTests
SolverTests.SetupData
Internal class used to store data for setup
SpatialObserverTests
Test class that validates observers start and stop based on right configuration in editor.
SpeechTests
SpherePointerTests
StandardShaderTests
TestButtonUtilities
Utility class that provides helpful methods for generating and assembling buttons to be used in tests Also provides functions to test/simulate pressing buttons etc
TestHand
Utility class to use a simulated hand
TestInputUtilities
Utility class to provide helpful functions for applying input in tests
TestPointer
A simple pointer that is just used for Unity play mode tests. It doesn't update anything itself - it is expected that any test using it will manually update data as necessary. If you would like to setup pointer parameters in data (e.g. a prefab), you can use FocusRaycastTestProxy.
TestUtilities
TouchEventCatcher
Utility for counting touch events.
UnityButtonEventCatcher
Base class for counting Unity button events.
UnityToggleEventCatcher
Base class for counting Unity button events.