private static MbUnit2Test CreateFixtureTest(Fixture fixture) { ITypeInfo fixtureType = Reflector.Wrap(fixture.Type); MbUnit2Test test = new MbUnit2Test(fixtureType.Name, fixtureType, fixture, null); test.Kind = TestKinds.Fixture; MbUnit2MetadataUtils.PopulateFixtureMetadata(test, fixtureType); return(test); }
private static MbUnit2Test CreateFixtureTest(Fixture fixture) { ITypeInfo fixtureType = Reflector.Wrap(fixture.Type); MbUnit2Test test = new MbUnit2Test(fixtureType.Name, fixtureType, fixture, null); test.Kind = TestKinds.Fixture; MbUnit2MetadataUtils.PopulateFixtureMetadata(test, fixtureType); return test; }