diff options
Diffstat (limited to 'mcs/nunit/src/NUnitCore/IProtectable.cs')
-rw-r--r-- | mcs/nunit/src/NUnitCore/IProtectable.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/nunit/src/NUnitCore/IProtectable.cs b/mcs/nunit/src/NUnitCore/IProtectable.cs new file mode 100644 index 00000000000..ad86136602f --- /dev/null +++ b/mcs/nunit/src/NUnitCore/IProtectable.cs @@ -0,0 +1,12 @@ +namespace NUnit.Framework
+{
+ /// <summary>
+ /// An <c>IProtectable</c> can be run and can throw an Exception.
+ /// </summary>
+ /// <seealso cref="TestResult"/>
+ public interface IProtectable
+ {
+ /// <summary>Run the the following method protected.</summary>
+ void Protect();
+ }
+}
\ No newline at end of file |