public class Manager extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_DIFF_IMPL |
protected static Properties |
fPreferences |
static String |
JUNIT_PROPERTIES_FILENAME |
static String |
JUNIT_PROPERTIES_LOCATION_PROPERTY |
static String |
NBJUNIT_HOME |
static String |
NBJUNIT_WORKDIR
name of the system property defining root workdir direcory
- it must be set before running tests using workdir
- in the case of running tests from XTest framework, this
property is set by the framework itself
- otherwise the default is ${java.io.tmpdir}/tests
|
protected static String |
PROP_DIFF_IMPL |
protected static Diff |
systemDiff |
Modifier and Type | Method and Description |
---|---|
static File |
getNbJUnitHome() |
static String |
getNbJUnitHomePath() |
static Diff |
getSystemDiff() |
static String |
getWorkDirPath() |
protected static Diff |
instantiateDiffImpl(String diffImplName) |
static File |
normalizeFile(File file)
Normalize java.io.File, that is make sure that returned File has
normalized case on Windows; that old Windows 8.3 filename is normalized;
that Unix symlinks are not followed; that relative path is changed to
absolute; etc.
|
protected static void |
readProperties() |
public static final String JUNIT_PROPERTIES_FILENAME
public static final String JUNIT_PROPERTIES_LOCATION_PROPERTY
protected static final String PROP_DIFF_IMPL
protected static final String DEFAULT_DIFF_IMPL
protected static Diff systemDiff
protected static Properties fPreferences
public static final String NBJUNIT_WORKDIR
public static final String NBJUNIT_HOME
public static Diff getSystemDiff()
public static String getWorkDirPath()
public static String getNbJUnitHomePath() throws IOException
IOException
public static File getNbJUnitHome() throws IOException
IOException
protected static void readProperties()
public static File normalizeFile(File file)
file
- file to normalize