EventManagerTests.cs 995 B

12345678910111213141516171819202122232425262728293031323334
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System.Reflection;
  4. using System.Security.Policy;
  5. using NUnit.Framework;
  6. using UnityEngine;
  7. using UnityEngine.TestTools;
  8. using KairoEngine.Core;
  9. namespace KairoEngine.Core.EditorTests
  10. {
  11. public class EventManagerTests
  12. {
  13. [Test]
  14. public void EventManager_exists()
  15. {
  16. var classType = typeof(EventManager);
  17. /*
  18. var classType = System.Type.GetType("KairoEngine.Core.EventManager");
  19. var classType = (from assembly in AppDomain.CurrentDomain.GetAssemblies()
  20. from type in assembly.GetTypes()
  21. where type.Name == "KairoEngine.Core.EventManager"
  22. select type).firstOrDefault();
  23. */
  24. Assert.IsNotNull(classType);
  25. }
  26. [Test]
  27. public void EventManager_request_exists()
  28. {
  29. Assert.IsNotNull(EventManager.request);
  30. }
  31. }
  32. }