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