Exemplo n.º 1
0
        public collection_resolver_tests()
        {
            var factory = new TestConfigurationFactory();
            var cfg     = new DestinationConfiguration(typeof(IntegerDest));

            cfg.From(typeof(IntegerSource));
            integerComponentElementConfig = factory.CreateBindableConfiguration(cfg.TakeSnapshot());
            contextualizer = new TestContextualizer();
        }
Exemplo n.º 2
0
 public mapping_configuration_tests()
 {
     configFactory  = new TestConfigurationFactory();
     contextualizer = new TestContextualizer();
 }
Exemplo n.º 3
0
 public list_property_binder_tests()
 {
     configFactory = new TestConfigurationFactory();
 }
Exemplo n.º 4
0
        public static IExecuteMapping ToExecutable(this ITakeDestinationConfigurationSnapshot cfg, Type sourceType, params ITakeDestinationConfigurationSnapshot[] otherCfgs)
        {
            var bindable = new TestConfigurationFactory().CreateBindableConfiguration(cfg.TakeSnapshot());

            return(bindable.CreateExecutableMapping(sourceType));
        }
Exemplo n.º 5
0
 public conventional_mapping_tests()
 {
     contextualizer  = new TestContextualizer();
     bindableFactory = new TestConfigurationFactory();
 }
Exemplo n.º 6
0
 public complex_model_mapping_tests()
 {
     contextualizer = new TestContextualizer();
     configFactory  = new TestConfigurationFactory();
     container      = new DestinationConfigurationContainer(null, configFactory);
 }