PageRenderTime 62ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/src/NUnit/interfaces/RunState.cs

#
C# | 53 lines | 12 code | 5 blank | 36 comment | 0 complexity | b18d98b946c5aa7134e4d731ce160b61 MD5 | raw file
Possible License(s): GPL-2.0
  1. // ****************************************************************
  2. // Copyright 2007, Charlie Poole
  3. // This is free software licensed under the NUnit license. You may
  4. // obtain a copy of the license at http://nunit.org
  5. // ****************************************************************
  6. using System;
  7. namespace NUnit.Core
  8. {
  9. /// <summary>
  10. /// The RunState enum indicates whether a test
  11. /// can be executed. When used on a TestResult
  12. /// it may also indicate whether the test has
  13. /// been executed. See individual values for
  14. /// restrictions on use.
  15. /// </summary>
  16. public enum RunState
  17. {
  18. /// <summary>
  19. /// The test is not runnable.
  20. /// </summary>
  21. NotRunnable,
  22. /// <summary>
  23. /// The test is runnable. This value would
  24. /// normally not appear on a TestResult, since
  25. /// it would change to Executed.
  26. /// </summary>
  27. Runnable,
  28. /// <summary>
  29. /// The test can only be run explicitly. Would
  30. /// normally not appear on a TestResult, since
  31. /// it would change to Executed or Skipped.
  32. /// </summary>
  33. Explicit,
  34. /// <summary>
  35. /// The test has been skipped. This value may
  36. /// appear on a Test when certain attributes
  37. /// are used to skip the test.
  38. /// </summary>
  39. Skipped,
  40. /// <summary>
  41. /// The test has been ignored. May appear on
  42. /// a Test, when the IgnoreAttribute is used.
  43. /// Appears on a TestResult in that case or
  44. /// if the test is dynamically ignored.
  45. /// </summary>
  46. Ignored
  47. }
  48. }