Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.978 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 25 | src/NHibernate.Test/NHSpecificTest/NH1483/Fixture.cs |
2 | 6 | 36 | 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); } |
| ||||
using (ISession session = OpenSession()) { //reload the subclass, this should pull it directly from cache TBaseClass restoredEntity = session.Get < TBaseClass > (id); Assert.IsNotNull(restoredEntity); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#660a1000]] | entity |
1 | 2 | [[#660a1000]] | restoredEntity |