protected void InitializeFixture()
 {
     AllFolders.ForEach(
         d => {
         if (!Directory.Exists(d))
         {
             _logger.Debug($"Creating folder '{d}'.");
             Directory.CreateDirectory(d);
         }
     });
     AllDependantOrchestrationTypes.ForEach(ot => { new Orchestration(ot).EnsureStarted(); });
 }
示例#2
0
 protected void BizTalkFactoryProcessFixtureTestFixtureSetUp()
 {
     AllFolders.Each(
         d => {
         if (!Directory.Exists(d))
         {
             _logger.FineFormat("Creating folder '{0}'.", d);
             Directory.CreateDirectory(d);
         }
     });
     AllDependantOrchestrationTypes.Each(ot => { new Orchestration(ot).EnsureStarted(); });
 }
 protected void TerminateFixture()
 {
     AllDependantOrchestrationTypes.Reverse().ForEach(ot => { new Orchestration(ot).EnsureUnenlisted(); });
 }
示例#4
0
 public void BizTalkFactoryOrchestrationFixtureOneTimeTearDown()
 {
     // reverse the list to stop the dependant orchestrations
     AllDependantOrchestrationTypes.Reverse().Each(ot => { new Orchestration(ot).EnsureUnenlisted(); });
 }