org.apache.maven.plugin.eclipse
Class EclipsePluginTest

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.eclipse.AbstractEclipsePluginTestCase
                  extended by org.apache.maven.plugin.eclipse.EclipsePluginTest
All Implemented Interfaces:
Test

public class EclipsePluginTest
extends AbstractEclipsePluginTestCase

Version:
$Id: EclipsePluginTest.java 599668 2007-11-30 01:41:23Z aheritier $
Author:
Trygve Laugstøl, Fabrizio Giustina

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.AbstractEclipsePluginTestCase
ARTIFACT_ID, GROUP_ID, localRepositoryDirectory, PomFile, VERSION
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
EclipsePluginTest()
           
 
Method Summary
protected  void setUp()
           
 void testJeeSimple()
           
 void testProject01()
           
 void testProject02()
           
 void testProject03()
           
 void testProject04()
           
 void testProject05()
           
 void testProject06()
           
 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 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 testProject34()
           
 void testProject35()
           
 void testProject36()
           
 void testProject37()
           
 void testProject38()
           
 
Methods inherited from class org.apache.maven.plugin.eclipse.AbstractEclipsePluginTestCase
assertContains, assertDoesNotContain, assertFileEquals, compareDirectoryContent, executeMaven, executeMaven, getOutputDirectory, getPluginCLISpecification, getTestWorkspaceWorkDirectory, readProject, tearDown, testProject, testProject, testProject, testWorkspace, testWorkspace, testWorkspace
 
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

EclipsePluginTest

public EclipsePluginTest()
Method Detail

setUp

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

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

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

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

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

testProject38

public void testProject38()
                   throws Exception
Throws:
Exception

testJeeSimple

public void testJeeSimple()
                   throws Exception
Throws:
Exception


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