|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.plugin.PluginHelper
org.nuiton.plugin.TestHelper
public abstract class TestHelper
| Nested Class Summary | |
|---|---|
static class |
TestHelper.DelegateMojoTestCase
|
| Field Summary | |
|---|---|
protected static File |
basedir
|
protected static TestHelper.DelegateMojoTestCase |
delegateMojoTest
|
protected static boolean |
verbose
|
| Fields inherited from class org.nuiton.plugin.PluginHelper |
|---|
memoryFactors, memoryUnites, SNAPSHOT_SUFFIX, timeFactors, timeUnites |
| Constructor Summary | |
|---|---|
TestHelper()
|
|
| Method Summary | |
|---|---|
static File |
getBasedir()
|
static TestHelper.DelegateMojoTestCase |
getDelegateMojoTest()
|
static File |
getTestDir(Class<?> type,
String prefix)
|
static boolean |
isVerbose()
|
static org.apache.maven.plugin.Mojo |
lookupMojo(String goalName,
File pomFile)
|
static void |
setBasedir(File basedir)
|
static void |
setDelegateMojoTest(TestHelper.DelegateMojoTestCase delegateMojoTest)
|
static void |
setVerbose(boolean verbose)
|
| Methods inherited from class org.nuiton.plugin.PluginHelper |
|---|
addResourceDir, addResourceDir, addTestResourceDir, checkEncoding, convert, convertMemory, convertTime, convertTime, copy, copyFiles, copyFiles, createDirectoryIfNecessary, createNewFile, deleteFile, expandFile, expandFiles, getEmptyKeys, getFile, getIncludedFiles, getLines, getLinesAsFiles, getLinesAsURL, getRelativePath, getUrl, prefixLines, readAsString, readAsString, removeSnapshotSuffix, renameFile, setLastModified, splitAndTrim, toGenericList, writeString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean verbose
protected static File basedir
protected static TestHelper.DelegateMojoTestCase delegateMojoTest
| Constructor Detail |
|---|
public TestHelper()
| Method Detail |
|---|
public static File getBasedir()
PlexusTestCase.getBasedir()public static void setBasedir(File basedir)
public static boolean isVerbose()
public static void setVerbose(boolean verbose)
public static File getTestDir(Class<?> type,
String prefix)
public static org.apache.maven.plugin.Mojo lookupMojo(String goalName,
File pomFile)
throws Exception
Exception
public static TestHelper.DelegateMojoTestCase getDelegateMojoTest()
throws Exception
Exceptionpublic static void setDelegateMojoTest(TestHelper.DelegateMojoTestCase delegateMojoTest)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||