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
7 namespace NUnit.Framework
\r
12 /// Obsolete class, formerly used to identify tests through
\r
13 /// inheritance. Avoid using this class for new tests.
\r
16 [Obsolete("use TestFixture attribute instead of inheritance",false)]
\r
17 public class TestCase : Assertion
\r
20 /// Method called immediately before running the test.
\r
23 [Obsolete("use SetUp attribute instead of naming convention",false)]
\r
24 protected virtual void SetUp()
\r
28 /// Method Called immediately after running the test. It is
\r
29 /// guaranteed to be called, even if an exception is thrown.
\r
32 [Obsolete("use TearDown attribute instead of naming convention",false)]
\r
33 protected virtual void TearDown()
\r