Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.974 | statement_list[9] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 34 | src/NHibernate.Test/CollectionTest/IdBagFixture.cs |
2 | 12 | 35 | src/NHibernate.Test/GenericTest/IdBagGeneric/IdBagGenericFixture.cs |
| ||||
a.Name = "first generic type"; a.Items = new ArrayList(); a.Items.Add( "first string"); a.Items.Add( "second string"); ISession s = OpenSession(); s.SaveOrUpdate( a); // this flush should test how NH wraps a generic collection with its // own persistent collection s.Flush(); s.Close(); Assert.IsNotNull( a.Id); |
| ||||
a.Name = "first generic type"; a.Items = new List<string> (); a.Items.Add( "first string"); a.Items.Add( "second string"); ISession s = OpenSession(); s.SaveOrUpdate( a); // this flush should test how NH wraps a generic collection with its // own persistent collection s.Flush(); s.Close(); Assert.IsNotNull( a.Id); |
| |||
a.Name = "first generic type"; a.Items = new [[#variable65a04100]](); a.Items.Add("first string"); a.Items.Add("second string"); ISession s = OpenSession(); s.SaveOrUpdate(a); // this flush should test how NH wraps a generic collection with its // own persistent collection s.Flush(); s.Close(); Assert.IsNotNull(a.Id); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65a04100]] | ArrayList |
1 | 2 | [[#65a04100]] | List<string> |