CloneSet228


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.987class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1149
src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs
21425
src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs
Clone Instance
1
Line Count
14
Source Line
9
Source File
src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs

                [Test]
                public void NativeSQLQueryCollectionReturnEqualsByAlias()
                {
                        var sr1 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        var sr2 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        Assert.AreEqual(sr1, sr2);
                }

                [Test]
                public void NativeSQLQueryCollectionReturnHashCodeByAlias()
                {
                        var sr1 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        var sr2 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode());
                }



Clone Instance
2
Line Count
14
Source Line
25
Source File
src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs

                [Test]
                public void NativeSQLQueryJoinReturnEqualsByAlias()
                {
                        var sr1 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        var sr2 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        Assert.AreEqual(sr1, sr2);
                }

                [Test]
                public void NativeSQLQueryJoinReturnHashCodeByAlias()
                {
                        var sr1 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        var sr2 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None);
                        Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode());
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void [[#variable6fda34a0]]()
{
   var sr1 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None);
   var sr2 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None);
   Assert.AreEqual(sr1, sr2);
}

[Test]
public void [[#variable6c52e6a0]]()
{
   var sr1 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None);
   var sr2 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None);
   Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode());
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fda34a0]]
NativeSQLQueryJoinReturnEqualsByAlias 
12[[#6fda34a0]]
NativeSQLQueryCollectionReturnEqualsByAlias 
21[[#6875b440]]
NativeSQLQueryJoinReturn 
22[[#6875b440]]
NativeSQLQueryCollectionReturn 
31[[#6c52e6a0]]
NativeSQLQueryJoinReturnHashCodeByAlias 
32[[#6c52e6a0]]
NativeSQLQueryCollectionReturnHashCodeByAlias