| java.lang.Object org.netbeans.modules.junit.plugin.JUnitPlugin org.netbeans.modules.junit.DefaultPlugin
DefaultPlugin | final public class DefaultPlugin extends JUnitPlugin (Code) | | Default JUnit plugin.
author: Marian Petras |
Inner Class :final static class CreationResults | |
Method Summary | |
protected boolean | canCreateTests(FileObject... fileObjects) | public DataObject | createSuiteTest(FileObject targetRootFolder, FileObject targetFolder, String suiteName, Map<CreateTestParam, Object> params) | public DataObject | createSuiteTest(FileObject targetRootFolder, FileObject targetFolder, String suiteName, Map<CreateTestParam, Object> params, Map<String, ? extends Object> templateParams) | final public static Map<String, Boolean> | createTemplateParams(Map<CreateTestParam, Object> params) Create a map of FreeMaker template parameters from a map
of
CreateTestParam s. | protected boolean | createTestActionCalled(FileObject[] selectedFiles) | protected FileObject[] | createTests(FileObject[] filesToTest, FileObject targetRoot, Map<CreateTestParam, Object> params) Creates test classes for given source classes. | protected Location | getTestLocation(Location sourceLocation) | protected Location | getTestedLocation(Location testLocation) | public boolean | setupJUnitVersionByProject(FileObject targetFolder) |
canCreateTests | protected boolean canCreateTests(FileObject... fileObjects)(Code) | | |
createSuiteTest | public DataObject createSuiteTest(FileObject targetRootFolder, FileObject targetFolder, String suiteName, Map<CreateTestParam, Object> params)(Code) | | |
createSuiteTest | public DataObject createSuiteTest(FileObject targetRootFolder, FileObject targetFolder, String suiteName, Map<CreateTestParam, Object> params, Map<String, ? extends Object> templateParams)(Code) | | |
createTemplateParams | final public static Map<String, Boolean> createTemplateParams(Map<CreateTestParam, Object> params)(Code) | | Create a map of FreeMaker template parameters from a map
of
CreateTestParam s.
|
createTestActionCalled | protected boolean createTestActionCalled(FileObject[] selectedFiles)(Code) | | |
createTests | protected FileObject[] createTests(FileObject[] filesToTest, FileObject targetRoot, Map<CreateTestParam, Object> params)(Code) | | Creates test classes for given source classes.
Parameters: filesToTest - source files for which test classes should becreated Parameters: targetRoot - root folder of the target source root Parameters: params - parameters of creating test class created test files |
getTestLocation | protected Location getTestLocation(Location sourceLocation)(Code) | | |
getTestedLocation | protected Location getTestedLocation(Location testLocation)(Code) | | |
setupJUnitVersionByProject | public boolean setupJUnitVersionByProject(FileObject targetFolder)(Code) | | |
Methods inherited from org.netbeans.modules.junit.plugin.JUnitPlugin | protected boolean canCreateTests(FileObject... fileObjects)(Code)(Java Doc) protected boolean createTestActionCalled(FileObject[] selectedFiles)(Code)(Java Doc) abstract protected FileObject[] createTests(FileObject[] filesToTest, FileObject targetRoot, Map<CreateTestParam, Object> params)(Code)(Java Doc) abstract protected Location getTestLocation(Location sourceLocation)(Code)(Java Doc) abstract protected Location getTestedLocation(Location testLocation)(Code)(Java Doc)
|
|
|