Package ghidra.framework
Class TestApplicationUtils
- java.lang.Object
-
- ghidra.framework.TestApplicationUtils
-
public class TestApplicationUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TestApplicationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.File
getCurrentRepoDirectory()
static java.io.File
getRepoContainerDirectory()
Returns a directory that contains all repos for a given git clone.static java.io.File
getTestApplicationRootDirectory()
static java.io.File
getUniqueTempFolder()
Creates a folder that is unique for the current repo.
-
-
-
Method Detail
-
getTestApplicationRootDirectory
public static java.io.File getTestApplicationRootDirectory()
-
getCurrentRepoDirectory
public static java.io.File getCurrentRepoDirectory()
-
getRepoContainerDirectory
public static java.io.File getRepoContainerDirectory()
Returns a directory that contains all repos for a given git clone. This directory name is unique to the active clone collection, which makes it useful for creating unique temporary directories to allow multiple simultaneous test runs.- Returns:
- the parent dir of the current repo
-
getUniqueTempFolder
public static java.io.File getUniqueTempFolder()
Creates a folder that is unique for the current repo. This allows clients to have multiple clones on their machine, running tests from each repo simultaneously.- Returns:
- a folder that is unique for the current repo.
-
-