org.apache.maven.plugin.resources.remote
Class RemoteResourcesMojoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.testing.AbstractMojoTestCase
org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest
- All Implemented Interfaces:
- junit.framework.Test
public class RemoteResourcesMojoTest
- extends AbstractMojoTestCase
RemoteResources plugin Test Case
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
RemoteResourcesMojoTest
public RemoteResourcesMojoTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class AbstractMojoTestCase
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown
in class org.codehaus.plexus.PlexusTestCase
- Throws:
Exception
testTestEnvironment
public void testTestEnvironment()
throws Exception
- check test environment
- Throws:
Exception
- if any exception occurs
testNoBundles
public void testNoBundles()
throws Exception
- Throws:
Exception
testCreateBundle
public void testCreateBundle()
throws Exception
- Throws:
Exception
testSimpleBundles
public void testSimpleBundles()
throws Exception
- Throws:
Exception
testSimpleBundlesWithType
public void testSimpleBundlesWithType()
throws Exception
- Throws:
Exception
testSimpleBundlesWithClassifier
public void testSimpleBundlesWithClassifier()
throws Exception
- Throws:
Exception
testVelocityUTF8
public void testVelocityUTF8()
throws Exception
- Throws:
Exception
testVelocityISO88591
public void testVelocityISO88591()
throws Exception
- Throws:
Exception
testFilteredBundles
public void testFilteredBundles()
throws Exception
- Throws:
Exception
testFilteredBundlesWithProjectProperties
public void testFilteredBundlesWithProjectProperties()
throws Exception
- Throws:
Exception
buildResourceBundle
protected void buildResourceBundle(String id,
String sourceEncoding,
String[] resourceNames,
File jarName)
throws Exception
- Throws:
Exception
createTestProject
protected MavenProjectResourcesStub createTestProject(String testName)
throws Exception
- Throws:
Exception
setupDefaultProject
protected void setupDefaultProject(MavenProjectResourcesStub project)
throws Exception
- Throws:
Exception
lookupBundleMojo
protected BundleRemoteResourcesMojo lookupBundleMojo()
throws Exception
- Throws:
Exception
lookupBundleMojoWithDefaultSettings
protected BundleRemoteResourcesMojo lookupBundleMojoWithDefaultSettings(MavenProject project)
throws Exception
- Throws:
Exception
lookupBundleMojoWithSettings
protected BundleRemoteResourcesMojo lookupBundleMojoWithSettings(MavenProject project,
File resourceDir,
String sourceEncoding)
throws Exception
- Throws:
Exception
lookupProcessMojo
protected ProcessRemoteResourcesMojo lookupProcessMojo()
throws Exception
- Throws:
Exception
lookupProcessMojoWithSettings
protected ProcessRemoteResourcesMojo lookupProcessMojoWithSettings(MavenProject project,
String[] bundles)
throws Exception
- Throws:
Exception
lookupProcessMojoWithSettings
protected ProcessRemoteResourcesMojo lookupProcessMojoWithSettings(MavenProject project,
ArrayList<String> bundles)
throws Exception
- Throws:
Exception
lookupProcessMojoWithDefaultSettings
protected ProcessRemoteResourcesMojo lookupProcessMojoWithDefaultSettings(MavenProject project)
throws Exception
- Throws:
Exception
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.