public void IsTestClassReturnsTrueIfClassMatchesClassPreviouslySpecified() { MockClass c = new MockClass(); testFramework.AddTestClass(c); Assert.IsTrue(testFramework.IsTestClass(c)); }
public void IsTestClassReturnsTrueForKnownMbUnitFrameworkTestClass() { clazz.MockProjectContent.ProjectAsIProject.FileName = @"d:\projects\test.vbproj"; mbUnitTestFramework.AddTestClass(clazz); Assert.IsTrue(testFrameworks.IsTestClass(clazz)); }
public void IsTestClassReturnsTrueForKnownMbUnitFrameworkTestClass() { MockClass c = MockClass.CreateMockClassWithoutAnyAttributes(); c.MockProjectContent.ProjectAsIProject.FileName = @"d:\projects\test.vbproj"; mbUnitTestFramework.AddTestClass(c); Assert.IsTrue(testFrameworks.IsTestClass(c)); }