CloneSet1691


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113118
src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs
213172
src/NHibernate.Test/QueryTest/MultipleQueriesFixture.cs
Clone Instance
1
Line Count
13
Source Line
118
Source File
src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs

                [Test]
                public void CanUseSecondLevelCacheWithPositionalParameters()
                {
                        Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
                        cacheHashtable.Clear();

                        CreateItems();

                        DoMutiQueryAndAssert();

                        Assert.AreEqual(1, cacheHashtable.Count);

                        RemoveAllItems();
                }



Clone Instance
2
Line Count
13
Source Line
172
Source File
src/NHibernate.Test/QueryTest/MultipleQueriesFixture.cs

                [Test]
                public void CanUseSecondLevelCacheWithPositionalParameters()
                {
                        Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
                        cacheHashtable.Clear();

                        CreateItems();

                        DoMutiQueryAndAssert();

                        Assert.AreEqual(1, cacheHashtable.Count);

                        RemoveAllItems();
                }



Clone AbstractionParameter Count: 0Parameter Bindings

[Test]
public void CanUseSecondLevelCacheWithPositionalParameters()
{
   Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
   cacheHashtable.Clear();
   CreateItems();
   DoMutiQueryAndAssert();
   Assert.AreEqual(1, cacheHashtable.Count);
   RemoveAllItems();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None