CloneSet2093


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

        /// <summary>
        /// Loads the project and when Scenario2 and Scenario3 are set calls Count on the list assigned.
        /// </summary>
        [Test]
        public void TestSaveAndLoadWithTwoCounts()
        {
            Project.TestAccessToList = false;
            SaveAndLoadProject();
        }

        /// <summary>
        /// Refreshes the project and when Scenario2 and Scenario3 are set calls Count on the list assigned.
        /// </summary>     
        [Test]
        public void TestRefreshWithTwoCounts()
        {
            Project.TestAccessToList = false;
            SaveLoadAndRefreshProject();
        }



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

        /// <summary>
        /// Loads the project and when Scenario1, Scenario2 and Scenario3 are set calls Count on the list assigned.
        /// </summary>
        [Test]
        public void TestTestSaveAndLoadWithThreeCounts()
        {
            Project.TestAccessToList = true;
            SaveAndLoadProject();
        }

        /// <summary>
        /// Refreshes the project and when Scenario1, Scenario2 and Scenario3 are set calls Count on the list assigned.
        /// Throws an exception on calling Count on Scenario1.
        /// </summary>     
        [Test]
        public void TestRefreshWithThreeCounts()
        {
            Project.TestAccessToList = true;
            SaveLoadAndRefreshProject();
        }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary>
/// Loads the project and when Scenario1, Scenario2 and Scenario3 are set calls Count on the list assigned.
/// Loads the project and when Scenario2 and Scenario3 are set calls Count on the list assigned.
/// </summary>
[Test]
public void [[#variable65e7bb80]]()
{
   Project.TestAccessToList = [[#variable660a2b60]];
   SaveAndLoadProject();
}

/// <summary>
/// Refreshes the project and when Scenario1, Scenario2 and Scenario3 are set calls Count on the list assigned.
/// Throws an exception on calling Count on Scenario1.
/// Refreshes the project and when Scenario2 and Scenario3 are set calls Count on the list assigned.
/// </summary>     
[Test]
public void [[#variable660a3600]]()
{
   Project.TestAccessToList = [[#variable660a2b60]];
   SaveLoadAndRefreshProject();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#65e7bb80]]
TestTestSaveAndLoadWithThreeCounts 
12[[#65e7bb80]]
TestSaveAndLoadWithTwoCounts 
21[[#660a2b60]]
true 
22[[#660a2b60]]
false 
31[[#660a3600]]
TestRefreshWithThreeCounts 
32[[#660a3600]]
TestRefreshWithTwoCounts