CloneSet197


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
47260.988class_member_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14797
src/NHibernate.Test/CfgTest/DefaultNsAssmFixture.cs
247135
src/NHibernate.Test/CfgTest/HbmOrderingFixture.cs
Clone Instance
1
Line Count
47
Source Line
97
Source File
src/NHibernate.Test/CfgTest/DefaultNsAssmFixture.cs

                #region NUnit.Framework.TestFixture Members
                [TestFixtureSetUp]
                public void TestFixtureSetUp()
                {
                        dir_ = Directory.GetCurrentDirectory();

                        // Create hbm files (ideally, we could just embed them directly into the
                        // assembly - same as VS does when 'Build Action' = 'Embedded Resource' - but
                        // I could not find a way to do this, so we use files instead)

                        StreamWriter aw = new StreamWriter("A1.hbm.xml");
                        aw.Write(aJoinedHbmXml);
                        aw.Close();

                        StreamWriter bw = new StreamWriter("B1.hbm.xml");
                        bw.Write(bJoinedHbmXml);
                        bw.Close();

                        StreamWriter cw = new StreamWriter("C1.hbm.xml");
                        cw.Write(cJoinedHbmXml);
                        cw.Close();

                        StreamWriter asw = new StreamWriter("A1.subclass.hbm.xml");
                        asw.Write(aJoinedHbmXml);
                        asw.Close();

                        StreamWriter bsw = new StreamWriter("B1.subclass.hbm.xml");
                        bsw.Write(bJoinedHbmXml);
                        bsw.Close();

                        StreamWriter csw = new StreamWriter("C1.subclass.hbm.xml");
                        csw.Write(cJoinedHbmXml);
                        csw.Close();
                }

                [SetUp]
                public virtual void SetUp()
                {
                }

                [TearDown]
                public virtual void TearDown()
                {
                }

                [TestFixtureTearDown]
                public virtual void TestFixtureTearDown()
                {
                }



Clone Instance
2
Line Count
47
Source Line
135
Source File
src/NHibernate.Test/CfgTest/HbmOrderingFixture.cs

                #region NUnit.Framework.TestFixture Members
                [TestFixtureSetUp]
                public void TestFixtureSetUp()
                {
                        dir_ = Directory.GetCurrentDirectory();

                        // Create hbm files (ideally, we could just embed them directly into the
                        // assembly - same as VS does when 'Build Action' = 'Embedded Resource' - but
                        // I could not find a way to do this, so we use files instead)

                        StreamWriter aw = new StreamWriter("A.hbm.xml");
                        aw.Write(aJoinedHbmXml);
                        aw.Close();

                        StreamWriter bw = new StreamWriter("B.hbm.xml");
                        bw.Write(bJoinedHbmXml);
                        bw.Close();

                        StreamWriter cw = new StreamWriter("C.hbm.xml");
                        cw.Write(cJoinedHbmXml);
                        cw.Close();

                        StreamWriter asw = new StreamWriter("A.subclass.hbm.xml");
                        asw.Write(aJoinedHbmXml);
                        asw.Close();

                        StreamWriter bsw = new StreamWriter("B.subclass.hbm.xml");
                        bsw.Write(bJoinedHbmXml);
                        bsw.Close();

                        StreamWriter csw = new StreamWriter("C.subclass.hbm.xml");
                        csw.Write(cJoinedHbmXml);
                        csw.Close();
                }

                [SetUp]
                public virtual void SetUp()
                {
                }

                [TearDown]
                public virtual void TearDown()
                {
                }

                [TestFixtureTearDown]
                public virtual void TestFixtureTearDown()
                {
                }



Clone AbstractionParameter Count: 6Parameter Bindings

#region NUnit.Framework.TestFixture Members
[TestFixtureSetUp]
public void TestFixtureSetUp()
{
   dir_ = Directory.GetCurrentDirectory();
   // Create hbm files (ideally, we could just embed them directly into the
   // assembly - same as VS does when 'Build Action' = 'Embedded Resource' - but
   // I could not find a way to do this, so we use files instead)
   StreamWriter aw = new StreamWriter( [[#variable6e722900]]);
   aw.Write(aJoinedHbmXml);
   aw.Close();
   StreamWriter bw = new StreamWriter( [[#variable57890700]]);
   bw.Write(bJoinedHbmXml);
   bw.Close();
   StreamWriter cw = new StreamWriter( [[#variable56b1bb00]]);
   cw.Write(cJoinedHbmXml);
   cw.Close();
   StreamWriter asw = new StreamWriter( [[#variable6e7227a0]]);
   asw.Write(aJoinedHbmXml);
   asw.Close();
   StreamWriter bsw = new StreamWriter( [[#variable56b1ba20]]);
   bsw.Write(bJoinedHbmXml);
   bsw.Close();
   StreamWriter csw = new StreamWriter( [[#variable6e7226e0]]);
   csw.Write(cJoinedHbmXml);
   csw.Close();
}

[SetUp]
public virtual void SetUp()
{
}

[TearDown]
public virtual void TearDown()
{
}

[TestFixtureTearDown]
public virtual void TestFixtureTearDown()
{
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e722900]]
"A.hbm.xml" 
12[[#6e722900]]
"A1.hbm.xml" 
21[[#57890700]]
"B.hbm.xml" 
22[[#57890700]]
"B1.hbm.xml" 
31[[#56b1bb00]]
"C.hbm.xml" 
32[[#56b1bb00]]
"C1.hbm.xml" 
41[[#6e7227a0]]
"A.subclass.hbm.xml" 
42[[#6e7227a0]]
"A1.subclass.hbm.xml" 
51[[#56b1ba20]]
"B.subclass.hbm.xml" 
52[[#56b1ba20]]
"B1.subclass.hbm.xml" 
61[[#6e7226e0]]
"C.subclass.hbm.xml" 
62[[#6e7226e0]]
"C1.subclass.hbm.xml"