CloneSet961


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.988statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18346
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs
29366
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs
Clone Instance
1
Line Count
8
Source Line
346
Source File
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs

                        Assert.IsTrue(result.Count > 0, "No products returned from HQL");

                        Product prod = (Product) result[0];
                        Assert.IsNotNull(prod);
                        Assert.AreEqual(1, prod.Categories.Count, "Incorrect Product.categories count for filter on collection Load");

                        session.Close();
                        testData.Release();


Clone Instance
2
Line Count
9
Source Line
366
Source File
src/NHibernate.Test/FilterTest/DynamicFilterTest.cs

                        Assert.IsTrue(result.Count > 0, "No products returned from HQL many-to-many filter case");

                        Product prod = (Product) result[0];

                        Assert.IsNotNull(prod);
                        Assert.AreEqual(1, prod.Categories.Count, "Incorrect Product.categories count for filter with HQL");

                        session.Close();
                        testData.Release();


Clone AbstractionParameter Count: 2Parameter Bindings

Assert.IsTrue(result.Count > 0, [[#variable6c9b0520]]);
Product prod = (Product)result[0];
Assert.IsNotNull(prod);
Assert.AreEqual(1, prod.Categories.Count, [[#variable54138700]]);
session.Close();
testData.Release();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c9b0520]]
"No products returned from HQL many-to-many filter case" 
12[[#6c9b0520]]
"No products returned from HQL" 
21[[#54138700]]
"Incorrect Product.categories count for filter with HQL" 
22[[#54138700]]
"Incorrect Product.categories count for filter on collection Load"