CloneSet723


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.976class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116210
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs
216229
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs
Clone Instance
1
Line Count
16
Source Line
210
Source File
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs

                [Test]
                public void Keys()
                {
                        int i = 0;
                        foreach (object obj in _shm.Keys)
                        {
                                i++;
                                Assert.IsTrue(_expectedKeys.Contains(obj));
                        }

                        Assert.AreEqual(3, i);

                        SequencedHashMap empty = new SequencedHashMap();
                        foreach (object obj in empty.Keys)
                        {
                                Assert.Fail("should not be a key: " + obj);
                        }
                }



Clone Instance
2
Line Count
16
Source Line
229
Source File
src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs

                [Test]
                public void Values()
                {
                        int i = 0;
                        foreach (object obj in _shm.Values)
                        {
                                i++;
                                Assert.IsTrue(_expectedValues.Contains(obj));
                        }

                        Assert.AreEqual(3, i);

                        SequencedHashMap empty = new SequencedHashMap();
                        foreach (object obj in empty.Values)
                        {
                                Assert.Fail("should not be a value:" + obj);
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void [[#variable26d8ea40]]()
{
   int i = 0;
   foreach (object obj in _shm. [[#variable26d8ea40]])
   {
      i++;
      Assert.IsTrue( [[#variable297b44c0]].Contains(obj));
   }
   Assert.AreEqual(3, i);
   SequencedHashMap empty = new SequencedHashMap();
   foreach (object obj in empty. [[#variable26d8ea40]])
   {
      Assert.Fail( [[#variable2d77a380]]+ obj);
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#26d8ea40]]
Values 
12[[#26d8ea40]]
Keys 
21[[#297b44c0]]
_expectedValues 
22[[#297b44c0]]
_expectedKeys 
31[[#2d77a380]]
"should not be a value:" 
32[[#2d77a380]]
"should not be a key: "