org.apache.maven.plugin.eclipse.it
Class EclipsePluginIT

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT
                      extended by org.apache.maven.plugin.eclipse.it.EclipsePluginIT
All Implemented Interfaces:
junit.framework.Test

public class EclipsePluginIT
extends AbstractEclipsePluginIT

Version:
$Id: EclipsePluginIT.java 779829 2009-05-29 03:41:15Z baerrach $
Author:
Trygve Laugstøl, Fabrizio Giustina

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT
ARTIFACT_ID, GROUP_ID, localRepositoryDirectory, PomFile, VERSION
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
EclipsePluginIT()
           
 
Method Summary
protected  void setUp()
           
 void testDynamicWorkspaceLookup()
          Assumes that unit tests (ReadWorkspaceLocationsTest) have been run so that .location files have been created correctly.
 void testJeeSimple()
           
 void testMECLIPSE_56_encoding()
          MECLIPSE-56 : problem with encoding of non-ascii characters in pom.xml
 void testProject01()
           
 void testProject02()
           
 void testProject03()
           
 void testProject04()
           
 void testProject05()
           
 void testProject06()
           
 void testProject07()
           
 void testProject08()
           
 void testProject09()
          Tests with outputDirectory and outputDir
 void testProject10()
           
 void testProject11()
           
 void testProject12()
          Ear packaging
 void testProject13()
          Dependency range - MECLIPSE-96
 void testProject14()
          Additional natures and builders - MECLIPSE-64
 void testProject15()
          outputDirectory parameter - MECLIPSE-11
 void testProject16()
          UTF8 encoding - MECLIPSE-56
 void testProject17()
          ISO-8859-15 encoding - MECLIPSE-56
 void testProject18()
          relative location of system dependencies - MECLIPSE-89
 void testProject19()
          Resource targetPath is relative to the project's output directory - MECLIPSE-77
 void testProject20()
          WTP 1.5 changes in wtpmodules.
 void testProject21()
          PDE support.
 void testProject22()
          PDE support using eclipse-plugin packaging.
 void testProject23()
          Additional config files using "additionalConfig" property.
 void testProject24()
          Test rewriting of OSGI manifest files.
 void testProject25()
          Test source exclude/include.
 void testProject26()
          Test different compiler settings for test sources.
 void testProject27()
          Test additional project facets specified.
 void testProject28()
          MECLIPSE-241 : Compiler settings from parent project aren't used in wtp facet.
 void testProject29()
          MECLIPSE-198 : EJB version is not resloved
 void testProject30()
          MECLIPSE-108 : .wtpmodules with version 2.4 for javax.servlet:servlet-api:2.3
 void testProject31()
          MECLIPSE-185 : plugin doesn't fail when dependencies are missing
 void testProject32()
          MECLIPSE-109 : .component wb-resource source path incorrect for ear packaging
 void testProject33()
          MECLIPSE-287 : dependencies with and without classifiers.
 void testProject34()
           
 void testProject35()
           
 void testProject36()
           
 void testProject37()
           
 void testProject38()
           
 void testProject39()
           
 void testProject40()
           
 void testProject41()
           
 void testProject42()
           
 void testProject43()
          [MECLIPSE-79]
 void testProject44()
          [MECLIPSE-219]
 void testProject45()
          [MECLIPSE-379] When downloading sources and javadocs dependency classifier is not respected.
 void testProject46()
          Test not available marker file is created for sources/javadocs.
 void testProject47()
          Test not available marker file is created for sources/javadocs.
 void testProject48()
          Test not available marker file is created for sources/javadocs.
 void testProject49()
          Test forceRecheck
 void testProject50MECLIPSE415()
          [MECLIPSE-415] settings are stored in wrong directory if project is not in the workspace.
 void testProject51MECLIPSE415()
          [MECLIPSE-415] settings are stored in wrong directory if project is not in the workspace.
 void testProject52MECLIPSE104()
          [MECLIPSE-104] Add the ability to specify source exclusions
 void testProject53MECLIPS551()
          [MECLIPSE-551] Source directory and resource directory are the same
 
