[Adapdev-commits] Adapdev/src/Adapdev.UnitTest.Tests TestTypeTest.cs,NONE,1.1
Status: Beta
Brought to you by:
intesar66
From: Sean M. <int...@us...> - 2005-10-21 23:42:53
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.UnitTest.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29946/src/Adapdev.UnitTest.Tests Added Files: TestTypeTest.cs Log Message: --- NEW FILE: TestTypeTest.cs --- using System; using NUnit.Framework; using Adapdev.UnitTest; namespace Adapdev.UnitTest.Tests { /// <summary> /// Summary description for TestType. /// </summary> /// [TestFixture] public class TestTypeTest { [Test] public void MultipleTestTypes() { TestType tt = TestType.Unit | TestType.Web; Assert.IsTrue((tt & TestType.Unit) > 0, "Should be a unit test."); Assert.IsTrue((tt & TestType.Web) > 0, "Should be a web test."); Assert.IsFalse((tt & TestType.WebUserInterface) > 0, "Should not be a web UI test."); } } } |