CloneSet2780


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2201.000statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12140
src/NHibernate.Test/Bytecode/Lightweight/BytecodeProviderFixture.cs
22151
src/NHibernate.Test/Bytecode/Lightweight/BytecodeProviderFixture.cs
Clone Instance
1
Line Count
2
Source Line
140
Source File
src/NHibernate.Test/Bytecode/Lightweight/BytecodeProviderFixture.cs

                        // Allow set of CustomCollectionTypeFactory class after configure BUT before add the first mapping.
                        // for real we need CustomCollectionTypeFactory before BuildSessionFactory but for possible future
                        // "mapping-sources" is better to limitate the moment of injectability.
                        var cfg = TestConfigurationHelper.GetDefaultConfiguration();
                        cfg.SetProperty(Environment.CollectionTypeFactoryClass, typeof(CustomCollectionTypeFactory).AssemblyQualifiedName);


Clone Instance
2
Line Count
2
Source Line
151
Source File
src/NHibernate.Test/Bytecode/Lightweight/BytecodeProviderFixture.cs

                        var cfg = TestConfigurationHelper.GetDefaultConfiguration();
                        cfg.SetProperty(Environment.CollectionTypeFactoryClass, typeof(CustomCollectionTypeFactory).AssemblyQualifiedName);


Clone AbstractionParameter Count: 0Parameter Bindings

// Allow set of CustomCollectionTypeFactory class after configure BUT before add the first mapping.
// for real we need CustomCollectionTypeFactory before BuildSessionFactory but for possible future
// "mapping-sources" is better to limitate the moment of injectability.
var cfg = TestConfigurationHelper.GetDefaultConfiguration();
cfg.SetProperty(Environment.CollectionTypeFactoryClass, typeof(CustomCollectionTypeFactory).AssemblyQualifiedName);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None