1   package org.apache.maven.plugin.eclipse;
2   
3   /**
4    * Unit Tests for MyEclipse plugin
5    * 
6    * @author <a href="mailto:olivier.jacob@gmail.com">Olivier Jacob</a>
7    */
8   public class MyEclipsePluginTest
9       extends AbstractEclipsePluginTestCase
10  {
11      /**
12       * Web project, no spring/struts/hibernate capability, J2EE 1.3
13       * 
14       * @throws Exception
15       */
16      public void testMyEclipseProject01()
17          throws Exception
18      {
19          testMyEclipseProject( "project-myeclipse-01" );
20      }
21  
22      /**
23       * Web project, no spring/struts/hibernate capability, J2EE 1.4
24       * 
25       * @throws Exception
26       */
27      public void testMyEclipseProject02()
28          throws Exception
29      {
30          testMyEclipseProject( "project-myeclipse-02" );
31      }
32  
33      /**
34       * Simple project with Spring capability
35       * 
36       * @throws Exception
37       */
38      public void testMyEclipseProject03()
39          throws Exception
40      {
41          testMyEclipseProject( "project-myeclipse-03" );
42      }
43  
44      /**
45       * Simple project with Spring and Hibernate capabilities
46       * 
47       * @throws Exception
48       */
49      public void testMyEclipseProject04()
50          throws Exception
51      {
52          testMyEclipseProject( "project-myeclipse-04" );
53      }
54  
55      /**
56       * Simple project with additionalConfig
57       *
58       * @throws Exception
59       */
60      public void testMyEclipseProject05()
61          throws Exception
62      {
63          testMyEclipseProject( "project-myeclipse-05" );
64      }
65  
66      private void testMyEclipseProject( String project )
67          throws Exception
68      {
69          testProject( project, null, "myeclipse-clean", "myeclipse" );
70      }
71  }