CloneSet891


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.972class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11093
src/NHibernate.Test/DialectTest/DialectFixture.cs
210105
src/NHibernate.Test/DialectTest/DialectFixture.cs
Clone Instance
1
Line Count
10
Source Line
93
Source File
src/NHibernate.Test/DialectTest/DialectFixture.cs

                /// <summary>
                /// Test that it does not matter if the name passed in has been quoted or not
                /// already.  The UnQuote should take care of it and return the same result.
                /// </summary>
                [Test]
                public void UnQuoteAlreadyQuoted()
                {
                        Assert.AreEqual(
                                tableAlreadyQuoted[AfterUnquoteIndex],
                                d.UnQuote(tableAlreadyQuoted[BeforeQuoteIndex]));

                        Assert.AreEqual(
                                tableAlreadyQuoted[AfterUnquoteIndex],
                                d.UnQuote(tableAlreadyQuoted[AfterQuoteIndex]));
                }



Clone Instance
2
Line Count
10
Source Line
105
Source File
src/NHibernate.Test/DialectTest/DialectFixture.cs

                [Test]
                public void UnQuoteNeedingQuote()
                {
                        Assert.AreEqual(
                                tableThatNeedsToBeQuoted[AfterUnquoteIndex],
                                d.UnQuote(tableThatNeedsToBeQuoted[BeforeQuoteIndex]));

                        Assert.AreEqual(
                                tableThatNeedsToBeQuoted[AfterUnquoteIndex],
                                d.UnQuote(tableThatNeedsToBeQuoted[AfterQuoteIndex]));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Test that it does not matter if the name passed in has been quoted or not
/// already.  The UnQuote should take care of it and return the same result.
/// </summary>
[Test]
public void [[#variable70c19900]]()
{
   Assert.AreEqual( [[#variable70e55a00]][AfterUnquoteIndex], d.UnQuote( [[#variable70e55a00]][BeforeQuoteIndex]));
   Assert.AreEqual( [[#variable70e55a00]][AfterUnquoteIndex], d.UnQuote( [[#variable70e55a00]][AfterQuoteIndex]));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70c19900]]
UnQuoteAlreadyQuoted 
12[[#70c19900]]
UnQuoteNeedingQuote 
21[[#70e55a00]]
tableAlreadyQuoted 
22[[#70e55a00]]
tableThatNeedsToBeQuoted