/src/NUnit/framework/Attributes/SetUpAttribute.cs

# · C# · 19 lines · 7 code · 2 blank · 10 comment · 0 complexity · 73de839bc9357011ed7163bfb082f600 MD5 · raw file

  1. // ****************************************************************
  2. // This is free software licensed under the NUnit license. You
  3. // may obtain a copy of the license as well as information regarding
  4. // copyright ownership at http://nunit.org.
  5. // ****************************************************************
  6. namespace NUnit.Framework
  7. {
  8. using System;
  9. /// <summary>
  10. /// Attribute used to mark a class that contains one-time SetUp
  11. /// and/or TearDown methods that apply to all the tests in a
  12. /// namespace or an assembly.
  13. /// </summary>
  14. [AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
  15. public class SetUpAttribute : Attribute
  16. {}
  17. }