站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Manager (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit
Class Manager

java.lang.Object
  extended by org.netbeans.junit.Manager

public class Manager
extends Object


Field Summary
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
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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

org.netbeans.modules.nbjunit/1 1.41

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.