public void SetUpTest()
 {
     _stepUnderTest = new ChangeDispatchingStep<LocalTestResource>();
     _testActionResult = new SynchronizationResult(true);
     _testAction = new SynchronizationAction<LocalTestResource, string>("bogus",
         (resource, s) => _testActionResult, new LocalTestResource(1));
 }
 public void SetUpTest()
 {
     _stepUnderTest    = new ChangeDispatchingStep <LocalTestResource>();
     _testActionResult = new SynchronizationResult(true);
     _testAction       = new SynchronizationAction <LocalTestResource, string>("bogus",
                                                                               (resource, s) => _testActionResult, new LocalTestResource(1));
 }
Ejemplo n.º 3
0
 public ItemMatchPipelinePlumber(
     ISynchSourcesConfig <T1, T2, TId> sourceConfig,
     IList <ISynchronizationResolver <ItemMatch <T1, T2> > > synchronizationResolvers,
     Func <IEnumerable <T1>, IEnumerable <T2>, IEnumerable <ItemMatch <T1, T2> > > preprocessor)
 {
     _preprocessor   = preprocessor;
     _resolutionStep = new ChangeResolutionStep <ItemMatch <T1, T2>, ISynchSourcesConfig <T1, T2, TId> >(synchronizationResolvers, sourceConfig);
     _dispatchStep   = new ChangeDispatchingStep <ItemMatch <T1, T2> >();
 }