CloneSet1574


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.983class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171987
src/NHibernate.Test/Legacy/FooBarTest.cs
271997
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
7
Source Line
1987
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                [Test]
                public void VerifyParameterNamedMissing()
                {
                        using (ISession s = OpenSession())
                        {
                                IQuery q = s.CreateQuery("select bar from Bar as bar where bar.X > :myX");
                                Assert.Throws<QueryException> (() => q.List());
                        }
                }



Clone Instance
2
Line Count
7
Source Line
1997
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                [Test]
                public void VerifyParameterPositionalMissing()
                {
                        using (ISession s = OpenSession())
                        {
                                IQuery q = s.CreateQuery("select bar from Bar as bar where bar.X > ?");
                                Assert.Throws<QueryException> (() => q.List());
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable2bcc30a0]]()
{
   using (ISession s = OpenSession())
   {
      IQuery q = s.CreateQuery( [[#variable272960c0]]);
      Assert.Throws<QueryException> (() => q.List());
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2bcc30a0]]
VerifyParameterNamedMissing 
12[[#2bcc30a0]]
VerifyParameterPositionalMissing 
21[[#272960c0]]
"select bar from Bar as bar where bar.X > :myX" 
22[[#272960c0]]
"select bar from Bar as bar where bar.X > ?"