CloneSet654


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18301.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11855
src/NHibernate.ByteCode.Castle.Tests/TestCase.cs
21855
src/NHibernate.ByteCode.LinFu.Tests/TestCase.cs
31855
src/NHibernate.ByteCode.Spring.Tests/TestCase.cs
Clone Instance
1
Line Count
18
Source Line
55
Source File
src/NHibernate.ByteCode.Castle.Tests/TestCase.cs

                /// <summary>
                /// Creates the tables used in this TestCase
                /// </summary>
                [TestFixtureSetUp]
                public void TestFixtureSetUp()
                {
                        try
                        {
                                Configure();
                                if ( !AppliesTo(Dialect))
                                {
                                        Assert.Ignore(GetType() + " does not apply to " + Dialect);
                                }

                                CreateSchema();
                                BuildSessionFactory();
                        }
                        catch (Exception e)
                        {
                                log.Error("Error while setting up the test fixture", e);
                                throw;
                        }
                }



Clone Instance
2
Line Count
18
Source Line
55
Source File
src/NHibernate.ByteCode.LinFu.Tests/TestCase.cs

                /// <summary>
                /// Creates the tables used in this TestCase
                /// </summary>
                [TestFixtureSetUp]
                public void TestFixtureSetUp()
                {
                        try
                        {
                                Configure();
                                if ( !AppliesTo(Dialect))
                                {
                                        Assert.Ignore(GetType() + " does not apply to " + Dialect);
                                }

                                CreateSchema();
                                BuildSessionFactory();
                        }
                        catch (Exception e)
                        {
                                log.Error("Error while setting up the test fixture", e);
                                throw;
                        }
                }



Clone Instance
3
Line Count
18
Source Line
55
Source File
src/NHibernate.ByteCode.Spring.Tests/TestCase.cs

                /// <summary>
                /// Creates the tables used in this TestCase
                /// </summary>
                [TestFixtureSetUp]
                public void TestFixtureSetUp()
                {
                        try
                        {
                                Configure();
                                if ( !AppliesTo(Dialect))
                                {
                                        Assert.Ignore(GetType() + " does not apply to " + Dialect);
                                }

                                CreateSchema();
                                BuildSessionFactory();
                        }
                        catch (Exception e)
                        {
                                log.Error("Error while setting up the test fixture", e);
                                throw;
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

/// <summary>
/// Creates the tables used in this TestCase
/// </summary>
[TestFixtureSetUp]
public void TestFixtureSetUp()
{
   try
   {
      Configure();
      if ( !AppliesTo(Dialect))
      {
         Assert.Ignore(GetType() + " does not apply to " + Dialect);
      }
      CreateSchema();
      BuildSessionFactory();
   }
   catch (Exception e)
   {
      log.Error("Error while setting up the test fixture", e);
      throw;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None