/// <exception cref="System.Exception"></exception> protected override IEnumerator FromClass(Type clazz) { AssertMigrationTestCase(clazz); IEnumerator defaultTestSuite = base.FromClass(clazz); IEnumerator migrationTestSuite = MigrationTestSuite(clazz, Db4oLibraries()); return(Iterators.Concat(migrationTestSuite, defaultTestSuite)); }
public virtual int RunSoloAndEmbeddedClientServer() { return(new ConsoleTestRunner(Iterators.Concat(new IEnumerable[] { SoloSuite(), EmbeddedSuite () })).Run()); }
public virtual int RunConcurrencyAll() { return(new ConsoleTestRunner(Iterators.Concat(new IEnumerable[] { ConcurrenyClientServerSuite (false, "CONC"), ConcurrenyClientServerSuite(true, "CONC EMBEDDED") })).Run()); }
public virtual int RunAll() { return(new ConsoleTestRunner(Iterators.Concat(new IEnumerable[] { SoloSuite(), NetworkingSuite (), EmbeddedSuite() })).Run()); }
public virtual IEnumerator GetEnumerator() { return(Iterators.Concat(Iterators.Concat(new DrsTestSuiteBuilder(new Db4oDrsFixture ("db4o-a"), new Db4oDrsFixture("db4o-b"), typeof(Db4oDrsTestSuite)).GetEnumerator (), new DrsTestSuiteBuilder(new Db4oClientServerDrsFixture("db4o-cs-a", unchecked ( (int)(0xdb40))), new Db4oClientServerDrsFixture("db4o-cs-b", 4455), typeof(Db4oDrsTestSuite )).GetEnumerator()), Iterators.Concat(new DrsTestSuiteBuilder(new Db4oDrsFixture ("db4o-a"), new Db4oClientServerDrsFixture("db4o-cs-b", 4455), typeof(Db4oDrsTestSuite )).GetEnumerator(), new DrsTestSuiteBuilder(new Db4oClientServerDrsFixture("db4o-cs-a" , 4455), new Db4oDrsFixture("db4o-b"), typeof(Db4oDrsTestSuite)).GetEnumerator() ))); }
private IEnumerator MapIdsToExecutionPath(IEnumerator singleObjectQueryIterator, Collection4 executionPath) { if (executionPath == null) { return(singleObjectQueryIterator); } IEnumerator res = singleObjectQueryIterator; IEnumerator executionPathIterator = executionPath.GetEnumerator(); while (executionPathIterator.MoveNext()) { string fieldName = (string)executionPathIterator.Current; res = Iterators.Concat(Iterators.Map(res, new _IFunction4_205(this, fieldName))); } return(res); }
public virtual IEnumerator IterateGraphStringFields(object obj) { return(Iterators.Concat(Iterators.Map(IterateGraph(obj), new _IFunction4_146(this )))); }
public virtual IEnumerator Keys() { return(Iterators.Concat(Iterators.Map(_ranges, new _IFunction4_85()))); }
public virtual IEnumerator Pointers() { return(Iterators.Concat(Iterators.Map(_ranges, new _IFunction4_77()))); }
public virtual IEnumerator <G> GetEnumerator() { return(Iterators.Concat(fgroups.Values.GetEnumerator(), groups.Values.GetEnumerator ())); }