CloneSet2092


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.957class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11512
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs
21532
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs
Clone Instance
1
Line Count
15
Source Line
12
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs

        /// <summary>
        /// Loads the project do not call Count on the list assigned.
        /// </summary>
        [Test]
        public void TestSaveAndLoadWithoutCount()
        {
            ProjectWithOneList.TestAccessToList = false;
            SaveAndLoadProjectWithOneList();
        }

        /// <summary>
        /// Refreshes the project do not call Count on the list assigned.
        /// </summary>     
        [Test]
        public void TestRefreshWithoutCount()
        {
            ProjectWithOneList.TestAccessToList = false;
            SaveLoadAndRefreshProjectWithOneList();
        }



Clone Instance
2
Line Count
15
Source Line
32
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs

        /// <summary>
        /// Loads the project and when Scenario1 is assigned call Count on the list.
        /// </summary>
        [Test]
        public void TestSaveAndLoadWithCount()
        {
            ProjectWithOneList.TestAccessToList = true;
            SaveAndLoadProjectWithOneList();
        }

        /// <summary>
        /// Refreshes the project and when Scenario1 is assigned call Count on the list.
        /// </summary>     
        [Test]
        public void TestRefreshWithCount()
        {
            ProjectWithOneList.TestAccessToList = true;
            SaveLoadAndRefreshProjectWithOneList();
        }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary>
/// Loads the project and when Scenario1 is assigned call Count on the list.
/// Loads the project do not call Count on the list assigned.
/// </summary>
[Test]
public void [[#variable5f01a160]]()
{
   ProjectWithOneList.TestAccessToList = [[#variable6765b260]];
   SaveAndLoadProjectWithOneList();
}

/// <summary>
/// Refreshes the project and when Scenario1 is assigned call Count on the list.
/// Refreshes the project do not call Count on the list assigned.
/// </summary>     
[Test]
public void [[#variable660a2200]]()
{
   ProjectWithOneList.TestAccessToList = [[#variable6765b260]];
   SaveLoadAndRefreshProjectWithOneList();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f01a160]]
TestSaveAndLoadWithCount 
12[[#5f01a160]]
TestSaveAndLoadWithoutCount 
21[[#6765b260]]
true 
22[[#6765b260]]
false 
31[[#660a2200]]
TestRefreshWithCount 
32[[#660a2200]]
TestRefreshWithoutCount