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:
Test

public class EclipsePluginIT
extends AbstractEclipsePluginIT

Version:
$Id: EclipsePluginIT.java 1213573 2011-12-13 06:22:43Z 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 testGroovy()
           
 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_a()
           
 void testProject39_b()
           
 void testProject39_c()
           
 void testProject40_a()
           
 void testProject40_b()
           
 void testProject40_c()
           
 void testProject41()
           
 void testProject42()
           
 void testProject43()
          [MECLIPSE-79]
 void testProject44()
          [MECLIPSE-219] Allow file contents to be obtained from url or location
 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 testProject53MECLIPSE551()
          [MECLIPSE-551] Source directory and resource directory are the same
 void testProject54MECLIPSE178()
          [MECLIPSE-178] symbolic links need to able to be specified in the pom
 void testProject55MECLIPSE178()
          [MECLIPSE-178] symbolic links need to able to be specified in the pom Test the case where a link is already existing in the .project
 void testProject56()
          [MECLIPSE-603] checks exclusions on direct and transitive dependencies
 void testProject57()
          [MECLIPSE-368] Dependency configuration in DependencyManagement with exclusions is ignored
 void testProject58()
          [MECLIPSE-621] mvn eclipse:eclipse fails or doesn't generate proper .classpath when specifying the same resource directory with different filtering rules
 void testProject59()
          [MECLIPSE-576] Merge resource dirs shall pass gracefully
 void testProject60()
          [MECLIPSE-652] Ability to map a webapp to the root context
 void testProject61()
          [MECLIPSE-548] Classpath container entries should come before 3rd party jars in .classpath
 void testProject62()
          [MECLIPSE-561] Make "test sources last" configurable
 void testProject63()
          [MECLIPSE-338] Correct classpath ordering in .classpath
 void testProject64()
          [MECLIPSE-338] Correct classpath ordering in .classpath
 void testProject65()
          [MECLIPSE-642] Releative resource directories cause StringIndexOutOfBoundsException
 
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, 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 Exception
Overrides:
setUp in class AbstractEclipsePluginIT
Throws:
Exception
See Also:
PlexusTestCase.setUp()

testDynamicWorkspaceLookup

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

Throws:
Exception

testProject01

public void testProject01()
                   throws Exception
Throws:
Exception

testProject02

public void testProject02()
                   throws Exception
Throws:
Exception

testProject03

public void testProject03()
                   throws Exception
Throws:
Exception

testProject04

public void testProject04()
                   throws Exception
Throws:
Exception

testProject05

public void testProject05()
                   throws Exception
Throws:
Exception

testProject06

public void testProject06()
                   throws Exception
Throws:
Exception

testProject07

public void testProject07()
                   throws Exception
Throws:
Exception

testProject08

public void testProject08()
                   throws Exception
Throws:
Exception

testProject09

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

Throws:
Exception

testProject10

public void testProject10()
                   throws Exception
Throws:
Exception

testProject11

public void testProject11()
                   throws Exception
Throws:
Exception

testProject12

public void testProject12()
                   throws Exception
Ear packaging

Throws:
Exception - any exception thrown during test

testProject13

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

Throws:
Exception - any exception thrown during test

testProject14

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

Throws:
Exception - any exception thrown during test

testProject15

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

Throws:
Exception - any exception thrown during test

testProject16

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

Throws:
Exception - any exception thrown during test

testProject17

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

Throws:
Exception - any exception thrown during test

testProject18

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

Throws:
Exception - any exception thrown during test

testProject19

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

Throws:
Exception - any exception thrown during test

testProject20

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

Throws:
Exception - any exception thrown during test

testProject21

public void testProject21()
                   throws Exception
PDE support.

Throws:
Exception - any exception thrown during test

testProject22

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

Throws:
Exception - any exception thrown during test

testProject23

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

Throws:
Exception - any exception thrown during test

testProject24

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

Throws:
Exception - any exception thrown during test

testProject25

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

Throws:
Exception - any exception thrown during test

testProject26

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

Throws:
Exception - any exception thrown during test

testProject27

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

Throws:
Exception - any exception thrown during test

testProject28

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

Throws:
Exception - any exception thrown during test

testProject29

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

Throws:
Exception - any exception thrown during test

testProject30

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

Throws:
Exception - any exception thrown during test

testProject31

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

