Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 27 | 0 | 1.000 | statement_list[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 127 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
2 | 14 | 142 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
3 | 13 | 158 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
4 | 13 | 174 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
5 | 13 | 189 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
6 | 13 | 204 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
7 | 13 | 219 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
8 | 13 | 234 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
9 | 13 | 249 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
10 | 13 | 264 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
11 | 13 | 279 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
12 | 13 | 294 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
13 | 13 | 309 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
14 | 13 | 358 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
15 | 14 | 373 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
16 | 14 | 428 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
17 | 14 | 444 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
18 | 13 | 497 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
19 | 14 | 514 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
20 | 13 | 566 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
21 | 14 | 583 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
22 | 13 | 635 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
23 | 13 | 651 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
24 | 14 | 668 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
25 | 13 | 750 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
26 | 13 | 766 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
27 | 14 | 783 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // update a property to make sure it picks up that it is dirty s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // make sure the previous updates went through s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // change the array to a new array so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // modify the array to a new array so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // change the List to a new List so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // change the List to a new List so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // add an item to the list s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // change the List to a new List so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // add an item to the list s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // change the List to a new List so it is recreated s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| ||||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass) s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
| |||
s[index].Update(bc[index]); t[index].Commit(); s[index].Close(); index++; // VERIFY PREVIOUS UPDATE & PERFORM DELETE // change the List to a new List so it is recreated // add an item to the list // modify the array to a new array so it is recreated // change the array to a new array so it is recreated // make sure the previous updates went through // update a property to make sure it picks up that it is dirty s[index] = OpenSession(); t[index] = s[index].BeginTransaction(); bc[index] = (BasicClass)s[index].Load( typeof(BasicClass), id); AssertPropertiesEqual(bc[index - 1], bc[index]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |