CloneSet1234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.965class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18119
src/NHibernate.Test/Legacy/CriteriaTest.cs
28145
src/NHibernate.Test/Legacy/CriteriaTest.cs
Clone Instance
1
Line Count
8
Source Line
119
Source File
src/NHibernate.Test/Legacy/CriteriaTest.cs

                [Test]
                public void CriteriaTypeMismatch()
                {
                        using (ISession s = OpenSession())
                        {
                                Assert.Throws<QueryException> (() => s.CreateCriteria( typeof(Master)).
                                           Add                       (Expression.Like("Details", "SomeString")).
                                           List                      ());
                        }
                }



Clone Instance
2
Line Count
8
Source Line
145
Source File
src/NHibernate.Test/Legacy/CriteriaTest.cs

                [Test]
                public void CriteriaCompositeProperty()
                {
                        using (ISession s = OpenSession())
                        {
                                Assert.Throws<QueryException> (() => s.CreateCriteria( typeof(Master)).
                                           Add                       (Expression.Eq("Details.I", 10)).
                                           List                      ());
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

[Test]
public void [[#variable27b10140]]()
{
   using (ISession s = OpenSession())
   {
      Assert.Throws<QueryException> (() => s.CreateCriteria( typeof(Master)).Add(Expression. [[#variable27b100c0]]( [[#variable27b10060]], [[#variable2901bf60]])).List());
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27b10140]]
CriteriaTypeMismatch 
12[[#27b10140]]
CriteriaCompositeProperty 
21[[#27b100c0]]
Like 
22[[#27b100c0]]
Eq 
31[[#27b10060]]
"Details" 
32[[#27b10060]]
"Details.I" 
41[[#2901bf60]]
"SomeString" 
42[[#2901bf60]]
10