/src/NUnit/framework/Attributes/SetUpAttribute.cs
C# | 19 lines | 7 code | 2 blank | 10 comment | 0 complexity | 73de839bc9357011ed7163bfb082f600 MD5 | raw file
Possible License(s): GPL-2.0
- // ****************************************************************
- // This is free software licensed under the NUnit license. You
- // may obtain a copy of the license as well as information regarding
- // copyright ownership at http://nunit.org.
- // ****************************************************************
-
- namespace NUnit.Framework
- {
- using System;
-
- /// <summary>
- /// Attribute used to mark a class that contains one-time SetUp
- /// and/or TearDown methods that apply to all the tests in a
- /// namespace or an assembly.
- /// </summary>
- [AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
- public class SetUpAttribute : Attribute
- {}
- }