CloneSet203


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10320.994class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11035
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs
21047
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs
31159
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs
Clone Instance
1
Line Count
10
Source Line
35
Source File
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs

                [Test]
                public void LoadCompositeElementsWithWithSimpleHbmAliasInjection()
                {
                        IDictionary<int, AreaStatistics> stats = CreateStatistics();
                        Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithSimpleHbmAliasInjection");

                        Assert.That(country, Is.Not.Null);
                        Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys");
                        Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements");
                        CleanupWithPersons();
                }



Clone Instance
2
Line Count
10
Source Line
47
Source File
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs

                [Test]
                public void LoadCompositeElementsWithWithComplexHbmAliasInjection()
                {
                        IDictionary<int, AreaStatistics> stats = CreateStatistics();
                        Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithComplexHbmAliasInjection");

                        Assert.That(country, Is.Not.Null);
                        Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys");
                        Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements");
                        CleanupWithPersons();
                }



Clone Instance
3
Line Count
11
Source Line
59
Source File
src/NHibernate.Test/NHSpecificTest/NH1612/NativeSqlCollectionLoaderFixture.cs

                [Test]
                public void LoadCompositeElementsWithWithCustomAliases()
                {
                        IDictionary<int, AreaStatistics> stats = CreateStatistics();
                        Country country = LoadCountryWithNativeSQL(CreateCountry(stats), "LoadAreaStatisticsWithCustomAliases");

                        Assert.That(country, Is.Not.Null);
                        Assert.That((ICollection) country.Statistics.Keys, Is.EquivalentTo((ICollection) stats.Keys), "Keys");
                        Assert.That((ICollection) country.Statistics.Values, Is.EquivalentTo((ICollection) stats.Values), "Elements");

                        CleanupWithPersons();
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable584b8260]]()
{
   IDictionary<int, AreaStatistics> stats = CreateStatistics();
   Country country = LoadCountryWithNativeSQL(CreateCountry(stats), [[#variable584b8240]]);
   Assert.That(country, Is.Not.Null);
   Assert.That((ICollection)country.Statistics.Keys, Is.EquivalentTo((ICollection)stats.Keys), "Keys");
   Assert.That((ICollection)country.Statistics.Values, Is.EquivalentTo((ICollection)stats.Values), "Elements");
   CleanupWithPersons();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#584b8260]]
LoadCompositeElementsWithWithSimpleHbmAliasInjection 
12[[#584b8260]]
LoadCompositeElementsWithWithComplexHbmAliasInjection 
13[[#584b8260]]
LoadCompositeElementsWithWithCustomAliases 
21[[#584b8240]]
"LoadAreaStatisticsWithSimpleHbmAliasInjection" 
22[[#584b8240]]
"LoadAreaStatisticsWithComplexHbmAliasInjection" 
23[[#584b8240]]
"LoadAreaStatisticsWithCustomAliases"