A stable modding interface between Techblox and mods https://mod.exmods.org/
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.

46 lines
802B

  1. using System;
  2. namespace GamecraftModdingAPI.Tests
  3. {
  4. public enum TestType
  5. {
  6. Menu,
  7. Game,
  8. SimulationMode,
  9. EditMode,
  10. }
  11. [AttributeUsage(AttributeTargets.Class)]
  12. public class APITestClassAttribute : Attribute
  13. {
  14. internal string Name;
  15. public APITestClassAttribute(string name = "")
  16. {
  17. this.Name = name;
  18. }
  19. }
  20. [AttributeUsage(AttributeTargets.Method)]
  21. public class APITestCaseAttribute : Attribute
  22. {
  23. internal TestType TestType;
  24. public APITestCaseAttribute(TestType testType)
  25. {
  26. this.TestType = testType;
  27. }
  28. }
  29. [AttributeUsage(AttributeTargets.Method)]
  30. public class APITestStartUpAttribute : Attribute
  31. {
  32. }
  33. [AttributeUsage(AttributeTargets.Method)]
  34. public class APITestTearDownAttribute : Attribute
  35. {
  36. }
  37. }