public abstract class TestHelper
extends org.nuiton.plugin.PluginHelper
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHelper.DelegateMojoTestCase |
| Modifier and Type | Field and Description |
|---|---|
protected static File |
basedir |
protected static TestHelper.DelegateMojoTestCase |
delegateMojoTest |
protected static boolean |
verbose |
| Constructor and Description |
|---|
TestHelper() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, writeStringprotected static boolean verbose
protected static File basedir
protected static TestHelper.DelegateMojoTestCase delegateMojoTest
public static File getBasedir()
PlexusTestCase.getBasedir()public static void setBasedir(File basedir)
public static boolean isVerbose()
public static void setVerbose(boolean verbose)
public static org.apache.maven.plugin.Mojo lookupMojo(String goalName, File pomFile) throws Exception
Exceptionpublic static TestHelper.DelegateMojoTestCase getDelegateMojoTest() throws Exception
Exceptionpublic static void setDelegateMojoTest(TestHelper.DelegateMojoTestCase delegateMojoTest)
Copyright © 2009–2013 CodeLutin. All rights reserved.