// ****************************************************************
// 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/?p=license&r=2.4.
// ****************************************************************
namespace NUnit.Framework
{
using System;
///
/// Obsolete class, formerly used to identify tests through
/// inheritance. Avoid using this class for new tests.
///
[TestFixture]
[Obsolete("use TestFixture attribute instead of inheritance",false)]
public class TestCase : Assertion
{
///
/// Method called immediately before running the test.
///
[SetUp]
[Obsolete("use SetUp attribute instead of naming convention",false)]
protected virtual void SetUp()
{}
///
/// Method Called immediately after running the test. It is
/// guaranteed to be called, even if an exception is thrown.
///
[TearDown]
[Obsolete("use TearDown attribute instead of naming convention",false)]
protected virtual void TearDown()
{}
}
}