Methods inherited from class org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT
assertContains, assertDoesNotContain, assertFileEquals, assertNotAvailableMarkerFileDoesNotExist, assertNotAvailableMarkerFileExists, compareDirectoryContent, executeMaven, executeMaven, getNotAvailableMarkerFile, getOutputDirectory, getPluginCLISpecification, getTestWorkspaceWorkDirectory, readProject, tearDown, testProject, testProject, testProject, testProject, testWorkspace, testWorkspace, testWorkspace
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EclipsePluginIT

public EclipsePluginIT()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractEclipsePluginIT
Throws:
java.lang.Exception
See Also:
PlexusTestCase.setUp()

testDynamicWorkspaceLookup

public void testDynamicWorkspaceLookup()
                                throws java.lang.Exception
Assumes that unit tests (ReadWorkspaceLocationsTest) have been run so that .location files have been created correctly.

Throws:
java.lang.Exception

testProject01

public void testProject01()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject02

public void testProject02()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject03

public void testProject03()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject04

public void testProject04()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject05

public void testProject05()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject06

public void testProject06()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject07

public void testProject07()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject08

public void testProject08()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject09

public void testProject09()
                   throws java.lang.Exception
Tests with outputDirectory and outputDir

Throws:
java.lang.Exception

testProject10

public void testProject10()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject11

public void testProject11()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject12

public void testProject12()
                   throws java.lang.Exception
Ear packaging

Throws:
java.lang.Exception - any exception thrown during test

testProject13

public void testProject13()
                   throws java.lang.Exception
Dependency range - MECLIPSE-96

Throws:
java.lang.Exception - any exception thrown during test

testProject14

public void testProject14()
                   throws java.lang.Exception
Additional natures and builders - MECLIPSE-64

Throws:
java.lang.Exception - any exception thrown during test

testProject15

public void testProject15()
                   throws java.lang.Exception
outputDirectory parameter - MECLIPSE-11

Throws:
java.lang.Exception - any exception thrown during test

testProject16

public void testProject16()
                   throws java.lang.Exception
UTF8 encoding - MECLIPSE-56

Throws:
java.lang.Exception - any exception thrown during test

testProject17

public void testProject17()
                   throws java.lang.Exception
ISO-8859-15 encoding - MECLIPSE-56

Throws:
java.lang.Exception - any exception thrown during test

testProject18

public void testProject18()
                   throws java.lang.Exception
relative location of system dependencies - MECLIPSE-89

Throws:
java.lang.Exception - any exception thrown during test

testProject19

public void testProject19()
                   throws java.lang.Exception
Resource targetPath is relative to the project's output directory - MECLIPSE-77

Throws:
java.lang.Exception - any exception thrown during test

testProject20

public void testProject20()
                   throws java.lang.Exception
WTP 1.5 changes in wtpmodules.

Throws:
java.lang.Exception - any exception thrown during test

testProject21

public void testProject21()
                   throws java.lang.Exception
PDE support.

Throws:
java.lang.Exception - any exception thrown during test

testProject22

public void testProject22()
                   throws java.lang.Exception
PDE support using eclipse-plugin packaging.

Throws:
java.lang.Exception - any exception thrown during test

testProject23

public void testProject23()
                   throws java.lang.Exception
Additional config files using "additionalConfig" property.

Throws:
java.lang.Exception - any exception thrown during test

testProject24

public void testProject24()
                   throws java.lang.Exception
Test rewriting of OSGI manifest files.

Throws:
java.lang.Exception - any exception thrown during test

testProject25

public void testProject25()
                   throws java.lang.Exception
Test source exclude/include.

Throws:
java.lang.Exception - any exception thrown during test

testProject26

public void testProject26()
                   throws java.lang.Exception
Test different compiler settings for test sources.

Throws:
java.lang.Exception - any exception thrown during test

testProject27

public void testProject27()
                   throws java.lang.Exception
Test additional project facets specified.

Throws:
java.lang.Exception - any exception thrown during test

testProject28

public void testProject28()
                   throws java.lang.Exception
MECLIPSE-241 : Compiler settings from parent project aren't used in wtp facet.

Throws:
java.lang.Exception - any exception thrown during test

testProject29

public void testProject29()
                   throws java.lang.Exception
MECLIPSE-198 : EJB version is not resloved

Throws:
java.lang.Exception - any exception thrown during test

testProject30

public void testProject30()
                   throws java.lang.Exception
MECLIPSE-108 : .wtpmodules with version 2.4 for javax.servlet:servlet-api:2.3

Throws:
java.lang.Exception - any exception thrown during test

testProject31

public void testProject31()
                   throws java.lang.Exception
MECLIPSE-185 : plugin doesn't fail when dependencies are missing

Throws:
java.lang.Exception - any exception thrown during test

testProject32

public void testProject32()
                   throws java.lang.Exception
MECLIPSE-109 : .component wb-resource source path incorrect for ear packaging

Throws:
java.lang.Exception - any exception thrown during test

testProject33

public void testProject33()
                   throws java.lang.Exception
MECLIPSE-287 : dependencies with and without classifiers. MECLIPSE-151 : test jar source attachments. MECLIPSE-367 : Dependency to artifact with classifier tests not distinguished from the regular artifact

Throws:
java.lang.Exception - any exception thrown during test

testProject34

public void testProject34()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject35

public void testProject35()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject36

public void testProject36()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject37

public void testProject37()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testMECLIPSE_56_encoding

public void testMECLIPSE_56_encoding()
                              throws java.lang.Exception
MECLIPSE-56 : problem with encoding of non-ascii characters in pom.xml

Throws:
java.lang.Exception

testProject38

public void testProject38()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject39

public void testProject39()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject40

public void testProject40()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject41

public void testProject41()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject42

public void testProject42()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProject43

public void testProject43()
                   throws java.lang.Exception
[MECLIPSE-79]

Throws:
java.lang.Exception
Since:
2.5

testProject44

public void testProject44()
                   throws java.lang.Exception
[MECLIPSE-219]

Throws:
java.lang.Exception
Since:
2.5

testProject45

public void testProject45()
                   throws java.lang.Exception
[MECLIPSE-379] When downloading sources and javadocs dependency classifier is not respected.

Throws:
java.lang.Exception
Since:
2.5

testProject46

public void testProject46()
                   throws java.lang.Exception
Test not available marker file is created for sources/javadocs. biz.aQute:bndlib:0.0.145 does not have sources or javadocs.

Throws:
java.lang.Exception

testProject47

public void testProject47()
                   throws java.lang.Exception
Test not available marker file is created for sources/javadocs. commons-lang:commons-lang:1.0 does not have sources but does have javadocs.

Throws:
java.lang.Exception

testProject48

public void testProject48()
                   throws java.lang.Exception
Test not available marker file is created for sources/javadocs. does-not-exist:does-not-exist:666 doesn't exist so no markers should be created.

Throws:
java.lang.Exception

testProject49

public void testProject49()
                   throws java.lang.Exception
Test forceRecheck

Throws:
java.lang.Exception

testProject50MECLIPSE415

public void testProject50MECLIPSE415()
                              throws java.lang.Exception
[MECLIPSE-415] settings are stored in wrong directory if project is not in the workspace.

Throws:
java.lang.Exception

testProject51MECLIPSE415

public void testProject51MECLIPSE415()
                              throws java.lang.Exception
[MECLIPSE-415] settings are stored in wrong directory if project is not in the workspace.

Throws:
java.lang.Exception

testProject52MECLIPSE104

public void testProject52MECLIPSE104()
                              throws java.lang.Exception
[MECLIPSE-104] Add the ability to specify source exclusions

Throws:
java.lang.Exception

testProject53MECLIPS551

public void testProject53MECLIPS551()
                             throws java.lang.Exception
[MECLIPSE-551] Source directory and resource directory are the same

Throws:
java.lang.Exception

testJeeSimple

public void testJeeSimple()
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.