Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.977 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 46 | src/NHibernate.Test/NHSpecificTest/NH1679/Fixture.cs |
2 | 10 | 55 | src/NHibernate.Test/NHSpecificTest/NH1688/Fixture.cs |
| ||||
public void TestAction(System.Action<DetachedCriteria> action) { using (ISession session = OpenSession()) { DetachedCriteria criteria = DetachedCriteria.For < DomainClass > ("alias"); action.Invoke(criteria); IList l = criteria.GetExecutableCriteria(session).List(); Assert.AreNotEqual(l, null); } } |
| ||||
public void TestAction(System.Action<DetachedCriteria> action) { using (ISession session = OpenSession()) { DetachedCriteria criteria = DetachedCriteria.For < NH1679.DomainClass > ("alias"); action.Invoke(criteria); IList l = criteria.GetExecutableCriteria(session).List(); Assert.AreNotEqual(l, null); } } |
| |||
public void TestAction(System.Action<DetachedCriteria> action) { using (ISession session = OpenSession()) { DetachedCriteria criteria = DetachedCriteria.For < [[#variable70be0dc0]]> ("alias"); action.Invoke(criteria); IList l = criteria.GetExecutableCriteria(session).List(); Assert.AreNotEqual(l, null); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70be0dc0]] | DomainClass |
1 | 2 | [[#70be0dc0]] | NH1679.DomainClass |