|
||||||||||
| 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 java.io.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 java.io.File |
getBasedir()
|
static TestHelper.DelegateMojoTestCase |
getDelegateMojoTest()
|
static java.io.File |
getTestDir(java.lang.Class<?> type,
java.lang.String prefix)
|
static boolean |
isVerbose()
|
static org.apache.maven.plugin.Mojo |
lookupMojo(java.lang.String goalName,
java.io.File pomFile)
|
static void |
setBasedir(java.io.File basedir)
|
static void |
setDelegateMojoTest(TestHelper.DelegateMojoTestCase delegateMojoTest)
|
static void |
setVerbose(boolean verbose)
|
| Methods inherited from class org.nuiton.plugin.PluginHelper |
|---|
addResourceDir, addResourceDir, addTestResourceDir, convert, convertMemory, convertTime, convertTime, copy, copyFiles, copyFiles, expandFile, expandFiles, getEmptyKeys, getFile, getIncludedFiles, getRelativePath, prefixLines, readAsString, readAsString, removeSnapshotSuffix, 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 java.io.File basedir
protected static TestHelper.DelegateMojoTestCase delegateMojoTest
| Constructor Detail |
|---|
public TestHelper()
| Method Detail |
|---|
public static java.io.File getBasedir()
PlexusTestCase.getBasedir()public static void setBasedir(java.io.File basedir)
public static boolean isVerbose()
public static void setVerbose(boolean verbose)
public static java.io.File getTestDir(java.lang.Class<?> type,
java.lang.String prefix)
public static org.apache.maven.plugin.Mojo lookupMojo(java.lang.String goalName,
java.io.File pomFile)
throws java.lang.Exception
java.lang.Exception
public static TestHelper.DelegateMojoTestCase getDelegateMojoTest()
throws java.lang.Exception
java.lang.Exceptionpublic static void setDelegateMojoTest(TestHelper.DelegateMojoTestCase delegateMojoTest)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||