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

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.MyEclipsePluginIT
All Implemented Interfaces:
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 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, 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 Exception
Web project, no spring/struts/hibernate capability, J2EE 1.3

Throws:
Exception

testProject02

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

Throws:
Exception

testProject03

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

Throws:
Exception

testProject04

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

Throws:
Exception

testProject05

public void testProject05()
                   throws Exception
Simple project with additionalConfig

Throws:
Exception

testMyEclipseProject06MECLIPSE427

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

Throws:
Exception

testProject07MECLIPSE445

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


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