Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 0 | 1.000 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 58 | src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs |
2 | 3 | 72 | src/NHibernate.Test/LazyOneToOne/LazyOneToOneTest.cs |
| ||||
//Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee")); Assert.That(p.Employee.Person, Is.SameAs(p)); Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments)); Assert.That(p.Employee.Employments.Count, Is.EqualTo(1)); |
| ||||
//Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee")); Assert.That(p.Employee.Person, Is.SameAs(p)); Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments)); Assert.That(p.Employee.Employments.Count, Is.EqualTo(1)); |
| |||
//Assert.That(!NHibernateUtil.IsPropertyInitialized(p, "Employee")); Assert.That(p.Employee.Person, Is.SameAs(p)); Assert.That(NHibernateUtil.IsInitialized(p.Employee.Employments)); Assert.That(p.Employee.Employments.Count, Is.EqualTo(1)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |