Пример #1
0
 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);
     }
 }
Пример #2
0
 public Interface_docker()
 {
     _docker = new Boot2Docker();
 }