CloneSet1598


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.983statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1456
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs
2463
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs
Clone Instance
1
Line Count
4
Source Line
56
Source File
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs

                        sp = (Salesperson) session.Load( typeof(Salesperson), testData.steveId);
                        Assert.AreEqual(1, sp.Orders.Count, "Filtered-collection not bypassing 2L-cache");

                        session.Close();


Clone Instance
2
Line Count
4
Source Line
63
Source File
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs

                        sp = (Salesperson) session.Load( typeof(Salesperson), testData.steveId);
                        Assert.AreEqual(2, sp.Orders.Count, "Actual cached version got over-written");

                        session.Close();


Clone AbstractionParameter Count: 2Parameter Bindings

sp = (Salesperson)session.Load( typeof(Salesperson), testData.steveId);
Assert.AreEqual( [[#variable27685580]], sp.Orders.Count, [[#variable27685560]]);
session.Close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27685580]]
2 
12[[#27685580]]
1 
21[[#27685560]]
"Actual cached version got over-written" 
22[[#27685560]]
"Filtered-collection not bypassing 2L-cache"