public class WarMojoTest extends AbstractWarMojoTest
MANIFEST_PATH, OVERLAYS_ROOT_DIR, OVERLAYS_TEMP_DIR| Constructor and Description |
|---|
WarMojoTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,JarEntry> |
assertJarContent(File expectedJarFile,
String[] files,
String[] filesContent) |
protected Map<String,JarEntry> |
assertJarContent(File expectedJarFile,
String[] files,
String[] filesContent,
String[] mustNotBeInJar) |
protected File |
getTestDirectory() |
void |
setUp() |
void |
testAttachClasses() |
void |
testAttachClassesWithCustomClassifier() |
void |
testClassifier() |
void |
testEnvironment() |
void |
testFailOnMissingWebXmlFalse() |
void |
testFailOnMissingWebXmlTrue() |
void |
testMetaInfContent() |
void |
testMetaInfContentWithContainerConfig() |
void |
testNotPrimaryArtifact() |
void |
testPrimaryArtifact() |
void |
testSimpleWar() |
void |
testSimpleWarPackagingExcludeWithIncludesRegEx() |
buildWarOverlayStub, configureMojo, createArchive, createClassesDir, createDir, createFile, createFile, createWebAppSource, createWebAppSource, createXMLConfigDir, generateFullOverlayWar, getOverlayFile, getWebAppSourceconfigureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObjectcreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDownassertEquals, 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, toStringprotected File getTestDirectory()
getTestDirectory in class AbstractWarMojoTestpublic void setUp()
throws Exception
setUp in class AbstractMojoTestCaseExceptionpublic void testSimpleWarPackagingExcludeWithIncludesRegEx()
throws Exception
Exceptionpublic void testMetaInfContentWithContainerConfig()
throws Exception
Exceptionpublic void testFailOnMissingWebXmlFalse()
throws Exception
Exceptionpublic void testFailOnMissingWebXmlTrue()
throws Exception
Exceptionpublic void testAttachClassesWithCustomClassifier()
throws Exception
Exceptionprotected Map<String,JarEntry> assertJarContent(File expectedJarFile, String[] files, String[] filesContent) throws IOException
IOExceptionprotected Map<String,JarEntry> assertJarContent(File expectedJarFile, String[] files, String[] filesContent, String[] mustNotBeInJar) throws IOException
IOExceptionCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.