Class SpatialObserverTests
Test class that validates observers start and stop based on right configuration in editor.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Tests
Assembly: cs.temp.dll.dll
Syntax
public class SpatialObserverTests
Methods
TestAutoStartObserver()
Test default case of Auto-Start SpatialObjectMeshObserver observer type and SpatialAwarenessSystem in editor Validates that system resumes (i.e auto-starts again) when disabled/enabled
Declaration
public IEnumerator TestAutoStartObserver()
Returns
Type | Description |
---|---|
IEnumerator |
TestDisableSpatialAwarenessSystem()
Test that when the SpatialAwarenessSystem is disabled in the MRTK profile, no service is created
Declaration
public IEnumerator TestDisableSpatialAwarenessSystem()
Returns
Type | Description |
---|---|
IEnumerator |
TestManualStartObserver()
Test case of Manual-Start SpatialObjectMeshObserver observer type and SpatialAwarenessSystem in editor Validates that system should not resume observers unless directly told by test
Declaration
public IEnumerator TestManualStartObserver()
Returns
Type | Description |
---|---|
IEnumerator |