Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.995 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 244 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
2 | 8 | 286 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
| ||||
crit.CreateCriteria("FooSet"). Add(Expression.IsNull("Null")); list = crit.List(); Assert.AreEqual(4, list.Count); baz = (Baz) crit.UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized(baz.TopGlarchez)); //cos it is nonlazy Assert.IsFalse(NHibernateUtil.IsInitialized(baz.FooSet)); |
| ||||
crit.CreateCriteria("FooSet"). Add(Expression.IsNull("Null")); list = crit.List(); Assert.AreEqual(2, list.Count); baz = (Baz) crit.UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized(baz.TopGlarchez)); //cos it is nonlazy Assert.IsFalse(NHibernateUtil.IsInitialized(baz.FooSet)); |
| |||
crit.CreateCriteria("FooSet").Add(Expression.IsNull("Null")); list = crit.List(); Assert.AreEqual( [[#variable5293e0e0]], list.Count); baz = (Baz)crit.UniqueResult(); Assert.IsTrue(NHibernateUtil.IsInitialized(baz.TopGlarchez)); //cos it is nonlazy Assert.IsFalse(NHibernateUtil.IsInitialized(baz.FooSet)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5293e0e0]] | 2 |
1 | 2 | [[#5293e0e0]] | 4 |