Package org.wildfly.plugin.tests
Class AbstractProvisionConfiguredMojoTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.codehaus.plexus.PlexusTestCase
-
- org.apache.maven.plugin.testing.AbstractMojoTestCase
-
- org.wildfly.plugin.tests.AbstractProvisionConfiguredMojoTestCase
-
- All Implemented Interfaces:
junit.framework.Test
public abstract class AbstractProvisionConfiguredMojoTestCase extends org.apache.maven.plugin.testing.AbstractMojoTestCaseA class to construct a properly configured MOJO.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProvisionConfiguredMojoTestCase(String artifactId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbefore()voidcheckDomainWildFlyHome(Path wildflyHome, int numDeployments, boolean stateRecorded, String... configTokens)voidcheckStandaloneWildFlyHome(Path wildflyHome, int numDeployments, String[] layers, String[] excludedLayers, boolean stateRecorded, String... configTokens)protected org.apache.maven.plugin.MojolookupConfiguredMojo(File pom, String goal)protected org.apache.maven.execution.MavenSessionnewMavenSession()protected org.apache.maven.execution.MavenSessionnewMavenSession(org.apache.maven.project.MavenProject project)-
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObject
-
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
AbstractProvisionConfiguredMojoTestCase
protected AbstractProvisionConfiguredMojoTestCase(String artifactId)
-
-
Method Detail
-
newMavenSession
protected org.apache.maven.execution.MavenSession newMavenSession()
-
newMavenSession
protected org.apache.maven.execution.MavenSession newMavenSession(org.apache.maven.project.MavenProject project)
- Overrides:
newMavenSessionin classorg.apache.maven.plugin.testing.AbstractMojoTestCase
-
lookupConfiguredMojo
protected org.apache.maven.plugin.Mojo lookupConfiguredMojo(File pom, String goal) throws Exception
- Throws:
Exception
-
checkStandaloneWildFlyHome
public void checkStandaloneWildFlyHome(Path wildflyHome, int numDeployments, String[] layers, String[] excludedLayers, boolean stateRecorded, String... configTokens) throws Exception
- Throws:
Exception
-
-