CloneSet745


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_list[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191268
src/NHibernate.Test/Legacy/FooBarTest.cs
291403
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
9
Source Line
1268
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        IList fooBag = new ArrayList();
                        fooBag.Add(new Foo());
                        fooBag.Add(new Foo());
                        baz.FooBag = fooBag;
                        s.Save(baz);
                        s.Flush();
                        fooBag = baz.FooBag;
                        s.CreateQuery("from Baz baz left join fetch baz.FooBag").List();
                        Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag));


Clone Instance
2
Line Count
9
Source Line
1403
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                IList fooBag = new ArrayList();
                                fooBag.Add(new Foo());
                                fooBag.Add(new Foo());
                                baz.FooBag = fooBag;
                                s.Save(baz);
                                s.Flush();
                                fooBag = baz.FooBag;
                                s.CreateQuery("from Baz baz left join fetch baz.FooBag").List();
                                Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag));


Clone AbstractionParameter Count: 0Parameter Bindings

IList fooBag = new ArrayList();
fooBag.Add(new Foo());
fooBag.Add(new Foo());
baz.FooBag = fooBag;
s.Save(baz);
s.Flush();
fooBag = baz.FooBag;
s.CreateQuery("from Baz baz left join fetch baz.FooBag").List();
Assert.IsTrue(NHibernateUtil.IsInitialized(fooBag));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None