Esempio 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();
        }
Esempio n. 2
0
 public mapping_configuration_tests()
 {
     configFactory  = new TestConfigurationFactory();
     contextualizer = new TestContextualizer();
 }
 public list_property_binder_tests()
 {
     configFactory = new TestConfigurationFactory();
 }
Esempio 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));
        }
Esempio n. 5
0
 public conventional_mapping_tests()
 {
     contextualizer  = new TestContextualizer();
     bindableFactory = new TestConfigurationFactory();
 }
 public complex_model_mapping_tests()
 {
     contextualizer = new TestContextualizer();
     configFactory  = new TestConfigurationFactory();
     container      = new DestinationConfigurationContainer(null, configFactory);
 }