Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DotsRuntimeIgnore.cs 763B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using NUnit.Framework;
  3. namespace Unity.Collections.Tests
  4. {
  5. #if UNITY_DOTSRUNTIME
  6. internal class DotsRuntimeIgnore : IgnoreAttribute
  7. {
  8. public DotsRuntimeIgnore(string msg="") : base("Need to fix for DotsRuntime.")
  9. {
  10. }
  11. }
  12. #else
  13. internal class DotsRuntimeIgnoreAttribute : Attribute
  14. {
  15. public DotsRuntimeIgnoreAttribute(string msg="")
  16. {
  17. }
  18. }
  19. #endif
  20. }
  21. // This is duplicated from Entities.
  22. #if UNITY_PORTABLE_TEST_RUNNER
  23. class IgnoreInPortableTests : IgnoreAttribute
  24. {
  25. public IgnoreInPortableTests(string reason) : base(reason)
  26. {
  27. }
  28. }
  29. #else
  30. class IgnoreInPortableTestsAttribute : Attribute
  31. {
  32. public IgnoreInPortableTestsAttribute(string reason)
  33. {
  34. }
  35. }
  36. #endif