1
<#-- FreeMarker template (see http://freemarker.org/) -->
2
<#assign licenseFirst = "/*">
3
<#assign licensePrefix = " * ">
4
<#assign licenseLast = " */">
5
<#include "../Licenses/license-${project.license}.txt">
7
<#if package?? && package != "">
11
import junit.framework.Test;
12
import junit.framework.TestCase;
13
import junit.framework.TestSuite;
19
public class ${name} extends TestCase {
21
public ${name}(String testName) {
25
<#-- classNames: "FooA,FooB" -->
26
<#-- classes: "FooA.class,FooB.class" -->
27
public static Test suite() {
28
TestSuite suite = new TestSuite("${name}");
29
<#list "${classNames}"?split(",") as className>
30
suite.addTest(${className}.suite());
35
<#if methodSetUp!false>
36
protected void setUp() throws Exception {
41
<#if methodTearDown!false>
42
protected void tearDown() throws Exception {