Class CommonsTestingUtil


  • public class CommonsTestingUtil
    extends Object
    Since:
    11.0
    Author:
    Tristan Tarrant <tristan@infinispan.org>
    • Constructor Detail

      • CommonsTestingUtil

        public CommonsTestingUtil()
    • Method Detail

      • tmpDirectory

        public static String tmpDirectory​(Class<?> test)
        Creates a path to a unique (per test) temporary directory. By default, the directory is created in the platform's temp directory, but the location can be overridden with the infinispan.test.tmpdir system property.
        Parameters:
        test - test that requires this directory.
        Returns:
        an absolute path
      • tmpDirectory

        public static String tmpDirectory()