Ejemplo n.º 1
0
 public void SetupExpressMapper()
 {
     _fooInstance      = TestAdaptHelper.SetupFooInstance();
     _customerInstance = TestAdaptHelper.SetupCustomerInstance();
     TestAdaptHelper.ConfigureExpressMapper(_fooInstance);
     TestAdaptHelper.ConfigureExpressMapper(_customerInstance);
 }
Ejemplo n.º 2
0
 public void SetupAutoMapper()
 {
     fooInstance      = TestAdaptHelper.SetupFooInstance();
     customerInstance = TestAdaptHelper.SetupCustomerInstance();
     TestAdaptHelper.ConfigureAutoMapper(fooInstance);
     TestAdaptHelper.ConfigureAutoMapper(customerInstance);
 }
Ejemplo n.º 3
0
 public void SetupRoslyn()
 {
     fooInstance      = TestAdaptHelper.SetupFooInstance();
     customerInstance = TestAdaptHelper.SetupCustomerInstance();
     TestAdaptHelper.ConfigureMapster(fooInstance, MapsterCompilerType.Roslyn);
     TestAdaptHelper.ConfigureMapster(customerInstance, MapsterCompilerType.Roslyn);
 }
Ejemplo n.º 4
0
 public void SetupFec()
 {
     _fooInstance      = TestAdaptHelper.SetupFooInstance();
     _customerInstance = TestAdaptHelper.SetupCustomerInstance();
     TestAdaptHelper.ConfigureMapster(_fooInstance, MapsterCompilerType.FEC);
     TestAdaptHelper.ConfigureMapster(_customerInstance, MapsterCompilerType.FEC);
 }
Ejemplo n.º 5
0
 public void SetupCodegen()
 {
     _fooInstance      = TestAdaptHelper.SetupFooInstance();
     _customerInstance = TestAdaptHelper.SetupCustomerInstance();
     FooMapper.Map(_fooInstance);
     CustomerMapper.Map(_customerInstance);
 }
Ejemplo n.º 6
0
 public void RoslynTest()
 {
     TestAdaptHelper.TestMapsterAdapter <Customer, CustomerDTO>(customerInstance, Iterations);
 }
Ejemplo n.º 7
0
 public void AutoMapperTest()
 {
     TestAdaptHelper.TestAutoMapper <Foo, Foo>(_fooInstance, Iterations);
     TestAdaptHelper.TestAutoMapper <Customer, CustomerDTO>(_customerInstance, Iterations);
 }
Ejemplo n.º 8
0
 public void CodegenTest()
 {
     TestAdaptHelper.TestCodeGen(_fooInstance, Iterations);
     TestAdaptHelper.TestCodeGen(_customerInstance, Iterations);
 }
Ejemplo n.º 9
0
 public void FecTest()
 {
     TestAdaptHelper.TestMapsterAdapter <Foo, Foo>(_fooInstance, Iterations);
     TestAdaptHelper.TestMapsterAdapter <Customer, CustomerDTO>(_customerInstance, Iterations);
 }
Ejemplo n.º 10
0
 public void SetupCodegen()
 {
     customerInstance = TestAdaptHelper.SetupCustomerInstance();
     CustomerMapper.Map(customerInstance);
 }
Ejemplo n.º 11
0
 public void SetupMapster()
 {
     customerInstance = TestAdaptHelper.SetupCustomerInstance();
     TestAdaptHelper.ConfigureMapster(customerInstance, MapsterCompilerType.Default);
 }
Ejemplo n.º 12
0
 public void ExpressMapperTest()
 {
     TestAdaptHelper.TestExpressMapper <Customer, CustomerDTO>(customerInstance, Iterations);
 }
Ejemplo n.º 13
0
 public void CodegenTest()
 {
     TestAdaptHelper.TestCodeGen(fooInstance, Iterations);
 }
Ejemplo n.º 14
0
 public void AutoMapperTest()
 {
     TestAdaptHelper.TestAutoMapper <Foo, Foo>(_fooInstance, Iterations);
 }
Ejemplo n.º 15
0
 public void SetupMapster()
 {
     _fooInstance = TestAdaptHelper.SetupFooInstance();
     TestAdaptHelper.ConfigureMapster(_fooInstance, MapsterCompilerType.Default);
 }
Ejemplo n.º 16
0
 public void ExpressMapperTest()
 {
     TestAdaptHelper.TestExpressMapper <Foo, Foo>(_fooInstance, Iterations);
 }
Ejemplo n.º 17
0
 public void FecTest()
 {
     TestAdaptHelper.TestMapsterAdapter <Foo, Foo>(_fooInstance, Iterations);
 }
Ejemplo n.º 18
0
 public void SetupExpressMapper()
 {
     fooInstance = TestAdaptHelper.SetupFooInstance();
     TestAdaptHelper.ConfigureExpressMapper(fooInstance);
 }
Ejemplo n.º 19
0
 public void SetupCodegen()
 {
     fooInstance = TestAdaptHelper.SetupFooInstance();
     FooMapper.Map(fooInstance);
 }
Ejemplo n.º 20
0
 public void SetupFec()
 {
     fooInstance = TestAdaptHelper.SetupFooInstance();
     TestAdaptHelper.ConfigureMapster(fooInstance, MapsterCompilerType.FEC);
 }
Ejemplo n.º 21
0
 public void SetupAutoMapper()
 {
     _fooInstance = TestAdaptHelper.SetupFooInstance();
     TestAdaptHelper.ConfigureAutoMapper(_fooInstance);
 }
Ejemplo n.º 22
0
 public void RoslynTest()
 {
     TestAdaptHelper.TestMapsterAdapter <Foo, Foo>(fooInstance, Iterations);
 }