public void Test_docker()
 {
     try
     {
         Boot2Docker docker = new Boot2Docker();
         docker.Init();
         docker.RefreshInfo();
         docker.RefreshStatus();
         docker.Stop();
         docker.Start();
         docker.Restart();
         docker.DisplayInfo();
         Assert.IsTrue(true);
     }
     catch (System.Exception exp)
     {
         Assert.Fail(exp.Message);
     }
 }
Example #2
0
 private void LaunchStop()
 {
     _docker.Stop();
 }