public virtual void TestSelectiveFixture() { IDb4oFixture fixture = new ExcludingInMemoryFixture(this); var tests = new Db4oTestSuiteBuilder(fixture, new[] { typeof (AcceptedTestCase ), typeof (NotAcceptedTestCase) }).GetEnumerator(); var test = NextTest(tests); Assert.IsFalse(tests.MoveNext()); FrameworkTestCase.RunTestAndExpect(test, 0); }
public virtual void TestSelectiveFixture() { IDb4oFixture fixture = new ExcludingInMemoryFixture(this); var tests = new Db4oTestSuiteBuilder(fixture, new[] { typeof(AcceptedTestCase ), typeof(NotAcceptedTestCase) }).GetEnumerator(); var test = NextTest(tests); Assert.IsFalse(tests.MoveNext()); FrameworkTestCase.RunTestAndExpect(test, 0); }