当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Manager (NB JUnit) - NetBeans API Javadoc (Current Development Version)
org.netbeans.junit
Class Manager
java.lang.Object
org.netbeans.junit.Manager
public class Manager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUNIT_PROPERTIES_FILENAME
public static final String JUNIT_PROPERTIES_FILENAME
- See Also:
- Constant Field Values
JUNIT_PROPERTIES_LOCATION_PROPERTY
public static final String JUNIT_PROPERTIES_LOCATION_PROPERTY
- See Also:
- Constant Field Values
PROP_DIFF_IMPL
protected static final String PROP_DIFF_IMPL
- See Also:
- Constant Field Values
DEFAULT_DIFF_IMPL
protected static final String DEFAULT_DIFF_IMPL
- See Also:
- Constant Field Values
systemDiff
protected static Diff systemDiff
fPreferences
protected static Properties fPreferences
NBJUNIT_WORKDIR
public static final 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
- See Also:
- Constant Field Values
NBJUNIT_HOME
public static final String NBJUNIT_HOME
- See Also:
- Constant Field Values
getSystemDiff
public static Diff getSystemDiff()
getWorkDirPath
public static String getWorkDirPath()
getNbJUnitHomePath
public static String getNbJUnitHomePath()
throws IOException
- Throws:
IOException
getNbJUnitHome
public static File getNbJUnitHome()
throws IOException
- Throws:
IOException
instantiateDiffImpl
protected static Diff instantiateDiffImpl(String diffImplName)
readProperties
protected static void readProperties()
normalizeFile
public 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.
- Parameters:
file
- file to normalize
- Returns:
- normalized file