CloneSet751


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.955class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1937
src/NHibernate.Test/DialectTest/DialectFixture.cs
2915
src/NHibernate.Test/DialectTest/MsSqlDialectFixture.cs
Clone Instance
1
Line Count
9
Source Line
37
Source File
src/NHibernate.Test/DialectTest/DialectFixture.cs

                [SetUp]
                public virtual void SetUp()
                {
                        // Generic Dialect inherits all of the Quoting functions from
                        // Dialect (which is abstract)
                        d = new GenericDialect();
                        tableWithNothingToBeQuoted = new string[] { "plainname", "\"plainname\""
                                                                  } ;
                        tableAlreadyQuoted = new string[] { "\"Quote\"\"d[Na$`\"", "\"Quote\"\"d[Na$`\"", "Quote\"d[Na$`"
                                                          } ;
                        tableThatNeedsToBeQuoted = new string[] { "Quote\"d[Na$`", "\"Quote\"\"d[Na$`\"", "Quote\"d[Na$`"
                                                                } ;
                }



Clone Instance
2
Line Count
9
Source Line
15
Source File
src/NHibernate.Test/DialectTest/MsSqlDialectFixture.cs

                [SetUp]
                public override void SetUp()
                {
                        // Generic Dialect inherits all of the Quoting functions from
                        // Dialect (which is abstract)
                        d = new MsSql2000Dialect();
                        tableWithNothingToBeQuoted = new string[] { "plainname", "[plainname]"
                                                                  } ;
                        tableAlreadyQuoted = new string[] { "[Quote[d[Na]]$`]", "[Quote[d[Na]]$`]", "Quote[d[Na]$`"
                                                          } ;
                        tableThatNeedsToBeQuoted = new string[] { "Quote[d[Na]$`", "[Quote[d[Na]]$`]", "Quote[d[Na]$`"
                                                                } ;
                }



Clone AbstractionParameter Count: 5Parameter Bindings

[SetUp]
public [[#variable68492fc0]]void SetUp()
{
   // Generic Dialect inherits all of the Quoting functions from
   // Dialect (which is abstract)
   d = new [[#variable68492f00]]();
   tableWithNothingToBeQuoted = new string[]
                                {
                                   "plainname", [[#variable68492f60]]
                                } ;
   tableAlreadyQuoted = new string[]
                        {
                            [[#variable68492f40]], [[#variable68492f40]], [[#variable68492ee0]]
                        } ;
   tableThatNeedsToBeQuoted = new string[]
                              {
                                  [[#variable68492ee0]], [[#variable68492f40]], [[#variable68492ee0]]
                              } ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#68492fc0]]
override 
12[[#68492fc0]]
virtual 
21[[#68492f00]]
MsSql2000Dialect 
22[[#68492f00]]
GenericDialect 
31[[#68492f60]]
"[plainname]" 
32[[#68492f60]]
"\"plainname\"" 
41[[#68492f40]]
"[Quote[d[Na]]$`]" 
42[[#68492f40]]
"\"Quote\"\"d[Na$`\"" 
51[[#68492ee0]]
"Quote[d[Na]$`" 
52[[#68492ee0]]
"Quote\"d[Na$`"