CloneSet1033


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20240.975compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1201
src/NHibernate.Test/SqlTest/Custom/Firebird/FireBirdTest.cs
2201
src/NHibernate.Test/SqlTest/Custom/MsSQL/MSSQLTest.cs
Clone Instance
1
Line Count
20
Source Line
1
Source File
src/NHibernate.Test/SqlTest/Custom/Firebird/FireBirdTest.cs

using System.Collections;
using NHibernate.Dialect;
using NUnit.Framework;

namespace NHibernate.Test.SqlTest.Custom.Firebird
{
        [TestFixture]
        public class FireBirdTest : CustomStoredProcSupportTest
        {
                protected override IList Mappings
                {
                        get { return new [] { "SqlTest.Custom.Firebird.FireBirdEmployment.hbm.xml"
                                            } ;
                            }
                }

                protected override bool AppliesTo(Dialect.Dialect dialect)
                {
                        return dialect is FirebirdDialect;
                }

        }
}


Clone Instance
2
Line Count
20
Source Line
1
Source File
src/NHibernate.Test/SqlTest/Custom/MsSQL/MSSQLTest.cs

using System.Collections;
using NHibernate.Dialect;
using NUnit.Framework;

namespace NHibernate.Test.SqlTest.Custom.MsSQL
{
        [TestFixture]
        public class MSSQLTest : CustomStoredProcSupportTest
        {
                protected override IList Mappings
                {
                        get { return new [] { "SqlTest.Custom.MsSQL.MSSQLEmployment.hbm.xml"
                                            } ;
                            }
                }

                protected override bool AppliesTo(Dialect.Dialect dialect)
                {
                        return dialect is MsSql2000Dialect;
                }

        }
}


Clone AbstractionParameter Count: 4Parameter Bindings

using System.Collections;
using NHibernate.Dialect;
using NUnit.Framework;
namespace NHibernate.Test.SqlTest.Custom. [[#variable66302a20]]
{
   [TestFixture]
   public class [[#variable66302960]]: CustomStoredProcSupportTest
   {
      protected override IList Mappings
      {
         get
         {
            return new []
                   {
                       [[#variable663028e0]]
                   } ;
         }
      }

      protected override bool AppliesTo(Dialect.Dialect dialect)
      {
         return dialect is [[#variable66302880]];
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#66302a20]]
Firebird 
12[[#66302a20]]
MsSQL 
21[[#66302960]]
FireBirdTest 
22[[#66302960]]
MSSQLTest 
31[[#663028e0]]
"SqlTest.Custom.Firebird.FireBirdEmployment.hbm.xml" 
32[[#663028e0]]
"SqlTest.Custom.MsSQL.MSSQLEmployment.hbm.xml" 
41[[#66302880]]
FirebirdDialect 
42[[#66302880]]
MsSql2000Dialect