Package com.vaadin.flow.testutil
Class FileTestUtil
- java.lang.Object
-
- com.vaadin.flow.testutil.FileTestUtil
-
public class FileTestUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FileTestUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertDirectory(File file, String errorMessage)Asserts the given file is a directory.static voidassertSymlink(File file, String errorMessage)Asserts the given file is a symlink.static voidwaitForFile(File file)Waits for the given file to be present for up to 5 minutes.
-
-
-
Method Detail
-
waitForFile
public static void waitForFile(File file)
Waits for the given file to be present for up to 5 minutes.- Parameters:
file- the file to wait for
-
assertDirectory
public static void assertDirectory(File file, String errorMessage)
Asserts the given file is a directory.- Parameters:
file- the file to checkerrorMessage- the error message to fail with if the file is not a directory
-
-