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

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

public class MyEclipsePluginIT
extends AbstractEclipsePluginIT

Unit Tests for MyEclipse plugin

Author:
Olivier Jacob

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
MyEclipsePluginIT()
           
 
Method Summary
 void testMyEclipseProject(java.lang.String project)
           
 void testMyEclipseProject06MECLIPSE427()
          Simple project with with spring configuration that points at non-existent directory
 void testProject01()
          Web project, no spring/struts/hibernate capability, J2EE 1.3
 void testProject02()
          Web project, no spring/struts/hibernate capability, J2EE 1.4
 void testProject03()
          Simple project with Spring capability
 void testProject04()
          Simple project with Spring and Hibernate capabilities
 void testProject05()
          Simple project with additionalConfig
 void testProject07MECLIPSE445()
          Verifies spring files created with sub-projects (modules) module-1 should have spring bean files in the .springBeans file.
 
Methods inherited from class org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT
assertContains, assertDoesNotContain, assertFileEquals, assertNotAvailableMarkerFileDoesNotExist, assertNotAvailableMarkerFileExists, compareDirectoryContent, executeMaven, executeMaven, getNotAvailableMarkerFile, getOutputDirectory, getPluginCLISpecification, getTestWorkspaceWorkDirectory, readProject, setUp, 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

MyEclipsePluginIT

public MyEclipsePluginIT()
Method Detail

testProject01

public void testProject01()
                   throws java.lang.Exception
Web project, no spring/struts/hibernate capability, J2EE 1.3

Throws:
java.lang.Exception

testProject02

public void testProject02()
                   throws java.lang.Exception
Web project, no spring/struts/hibernate capability, J2EE 1.4

Throws:
java.lang.Exception

testProject03

public void testProject03()
                   throws java.lang.Exception
Simple project with Spring capability

Throws:
java.lang.Exception

testProject04

public void testProject04()
                   throws java.lang.Exception
Simple project with Spring and Hibernate capabilities

Throws:
java.lang.Exception

testProject05

public void testProject05()
                   throws java.lang.Exception
Simple project with additionalConfig

Throws:
java.lang.Exception

testMyEclipseProject06MECLIPSE427

public void testMyEclipseProject06MECLIPSE427()
                                       throws java.lang.Exception
Simple project with with spring configuration that points at non-existent directory

Throws:
java.lang.Exception

testProject07MECLIPSE445

public void testProject07MECLIPSE445()
                              throws java.lang.Exception
Verifies spring files created with sub-projects (modules) module-1 should have spring bean files in the .springBeans file. module-2 should not have spring bean files in the .springBeans file.

Throws:
java.lang.Exception

testMyEclipseProject

public void testMyEclipseProject(java.lang.String project)
                          throws java.lang.Exception
Throws:
java.lang.Exception


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