Beispiel #1
0
 public void StopAzureAfterAllTestsIfWasDown()
 {
     if (!_wasUp)
     {
         AzureStorageEmulatorManager.StopStorageEmulator();
     }
     else
     {
         // Leave as it was before testing...
     }
 }
Beispiel #2
0
 public void StartAzureBeforeAllTestsIfNotUp()
 {
     if (!AzureStorageEmulatorManager.IsProcessStarted())
     {
         AzureStorageEmulatorManager.StartStorageEmulator();
         _wasUp = false;
     }
     else
     {
         _wasUp = true;
     }
 }