Skip to content

Commit 0c6e227

Browse files
authored
CHANGE: Disable some display index tests on android (#2029)
* Update UITests.cs * Update UITests.cs * Revert "Update UITests.cs" This reverts commit 3f4394a. * Update UITests.cs
1 parent 0b1565f commit 0c6e227

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

Assets/Tests/InputSystem/Plugins/UITests.cs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,8 +3876,8 @@ public IEnumerator UI_WhenCursorIsLockedToScreenCenter_PointerEnterAndExitEvents
38763876
#if UNITY_2022_3_OR_NEWER // displayIndex is only available from 2022.3 onwards
38773877

38783878
[UnityTest]
3879-
#if UNITY_TVOS
3880-
[Ignore("Failing on tvOS https://jira.unity3d.com/browse/ISX-448")]
3879+
#if UNITY_TVOS || UNITY_ANDROID
3880+
[Ignore("Failing on TVOS & Android https://jira.unity3d.com/browse/ISX-2029")]
38813881
#endif
38823882
public IEnumerator UI_DisplayIndexMatchesDisplayWithTouchscreenOnScreenSpaceCanvas()
38833883
{
@@ -3927,9 +3927,8 @@ public IEnumerator UI_DisplayIndexMatchesDisplayWithTouchscreenOnScreenSpaceCanv
39273927
}
39283928

39293929
[UnityTest]
3930-
#if UNITY_TVOS
3931-
[Ignore("Failing on tvOS https://jira.unity3d.com/browse/ISX-448")]
3932-
#else
3930+
#if UNITY_TVOS || UNITY_ANDROID
3931+
[Ignore("Failing on TVOS & Android https://jira.unity3d.com/browse/ISX-2029")]
39333932
#endif
39343933
public IEnumerator UI_DisplayIndexMatchesDisplayWithTouchscreenOnOverlayCanvas()
39353934
{
@@ -3980,8 +3979,8 @@ public IEnumerator UI_DisplayIndexMatchesDisplayWithTouchscreenOnOverlayCanvas()
39803979
}
39813980

39823981
[UnityTest]
3983-
#if UNITY_TVOS
3984-
[Ignore("Failing on tvOS https://jira.unity3d.com/browse/ISX-448")]
3982+
#if UNITY_TVOS || UNITY_ANDROID
3983+
[Ignore("Failing on TVOS & Android https://jira.unity3d.com/browse/ISX-2029")]
39853984
#endif
39863985
public IEnumerator UI_DisplayIndexMatchesDisplayWithMouseOnScreenSpaceCanvas()
39873986
{
@@ -4032,6 +4031,9 @@ public IEnumerator UI_DisplayIndexMatchesDisplayWithMouseOnScreenSpaceCanvas()
40324031
}
40334032

40344033
[UnityTest]
4034+
#if UNITY_ANDROID
4035+
[Ignore("Failing on Android https://jira.unity3d.com/browse/ISX-2029")]
4036+
#endif
40354037
public IEnumerator UI_DisplayIndexMatchesDisplayWithMouseOnOverlayCanvas()
40364038
{
40374039
// Setup the Test Scene
@@ -4082,8 +4084,8 @@ public IEnumerator UI_DisplayIndexMatchesDisplayWithMouseOnOverlayCanvas()
40824084
}
40834085

40844086
[UnityTest]
4085-
#if UNITY_TVOS
4086-
[Ignore("Failing on tvOS https://jira.unity3d.com/browse/ISX-448")]
4087+
#if UNITY_TVOS || UNITY_ANDROID
4088+
[Ignore("Failing on TVOS & Android https://jira.unity3d.com/browse/ISX-2029")]
40874089
#endif
40884090
public IEnumerator UI_DisplayIndexMatchesDisplayMultiplePointers()
40894091
{

0 commit comments

Comments
 (0)