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. .settings/
  2. lib/
  3. src/
  4. .buckconfig
  5. .gitignore
  6. BUCK
  7. BUILD
  8. LICENSE