Example #1
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);
 }
Example #2
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);
        }