Throws:
Exception - any exception thrown during test

testProject32

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

Throws:
Exception - any exception thrown during test

testProject33

public void testProject33()
                   throws 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:
Exception - any exception thrown during test

testProject34

public void testProject34()
                   throws Exception
Throws:
Exception

testProject35

public void testProject35()
                   throws Exception
Throws:
Exception

testProject36

public void testProject36()
                   throws Exception
Throws:
Exception

testProject37

public void testProject37()
                   throws Exception
Throws:
Exception

testMECLIPSE_56_encoding

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

Throws:
Exception

testProject38

public void testProject38()
                   throws Exception
Throws:
Exception

testProject39_a

public void testProject39_a()
                     throws Exception
Throws:
Exception

testProject39_b

public void testProject39_b()
                     throws Exception
Throws:
Exception

testProject39_c

public void testProject39_c()
                     throws Exception
Throws:
Exception

testProject40_a

public void testProject40_a()
                     throws Exception
Throws:
Exception

testProject40_b

public void testProject40_b()
                     throws Exception
Throws:
Exception

testProject40_c

public void testProject40_c()
                     throws Exception
Throws:
Exception

testProject41

public void testProject41()
                   throws Exception
Throws:
Exception

testProject42

public void testProject42()
                   throws Exception
Throws:
Exception

testProject43

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

Throws:
Exception
Since:
2.5

testProject44

public void testProject44()
                   throws Exception
[MECLIPSE-219] Allow file contents to be obtained from url or location

Throws:
Exception
Since:
2.5

testProject45

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

Throws:
Exception
Since:
2.5

testProject46

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

Throws:
Exception

testProject47

public void testProject47()
                   throws 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:
Exception

testProject48

public void testProject48()
                   throws 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:
Exception

testProject49

public void testProject49()
                   throws Exception
Test forceRecheck

Throws:
Exception

testProject50MECLIPSE415

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

Throws:
Exception

testProject51MECLIPSE415

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

Throws:
Exception

testProject52MECLIPSE104

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

Throws:
Exception

testProject53MECLIPSE551

public void testProject53MECLIPSE551()
                              throws Exception
[MECLIPSE-551] Source directory and resource directory are the same

Throws:
Exception

testProject54MECLIPSE178

public void testProject54MECLIPSE178()
                              throws Exception
[MECLIPSE-178] symbolic links need to able to be specified in the pom

Throws:
Exception

testProject55MECLIPSE178

public void testProject55MECLIPSE178()
                              throws Exception
[MECLIPSE-178] symbolic links need to able to be specified in the pom Test the case where a link is already existing in the .project

Throws:
Exception

testProject56

public void testProject56()
                   throws Exception
[MECLIPSE-603] checks exclusions on direct and transitive dependencies

Throws:
Exception

testProject57

public void testProject57()
                   throws Exception
[MECLIPSE-368] Dependency configuration in DependencyManagement with exclusions is ignored

Throws:
Exception

testProject58

public void testProject58()
                   throws Exception
[MECLIPSE-621] mvn eclipse:eclipse fails or doesn't generate proper .classpath when specifying the same resource directory with different filtering rules

Throws:
Exception

testProject59

public void testProject59()
                   throws Exception
[MECLIPSE-576] Merge resource dirs shall pass gracefully

Throws:
Exception

testProject60

public void testProject60()
                   throws Exception
[MECLIPSE-652] Ability to map a webapp to the root context

Throws:
Exception

testProject61

public void testProject61()
                   throws Exception
[MECLIPSE-548] Classpath container entries should come before 3rd party jars in .classpath

Throws:
Exception

testProject62

public void testProject62()
                   throws Exception
[MECLIPSE-561] Make "test sources last" configurable

Throws:
Exception

testProject63

public void testProject63()
                   throws Exception
[MECLIPSE-338] Correct classpath ordering in .classpath

Throws:
Exception

testProject64

public void testProject64()
                   throws Exception
[MECLIPSE-338] Correct classpath ordering in .classpath

Throws:
Exception

testProject65

public void testProject65()
                   throws Exception
[MECLIPSE-642] Releative resource directories cause StringIndexOutOfBoundsException

Throws:
Exception

testGroovy

public void testGroovy()
                throws Exception
Throws:
Exception

testJeeSimple

public void testJeeSimple()
                   throws Exception
Throws:
Exception


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