Package org.elasticsearch.common.io
Class PathUtilsForTesting
- java.lang.Object
-
- org.elasticsearch.common.io.PathUtilsForTesting
-
public class PathUtilsForTesting extends java.lang.Object
Exposes some package private stuff in PathUtils for framework purposes only!
-
-
Constructor Summary
Constructors Constructor Description PathUtilsForTesting()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
installMock(java.nio.file.FileSystem mock)
Installs a mock filesystem for testingstatic void
setup()
Sets a new default filesystem for testingstatic void
teardown()
Resets filesystem back to the real system default
-