CloneSet150


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20750.970namespace_body
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1207
src/NHibernate.Test/Events/Collections/Association/Bidirectional/ManyToMany/BidirectionalManyToManySetToSetCollectionEventFixture.cs
2236
src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManyBagCollectionEventFixture.cs
3247
src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManySetCollectionEventFixture.cs
4206
src/NHibernate.Test/Events/Collections/Association/Unidirectional/ManyToMany/UnidirectionalManyToManyBagCollectionEventFixture.cs
5206
src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManyBagCollectionEventFixture.cs
6207
src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManySetCollectionEventFixture.cs
7206
src/NHibernate.Test/Events/Collections/Values/ValuesBagCollectionEventFixture.cs
Clone Instance
1
Line Count
20
Source Line
7
Source File
src/NHibernate.Test/Events/Collections/Association/Bidirectional/ManyToMany/BidirectionalManyToManySetToSetCollectionEventFixture.cs

{
        [TestFixture]
        public class BidirectionalManyToManySetToSetCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get { return new string[] { "Events.Collections.Association.Bidirectional.ManyToMany.BidirectionalManyToManySetToSetMapping.hbm.xml"
                                                  } ;
                            }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithBidirectionalManyToMany(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new HashedSet<IChild> ();
                }

        }
}


Clone Instance
2
Line Count
23
Source Line
6
Source File
src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManyBagCollectionEventFixture.cs

{
        [TestFixture]
        public class BidirectionalOneToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get
                        {
                                return new string[] { "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManyBagMapping.hbm.xml"
                                                    } ;
                        }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithBidirectionalOneToMany(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new List<IChild> ();
                }

        }
}


Clone Instance
3
Line Count
24
Source Line
7
Source File
src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManySetCollectionEventFixture.cs

{
        [TestFixture]
        public class BidirectionalOneToManySetCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get
                        {
                                return new string[]
                                        { "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManySetMapping.hbm.xml"
                                        } ;
                        }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithBidirectionalOneToMany(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new HashedSet<IChild> ();
                }

        }
}


Clone Instance
4
Line Count
20
Source Line
6
Source File
src/NHibernate.Test/Events/Collections/Association/Unidirectional/ManyToMany/UnidirectionalManyToManyBagCollectionEventFixture.cs

{
        [TestFixture]
        public class UnidirectionalManyToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get { return new string[] { "Events.Collections.Association.Unidirectional.ManyToMany.UnidirectionalManyToManyBagMapping.hbm.xml"
                                                  } ;
                            }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithCollectionOfEntities(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new List<IChild> ();
                }

        }
}


Clone Instance
5
Line Count
20
Source Line
6
Source File
src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManyBagCollectionEventFixture.cs

{
        [TestFixture]
        public class UnidirectionalOneToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get { return new string[] { "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManyBagMapping.hbm.xml"
                                                  } ;
                            }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithCollectionOfEntities(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new List<IChild> ();
                }

        }
}


Clone Instance
6
Line Count
20
Source Line
7
Source File
src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManySetCollectionEventFixture.cs

{
        [TestFixture]
        public class UnidirectionalOneToManySetCollectionEventFixture : AbstractAssociationCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get { return new string[] { "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManySetMapping.hbm.xml"
                                                  } ;
                            }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithCollectionOfEntities(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new HashedSet<IChild> ();
                }

        }
}


Clone Instance
7
Line Count
20
Source Line
6
Source File
src/NHibernate.Test/Events/Collections/Values/ValuesBagCollectionEventFixture.cs

{
        [TestFixture]
        public class ValuesBagCollectionEventFixture : AbstractCollectionEventFixture
        {
                protected override IList Mappings
                {
                        get { return new string[] { "Events.Collections.Values.ValuesBagMapping.hbm.xml"
                                                  } ;
                            }
                }

                public override IParentWithCollection CreateParent(string name)
                {
                        return new ParentWithCollectionOfValues(name);
                }

                public override ICollection<IChild> CreateCollection()
                {
                        return new List<IChild> ();
                }

        }
}


Clone AbstractionParameter Count: 5Parameter Bindings

{
   [TestFixture]
   public class [[#variable5f24e8e0]]: [[#variable4efcb120]]
   {
      protected override IList Mappings
      {
         get
         {
            return new string[]
                   {
                       [[#variable5f24e800]]
                   } ;
         }
      }

      public override IParentWithCollection CreateParent(string name)
      {
         return new [[#variable65269e60]](name);
      }

      public override ICollection<IChild> CreateCollection()
      {
         return new [[#variable5f24e6c0]]<IChild> ();
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f24e8e0]]
BidirectionalManyToManySetToSetCollectionEventFixture 
12[[#5f24e8e0]]
BidirectionalOneToManyBagCollectionEventFixture 
13[[#5f24e8e0]]
BidirectionalOneToManySetCollectionEventFixture 
14[[#5f24e8e0]]
UnidirectionalManyToManyBagCollectionEventFixture 
15[[#5f24e8e0]]
UnidirectionalOneToManyBagCollectionEventFixture 
16[[#5f24e8e0]]
UnidirectionalOneToManySetCollectionEventFixture 
17[[#5f24e8e0]]
ValuesBagCollectionEventFixture 
21[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
22[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
23[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
24[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
25[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
26[[#4efcb120]]
AbstractAssociationCollectionEventFixture 
27[[#4efcb120]]
AbstractCollectionEventFixture 
31[[#5f24e800]]
"Events.Collections.Association.Bidirectional.ManyToMany.BidirectionalManyToManySetToSetMapping.hbm.xml" 
32[[#5f24e800]]
"Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManyBagMapping.hbm.xml" 
33[[#5f24e800]]
"Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManySetMapping.hbm.xml" 
34[[#5f24e800]]
"Events.Collections.Association.Unidirectional.ManyToMany.UnidirectionalManyToManyBagMapping.hbm.xml" 
35[[#5f24e800]]
"Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManyBagMapping.hbm.xml" 
36[[#5f24e800]]
"Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManySetMapping.hbm.xml" 
37[[#5f24e800]]
"Events.Collections.Values.ValuesBagMapping.hbm.xml" 
41[[#65269e60]]
ParentWithBidirectionalManyToMany 
42[[#65269e60]]
ParentWithBidirectionalOneToMany 
43[[#65269e60]]
ParentWithBidirectionalOneToMany 
44[[#65269e60]]
ParentWithCollectionOfEntities 
45[[#65269e60]]
ParentWithCollectionOfEntities 
46[[#65269e60]]
ParentWithCollectionOfEntities 
47[[#65269e60]]
ParentWithCollectionOfValues 
51[[#5f24e6c0]]
HashedSet 
52[[#5f24e6c0]]
List 
53[[#5f24e6c0]]
HashedSet 
54[[#5f24e6c0]]
List 
55[[#5f24e6c0]]
List 
56[[#5f24e6c0]]
HashedSet 
57[[#5f24e6c0]]
List