Firstborn/Library/PackageCache/com.unity.collections@1.4.0/Unity.Collections.Tests/DotsRuntimeIgnore.cs

41 lines
763 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System;
using NUnit.Framework;
namespace Unity.Collections.Tests
{
#if UNITY_DOTSRUNTIME
internal class DotsRuntimeIgnore : IgnoreAttribute
{
public DotsRuntimeIgnore(string msg="") : base("Need to fix for DotsRuntime.")
{
}
}
#else
internal class DotsRuntimeIgnoreAttribute : Attribute
{
public DotsRuntimeIgnoreAttribute(string msg="")
{
}
}
#endif
}
// This is duplicated from Entities.
#if UNITY_PORTABLE_TEST_RUNNER
class IgnoreInPortableTests : IgnoreAttribute
{
public IgnoreInPortableTests(string reason) : base(reason)
{
}
}
#else
class IgnoreInPortableTestsAttribute : Attribute
{
public IgnoreInPortableTestsAttribute(string reason)
{
}
}
#endif