Skip to content

Commit cd71e2d

Browse files
ekcohchris-massie
andauthored
Update Assets/Tests/InputSystem/Plugins/XRTests.cs
Co-authored-by: Chris Massie <[email protected]>
1 parent 450c546 commit cd71e2d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Assets/Tests/InputSystem/Plugins/XRTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,10 +730,12 @@ public void Components_TrackedPoseDriver_RetainsPoseWhenTrackedDeviceRemoved()
730730

731731
[Test]
732732
[Category("Components")]
733-
public void Components_TrackedPoseDriver_RetainsPoseWhenNoActionIsBound()
733+
[TestCase(false)]
734+
[TestCase(true)]
735+
public void Components_TrackedPoseDriver_RetainsPoseWhenNoActionIsBound(bool ignoreTrackingState)
734736
{
735737
// Tests/reproduces the scenario described in https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-699
736-
// i.e. that rotation and/or position is not updated if device is not connected and track state isn't ignored.
738+
// i.e. that rotation and/or position is not updated if device is not connected.
737739

738740
var position = new Vector3(1f, 2f, 3f);
739741
var rotation = new Quaternion(0.09853293f, 0.09853293f, 0.09853293f, 0.9853293f);

0 commit comments

Comments
 (0)