Files
BingoGrassland/unity_package/com.unity.ads.ios-support/Tests/Runtime/RuntimeTests.cs
T

18 lines
637 B
C#
Raw Normal View History

2026-04-20 13:49:36 +08:00
using UnityEngine;
using NUnit.Framework;
namespace Unity.Advertisement.IosSupport.Tests
{
public class RuntimeTests
{
[Test]
[Timeout(10000)]
//[UnityPlatform (exclude = new[] { RuntimePlatform.IPhonePlayer })] //Need to find a way to programatically set state on the iPhone for this app otherwise, even on iOS initial state will be Not Determined.
public void TestTrackingStatusMessageUnsupported()
{
Assert.That(ATTrackingStatusBinding.GetAuthorizationTrackingStatus(), Is.EqualTo(ATTrackingStatusBinding.AuthorizationTrackingStatus.NOT_DETERMINED));
}
}
}