CloneSet688


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.979statement_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173656
src/NHibernate.Test/Legacy/FooBarTest.cs
253677
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
7
Source Line
3656
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                g2 = (GlarchProxy) s.Load( typeof(Glarch), g2id);

                                // Versions are initialized to 1 in NH (not to 0 like in Hibernate)
                                Assert.AreEqual(2, g.Version, "version");
                                Assert.AreEqual(2, g.DerivedVersion, "version");
                                Assert.AreEqual(1, g2.Version, "version");
                                g.Name = "foo";


Clone Instance
2
Line Count
5
Source Line
3677
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                g2 = (GlarchProxy) s.Load( typeof(Glarch), g2id);
                                Assert.AreEqual(4, g.Version, "version");
                                Assert.AreEqual(4, g.DerivedVersion, "version");
                                Assert.AreEqual(1, g2.Version, "version");
                                g.Next = null;


Clone AbstractionParameter Count: 3Parameter Bindings

g2 = (GlarchProxy)s.Load( typeof(Glarch), g2id);
// Versions are initialized to 1 in NH (not to 0 like in Hibernate)
Assert.AreEqual( [[#variable54a669a0]], g.Version, "version");
Assert.AreEqual( [[#variable54a669a0]], g.DerivedVersion, "version");
Assert.AreEqual(1, g2.Version, "version");
g. [[#variable5066d9a0]]= [[#variable54a66d00]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54a669a0]]
4 
12[[#54a669a0]]
2 
21[[#5066d9a0]]
Next 
22[[#5066d9a0]]
Name 
31[[#54a66d00]]
null 
32[[#54a66d00]]
"foo"