View Javadoc
1   package org.melati.example.contacts;
2   
3   import org.melati.poem.ExportedTests;
4   
5   import junit.framework.Test;
6   import junit.framework.TestSuite;
7   
8   /**
9    * Annoyingly the Maven Surefire Plugin cannot use test jars, so we have to
10   * maintain an ExportedTests class in POEM.
11   * 
12   * See http://jira.codehaus.org/browse/SUREFIRE-569
13   * 
14   * NOTE that this will be discovered by the plugin as it extends TestSuite, 
15   * see http://jira.codehaus.org/browse/SUREFIRE-120, but the ExportedTests 
16   * should not extend it.  
17   */
18  public class PoemTest extends TestSuite {
19  
20      public static Test suite() {
21          return ExportedTests.suite();
22      }
23  }