CloneSet788


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.990class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1169
src/NHibernate.Test/NHSpecificTest/NH693/Fixture.cs
21628
src/NHibernate.Test/NHSpecificTest/NH693/Fixture.cs
Clone Instance
1
Line Count
16
Source Line
9
Source File
src/NHibernate.Test/NHSpecificTest/NH693/Fixture.cs

                [Test]
                public void Bug()
                {
                        try
                        {
                                new Configuration().
                                         AddResource(GetType().Namespace + ".EmptyTableName.hbm.xml", GetType().Assembly).
                                         BuildSessionFactory();
                                Assert.Fail("should throw exception");
                        }
                        catch (MappingException e)
                        {
                                MappingException ee = e.InnerException as MappingException;
                                if (ee == null)
                                        throw;
                                Assert.IsTrue(ee.Message.StartsWith("Could not determine the name of the table for entity"));
                        }
                }



Clone Instance
2
Line Count
16
Source Line
28
Source File
src/NHibernate.Test/NHSpecificTest/NH693/Fixture.cs

                [Test]
                public void SpaceTableName()
                {
                        try
                        {
                                new Configuration().
                                         AddResource(GetType().Namespace + ".SpaceTableName.hbm.xml", GetType().Assembly).
                                         BuildSessionFactory();
                                Assert.Fail("should throw exception");
                        }
                        catch (MappingException e)
                        {
                                MappingException ee = e.InnerException as MappingException;
                                if (ee == null)
                                        throw;
                                Assert.IsTrue(ee.Message.StartsWith("Could not determine the name of the table for entity"));
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable2d242ae0]]()
{
   try
   {
      new Configuration().AddResource(GetType().Namespace + [[#variable2d242a40]], GetType().Assembly).BuildSessionFactory();
      Assert.Fail("should throw exception");
   }
   catch (MappingException e)
   {
      MappingException ee = e.InnerException as MappingException;
      if (ee == null)
         throw;
      Assert.IsTrue(ee.Message.StartsWith("Could not determine the name of the table for entity"));
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d242ae0]]
SpaceTableName 
12[[#2d242ae0]]
Bug 
21[[#2d242a40]]
".SpaceTableName.hbm.xml" 
22[[#2d242a40]]
".EmptyTableName.hbm.xml"