blob: eb89324c4f6bea68f6852ab4703697a2e068106f [file] [log] [blame]
/**
* Collects all TestCases in the Groovy test root that are written in Groovy.
*
* @author <a href="mailto:jeremy.rayner@bigfoot.com">Jeremy Rayner</a>
* @author Dierk Koenig (refactored to use AllTestSuite)
* @version $Revision$
*/
import junit.framework.*;
import groovy.util.AllTestSuite;
public class UberTestCase extends TestCase {
public static Test suite() {
TestSuite suite = (TestSuite) AllTestSuite.suite("src/test/groovy", "*Test.groovy");
String osName = System.getProperty ( "os.name" ) ;
if ( osName.equals ( "Linux" ) || osName.equals ( "SunOS" ) ) {
suite.addTestSuite ( ExecuteTest_LinuxSolaris.class ) ;
}
else {
System.err.println ( "XXXXXX No execute testsfor this OS. XXXXXX" ) ;
}
return suite;
}
// The following classes appear in target/test-classes but do not extend junit.framework.TestCase
//
// AnotherMockInputStream.class
// Bean.class
// Bean249.class
// BooleanBean.class
// CallAnotherScript.class
// ClassWithScript.class
// ComparableFoo.class
// CreateData.class
// Entry.class
// EvalInScript.class
// Feed.class
// Foo.class
// HelloWorld.class
// HelloWorld2.class
// Html2Wiki.class
// IntegerCategory.class
// Loop.class
// Loop2.class
// MapFromList.class
// MarkupTestScript.class
// MethodTestScript.class
// MockInputStream.class
// MockProcess.class
// MockSocket.class
// OverloadA.class
// OverloadB.class
// NavToWiki.class
// Person.class
// SampleMain.class
// ScriptWithFunctions.class
// ShowArgs.class
// StringCategory.class
// SuperBase.class
// SuperDerived.class
// TestBase.class
// TestCaseBug.class
// TestDerived.class
// TinyAgent.class
// UnitTestAsScript.class
// UseClosureInScript.class
// X.class
// createLoop.class
}