Use junit to provide a temporary directory for testing

So far the java.nio.Files was used to create a cache directory during
tests. Junit also provides a functionality to create temporary
directories for tests.

This change implements the usage of a junit rule to create a temporary
directory. This also increases the similarity to the HA-plugin.

Change-Id: Id184b12ab1abf6d0ca355c41f3313ff583c916a3
1 file changed
tree: 5b76e7ad1bb5799a639a3b915d2f093af90f0678
  1. .buckconfig
  2. .gitignore
  3. .settings/
  4. BUCK
  5. BUILD
  7. lib/
  8. src/