org.apache.maven.plugin.ear
Class AbstractEarTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugin.ear.AbstractEarTest
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- AbstractFileNameMappingTest, ArtifactRepositoryTest, EarMavenArchiverTest
public abstract class AbstractEarTest
- extends TestCase
- Author:
- Stephane Nicoll
Method Summary |
protected Artifact |
createArtifact(String artifactId,
String type)
|
protected Artifact |
createArtifact(String artifactId,
String type,
String groupId)
|
protected Artifact |
createArtifact(String artifactId,
String type,
String groupId,
String classifier)
|
protected Set<Artifact> |
createArtifacts(String[] artifactsId)
|
protected Set<Artifact> |
createArtifacts(String[] artifactsId,
String[] types)
|
protected Set<Artifact> |
createArtifacts(String[] artifactsId,
String[] types,
String[] groupsId)
|
protected Set<Artifact> |
createArtifacts(String[] artifactsId,
String[] types,
String[] groupsId,
String[] classifiers)
|
protected String |
getData(String[] data,
int i,
String defaultValue)
|
protected String |
getDefaultValue(String t,
String defaultValue)
|
protected void |
setUri(EarModule module,
String uri)
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame, format |
DEFAULT_GROUPID
public static final String DEFAULT_GROUPID
- See Also:
- Constant Field Values
DEFAULT_TYPE
public static final String DEFAULT_TYPE
- See Also:
- Constant Field Values
AbstractEarTest
public AbstractEarTest()
setUri
protected void setUri(EarModule module,
String uri)
createArtifacts
protected Set<Artifact> createArtifacts(String[] artifactsId)
createArtifacts
protected Set<Artifact> createArtifacts(String[] artifactsId,
String[] types)
createArtifacts
protected Set<Artifact> createArtifacts(String[] artifactsId,
String[] types,
String[] groupsId)
createArtifacts
protected Set<Artifact> createArtifacts(String[] artifactsId,
String[] types,
String[] groupsId,
String[] classifiers)
getData
protected String getData(String[] data,
int i,
String defaultValue)
getDefaultValue
protected String getDefaultValue(String t,
String defaultValue)
createArtifact
protected Artifact createArtifact(String artifactId,
String type,
String groupId,
String classifier)
createArtifact
protected Artifact createArtifact(String artifactId,
String type,
String groupId)
createArtifact
protected Artifact createArtifact(String artifactId,
String type)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.