Package org.elasticsearch.core
Class PathUtilsForTesting
java.lang.Object
org.elasticsearch.core.PathUtilsForTesting
Exposes some package private stuff in PathUtils for framework purposes only!
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
installMock
(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
-
Constructor Details
-
PathUtilsForTesting
public PathUtilsForTesting()
-
-
Method Details
-
setup
public static void setup()Sets a new default filesystem for testing -
installMock
Installs a mock filesystem for testing -
teardown
public static void teardown()Resets filesystem back to the real system default
-