CloneSet2089


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.978non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1525
src/NHibernate.Test/NHSpecificTest/NH1483/Fixture.cs
2636
src/NHibernate.Test/NHSpecificTest/NH1483/Fixture.cs
Clone Instance
1
Line Count
5
Source Line
25
Source File
src/NHibernate.Test/NHSpecificTest/NH1483/Fixture.cs

                        using (ISession session = OpenSession())
                        {
                                //make sure the entity can be pulled
                                TBaseClass entity = session.Get < TBaseClass > (id);
                                Assert.IsNotNull(entity);
                        }


Clone Instance
2
Line Count
6
Source Line
36
Source File
src/NHibernate.Test/NHSpecificTest/NH1483/Fixture.cs

                        using (ISession session = OpenSession())
                        {
                                //reload the subclass, this should pull it directly from cache
                                TBaseClass restoredEntity = session.Get < TBaseClass > (id);

                                Assert.IsNotNull(restoredEntity);
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

using (ISession session = OpenSession())
{
   //make sure the entity can be pulled
   //reload the subclass, this should pull it directly from cache
   TBaseClass [[#variable660a1000]]= session.Get < TBaseClass > (id);
   Assert.IsNotNull( [[#variable660a1000]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#660a1000]]
entity 
12[[#660a1000]]
restoredEntity