Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 118 | src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs |
2 | 13 | 172 | src/NHibernate.Test/QueryTest/MultipleQueriesFixture.cs |
| ||||
[Test] public void CanUseSecondLevelCacheWithPositionalParameters() { Hashtable cacheHashtable = GetHashTableUsedAsQueryCache(); cacheHashtable.Clear(); CreateItems(); DoMutiQueryAndAssert(); Assert.AreEqual(1, cacheHashtable.Count); RemoveAllItems(); } |
| ||||
[Test] public void CanUseSecondLevelCacheWithPositionalParameters() { Hashtable cacheHashtable = GetHashTableUsedAsQueryCache(); cacheHashtable.Clear(); CreateItems(); DoMutiQueryAndAssert(); Assert.AreEqual(1, cacheHashtable.Count); RemoveAllItems(); } |
| |||
[Test] public void CanUseSecondLevelCacheWithPositionalParameters() { Hashtable cacheHashtable = GetHashTableUsedAsQueryCache(); cacheHashtable.Clear(); CreateItems(); DoMutiQueryAndAssert(); Assert.AreEqual(1, cacheHashtable.Count); RemoveAllItems(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |