> +         dockerFile.deleteOnExit();
> +         api.close();
> +         server.shutdown();
> +      }
> +   }
> +
> +   private File createDockerFile(String content) {
> +      File newTempDir = Files.createTempDir();
> +      File dockerFile = new File(newTempDir + "/dockerFile");
> +      try {
> +         Files.write(content, dockerFile, Charsets.UTF_8);
> +      } catch(IOException e) {
> +         Assert.fail();
> +      }
> +      return dockerFile;
> +   }

Add the missing tests for the methods:

* commit
* inspectImage
* listImages
* removeContainer with options
* deleteImage with options
* startContainer with options

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/57/files#r12938064

Reply via email to