Merge pull request #1336 from esdrubal/datatablereadxmlschema
[mono.git] / mcs / nunit24 / NUnitFramework / framework / OldTestCase.cs
1 // ****************************************************************\r
2 // This is free software licensed under the NUnit license. You\r
3 // may obtain a copy of the license as well as information regarding\r
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.\r
5 // ****************************************************************\r
6 \r
7 namespace NUnit.Framework\r
8 {\r
9         using System;\r
10 \r
11         /// <summary>\r
12         /// Obsolete class, formerly used to identify tests through\r
13         /// inheritance. Avoid using this class for new tests.\r
14         /// </summary>\r
15         [TestFixture]\r
16         [Obsolete("use TestFixture attribute instead of inheritance",false)]\r
17         public class TestCase : Assertion\r
18         {\r
19                 /// <summary>\r
20                 /// Method called immediately before running the test.\r
21                 /// </summary>\r
22                 [SetUp]\r
23                 [Obsolete("use SetUp attribute instead of naming convention",false)]\r
24                 protected virtual void SetUp()\r
25                 {}\r
26 \r
27                 /// <summary>\r
28                 /// Method Called immediately after running the test. It is\r
29                 /// guaranteed to be called, even if an exception is thrown. \r
30                 /// </summary>\r
31                 [TearDown]\r
32                 [Obsolete("use TearDown attribute instead of naming convention",false)]\r
33                 protected virtual void TearDown()\r
34                 {}\r
35         }\r
36 }\r