public override object[] CreateData() { STIdentityEvaluationTestCase.Helper helperA = new STIdentityEvaluationTestCase.Helper ("aaa"); return(new object[] { new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (null), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (new STIdentityEvaluationTestCase.HelperDerivate("bbb")), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (new STIdentityEvaluationTestCase.Helper("dod")) }); }
public override object[] CreateData() { STIdentityEvaluationTestCase.Helper helperA = new STIdentityEvaluationTestCase.Helper ("aaa"); return new object[] { new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (null), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (helperA), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (new STIdentityEvaluationTestCase.HelperDerivate("bbb")), new Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase (new STIdentityEvaluationTestCase.Helper("dod")) }; }
public virtual void Test() { IQuery q = NewQuery(); q.Constrain(new STIdentityEvaluationTestCase.Helper("aaa")); IObjectSet os = q.Execute(); STIdentityEvaluationTestCase.Helper helperA = (STIdentityEvaluationTestCase.Helper )os.Next(); q = NewQuery(); q.Constrain(typeof(Db4objects.Db4o.Tests.Common.Soda.Experiments.STIdentityEvaluationTestCase )); q.Descend("helper").Constrain(helperA).Identity(); q.Constrain(new STIdentityEvaluationTestCase.AcceptAllEvaluation()); Expect(q, new int[] { 1, 2, 3 }); }
public STIdentityEvaluationTestCase(STIdentityEvaluationTestCase.Helper h) { this.helper = h; }
public STIdentityEvaluationTestCase(STIdentityEvaluationTestCase.Helper h) { this.helper = h; }