CloneSet674


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.995statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18244
src/NHibernate.Test/Legacy/ParentChildTest.cs
28286
src/NHibernate.Test/Legacy/ParentChildTest.cs
Clone Instance
1
Line Count
8
Source Line
244
Source File
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));


Clone Instance
2
Line Count
8
Source Line
286
Source File
src/NHibernate.Test/Legacy/ParentChildTest.cs

                        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));


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5293e0e0]]
2 
12[[#5293e0e0]]
4