org.apache.maven.plugin.eclipse
Class InstallPluginsMojoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugin.eclipse.InstallPluginsMojoTest
- All Implemented Interfaces:
- junit.framework.Test
public class InstallPluginsMojoTest
- extends junit.framework.TestCase
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InstallPluginsMojoTest
public InstallPluginsMojoTest()
testJira_MECLIPSE_418_correct_bundle_headers
public void testJira_MECLIPSE_418_correct_bundle_headers()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Has both Bundle-Name and Bundle-SymbolicName and should be installed.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testJira_MECLIPSE_418_no_bundle_name
public void testJira_MECLIPSE_418_no_bundle_name()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Has Bundle-SymbolicName but no Bundle-Name and should be installed.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testJira_MECLIPSE_418_no_bundle_symbolicname
public void testJira_MECLIPSE_418_no_bundle_symbolicname()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Has Bundle-Name but no Bundle-SymbolicName and should be installed.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testJira_MECLIPSE_418_no_manifest_headers
public void testJira_MECLIPSE_418_no_manifest_headers()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Has neither Bundle-Name or Bundle-SymbolicName and should NOT be installed.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testJira_MECLIPSE_488
public void testJira_MECLIPSE_488()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- if a jar has no manifest, do not install plugin.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldInstallAsJarWhenPropertyNotSpecified
public void testShouldInstallAsJarWhenPropertyNotSpecified()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldInstallAsJarWhenPropertyIsTrue
public void testShouldInstallAsJarWhenPropertyIsTrue()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldInstallAsDirWhenPropertyIsFalse
public void testShouldInstallAsDirWhenPropertyIsFalse()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldInstallWhenTypeContainedInPluginTypesListWithMultipleValues
public void testShouldInstallWhenTypeContainedInPluginTypesListWithMultipleValues()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldNotInstallWhenTypeNotContainedInPluginTypesList
public void testShouldNotInstallWhenTypeNotContainedInPluginTypesList()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldRemoveOldDirectoryBeforeInstallingNewJarWhenOverwriteIsFalse
public void testShouldRemoveOldDirectoryBeforeInstallingNewJarWhenOverwriteIsFalse()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
testShouldRemoveOldDirectoryBeforeInstallingNewJarWhenOverwriteIsTrue
public void testShouldRemoveOldDirectoryBeforeInstallingNewJarWhenOverwriteIsTrue()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
setUp
public void setUp()
- Overrides:
setUp
in class junit.framework.TestCase
tearDown
public void tearDown()
throws java.io.IOException
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.io.IOException
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.