Update of /cvsroot/batchserver/batchserver/test/org/jmonks/batchserver/framework
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11196/org/jmonks/batchserver/framework
Added Files:
FrameworkTestSuite.java
Log Message:
submitting the junits for ErrorCode, StatusCode and FrameworkUtil
--- NEW FILE: FrameworkTestSuite.java ---
/*
* FrameworkTestSuite.java
* JUnit based test
*
* Created on March 3, 2006, 8:29 PM
*/
package org.jmonks.batchserver.framework;
import junit.framework.*;
import org.jmonks.batchserver.framework.common.ErrorCodeTest;
import org.jmonks.batchserver.framework.common.FrameworkUtilTest;
import org.jmonks.batchserver.framework.common.StatusCodeTest;
/**
* This is the main suite for the framework. This actually decides which suites
* needs to be considered as the framework suite.
*
* @author Suresh Pragada
*/
public class FrameworkTestSuite extends TestCase
{
public FrameworkTestSuite(String testName)
{
super(testName);
}
protected void setUp() throws Exception
{
}
protected void tearDown() throws Exception
{
}
/**
* suite method returns all the suites to be considered as a framework suite.
*/
public static Test suite()
{
TestSuite mainSuite = new TestSuite();
mainSuite.addTest(FrameworkUtilTest.suite());
mainSuite.addTest(ErrorCodeTest.suite());
mainSuite.addTest(StatusCodeTest.suite());
return mainSuite;
}
}
|