Exemplo n.º 1
0
        public void TestRetryExceptionHandlerRetiesTheMethod()
        {
            IDomainFactory factory = DomainFactoryProvider.GetDomainFactoryInstance(Version, "FooBar", new ExampleDomainConnector(), new RetryDefaultExceptionHandler());

            // Visual Studio unit tests does not work, when a threads are used.
            factory.StopAllConnections();
            factory.CreateDomainService(DomainName);
        }
Exemplo n.º 2
0
 public override void CleanUp()
 {
     exceptionHandler.Stop = true;
     factory.StopAllConnections();
 }
 public override void CleanUp()
 {
     factory.StopAllConnections();
 }