-
- All Implemented Interfaces:
public class InputPreparation
-
-
Field Summary
Fields Modifier and Type Field Description public final static InputPreparationINSTANCE
-
Method Summary
Modifier and Type Method Description final List<File>preprocessPaths(List<File> reportFiles)Takes a list of paths which may be directories, .txt lists of paths, or JUnit XML reports, and replaces directories with TEST-*.xml's inside, and expands .txt lists of paths. final UnitdownloadAndUnzipUrls(List<String> paths)Handle URLs: If the path starts with http://, it downloads the file and unzips if it ends with .zip. -
-
Method Detail
-
preprocessPaths
final List<File> preprocessPaths(List<File> reportFiles)
Takes a list of paths which may be directories, .txt lists of paths, or JUnit XML reports, and replaces directories with TEST-*.xml's inside, and expands .txt lists of paths.
-
downloadAndUnzipUrls
final Unit downloadAndUnzipUrls(List<String> paths)
Handle URLs: If the path starts with http://, it downloads the file and unzips if it ends with .zip. Paths will be replaced in-place in the array.
-
-
-
-