WuhuIslandTesting/Library/PackageCache/com.unity.addressables@1.21.12/Tests/Editor/Diagnostics/ProfilerTests.cs
2025-01-07 02:06:59 +01:00

25 lines
602 B
C#

#if UNITY_2022_2_OR_NEWER
using System;
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
using UnityEditor.AddressableAssets.Build.Layout;
using UnityEditor.AddressableAssets.Diagnostics;
using UnityEngine;
namespace UnityEditor.AddressableAssets.Tests.Diagnostics
{
internal class ProfilerTests
{
[Test]
public void GUIUtilitiesGetIcon_ThrowsNoErrors()
{
foreach (Enum e in Enum.GetValues(typeof(AssetType)))
{
ProfilerGUIUtilities.GetAssetIcon((AssetType)e);
}
}
}
}
#endif