CloneSet925


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.974statement_list[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11234
src/NHibernate.Test/CollectionTest/IdBagFixture.cs
21235
src/NHibernate.Test/GenericTest/IdBagGeneric/IdBagGenericFixture.cs
Clone Instance
1
Line Count
12
Source Line
34
Source File
src/NHibernate.Test/CollectionTest/IdBagFixture.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);


Clone Instance
2
Line Count
12
Source Line
35
Source File
src/NHibernate.Test/GenericTest/IdBagGeneric/IdBagGenericFixture.cs

                        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);


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#65a04100]]
ArrayList 
12[[#65a04100]]
List<string>