CloneSet801


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181211
src/NHibernate.Test/Legacy/MasterDetailTest.cs
281223
src/NHibernate.Test/Legacy/MasterDetailTest.cs
Clone Instance
1
Line Count
8
Source Line
1211
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        sessions.EvictCollection("NHibernate.DomainModel.Assignable.Categories");

                        s = OpenSession();
                        a = (Assignable) s.Get( typeof(Assignable), "foo");
                        c = new Category();
                        c.Assignable = a;
                        a.Categories.Add(c);
                        Assert.IsFalse(NHibernateUtil.IsInitialized(a.Categories));


Clone Instance
2
Line Count
8
Source Line
1223
Source File
src/NHibernate.Test/Legacy/MasterDetailTest.cs

                        sessions.EvictCollection("NHibernate.DomainModel.Assignable.Categories");

                        s = OpenSession();
                        a = (Assignable) s.Get( typeof(Assignable), "foo");
                        c = new Category();
                        c.Assignable = a;
                        a.Categories.Add(c);
                        Assert.IsFalse(NHibernateUtil.IsInitialized(a.Categories));


Clone AbstractionParameter Count: 0Parameter Bindings

sessions.EvictCollection("NHibernate.DomainModel.Assignable.Categories");
s = OpenSession();
a = (Assignable)s.Get( typeof(Assignable), "foo");
c = new Category();
c.Assignable = a;
a.Categories.Add(c);
Assert.IsFalse(NHibernateUtil.IsInitialized(a.Categories));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None