CloneSet475


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7360.968block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1736
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs
2756
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs
3789
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs
Clone Instance
1
Line Count
7
Source Line
36
Source File
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs

        {
            Table tbl = new Table();
            tbl.Schema = "`schema`";
            tbl.Name = "`name`";

            Assert.AreEqual("\"schema_name\"", tbl.GetQualifiedName(dialect));
            Assert.AreEqual("\"schema_table\"", dialect.Qualify("", "\"schema\"", "\"table\""));
        }


Clone Instance
2
Line Count
7
Source Line
56
Source File
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs

        {
            Table tbl = new Table();
            tbl.Schema = "`schema`";
            tbl.Name = "name";

            Assert.AreEqual("\"schema_name\"", tbl.GetQualifiedName(dialect));
            Assert.AreEqual("\"schema_table\"", dialect.Qualify("", "\"schema\"", "table"));
        }


Clone Instance
3
Line Count
7
Source Line
89
Source File
src/NHibernate.Test/DialectTest/SQLiteDialectFixture.cs

        {
            Table tbl = new Table();
            tbl.Schema = "schema";
            tbl.Name = "name";

            Assert.AreEqual("schema_name", tbl.GetQualifiedName(dialect));
            Assert.AreEqual("schema_table", dialect.Qualify("", "schema", "table"));
        }


Clone AbstractionParameter Count: 6Parameter Bindings

{
   Table tbl = new Table();
   tbl.Schema = [[#variable52d9daa0]];
   tbl.Name = [[#variable52d9d9e0]];
   Assert.AreEqual( [[#variable52d9d8c0]], tbl.GetQualifiedName(dialect));
   Assert.AreEqual( [[#variable52d9d740]], dialect.Qualify("", [[#variable6e110460]], [[#variable52d9d620]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52d9daa0]]
"`schema`" 
12[[#52d9daa0]]
"schema" 
13[[#52d9daa0]]
"`schema`" 
21[[#52d9d9e0]]
"`name`" 
22[[#52d9d9e0]]
"name" 
23[[#52d9d9e0]]
"name" 
31[[#52d9d8c0]]
"\"schema_name\"" 
32[[#52d9d8c0]]
"schema_name" 
33[[#52d9d8c0]]
"\"schema_name\"" 
41[[#52d9d740]]
"\"schema_table\"" 
42[[#52d9d740]]
"schema_table" 
43[[#52d9d740]]
"\"schema_table\"" 
51[[#6e110460]]
"\"schema\"" 
52[[#6e110460]]
"schema" 
53[[#6e110460]]
"\"schema\"" 
61[[#52d9d620]]
"\"table\"" 
62[[#52d9d620]]
"table" 
63[[#52d9d620]]
"table"