From: <mr...@us...> - 2003-01-08 05:57:46
|
Update of /cvsroot/struts/struts-resume/test/web/org/appfuse/webapp/util In directory sc8-pr-cvs1:/tmp/cvs-serv31267 Added Files: BaseUtilTest.java RequestUtilTest.java SslUtilTest.java UtilSuite.java Log Message: --- NEW FILE: BaseUtilTest.java --- package org.appfuse.webapp.util; import junit.framework.TestCase; // JUnitDoclet begin import import org.appfuse.webapp.util.BaseUtil; // JUnitDoclet end import /** * Generated by JUnitDoclet, a tool provided by * ObjectFab GmbH under LGPL. * Please see www.junitdoclet.org, www.gnu.org * and www.objectfab.de for informations about * the tool, the licence and the authors. */ public class BaseUtilTest // JUnitDoclet begin extends_implements extends TestCase // JUnitDoclet end extends_implements { // JUnitDoclet begin class org.appfuse.webapp.util.BaseUtil baseutil = null; // JUnitDoclet end class public BaseUtilTest(String name) { // JUnitDoclet begin method BaseUtilTest super(name); // JUnitDoclet end method BaseUtilTest } public org.appfuse.webapp.util.BaseUtil createInstance() throws Exception { // JUnitDoclet begin method testcase.createInstance return new org.appfuse.webapp.util.BaseUtil(); // JUnitDoclet end method testcase.createInstance } protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); baseutil = createInstance(); // JUnitDoclet end method testcase.setUp } protected void tearDown() throws Exception { // JUnitDoclet begin method testcase.tearDown baseutil = null; super.tearDown(); // JUnitDoclet end method testcase.tearDown } /** * JUnitDoclet moves marker to this method, if there is not match * for them in the regenerated code and if the marker is not empty. * This way, no test gets lost when regenerating after renaming. * Method testVault is supposed to be empty. */ public void testVault() throws Exception { // JUnitDoclet begin method testcase.testVault // JUnitDoclet end method testcase.testVault } public static void main(String[] args) { // JUnitDoclet begin method testcase.main junit.textui.TestRunner.run(BaseUtilTest.class); // JUnitDoclet end method testcase.main } } --- NEW FILE: RequestUtilTest.java --- package org.appfuse.webapp.util; import junit.framework.TestCase; // JUnitDoclet begin import import org.appfuse.webapp.util.RequestUtil; // JUnitDoclet end import /** * Generated by JUnitDoclet, a tool provided by * ObjectFab GmbH under LGPL. * Please see www.junitdoclet.org, www.gnu.org * and www.objectfab.de for informations about * the tool, the licence and the authors. */ public class RequestUtilTest // JUnitDoclet begin extends_implements extends TestCase // JUnitDoclet end extends_implements { // JUnitDoclet begin class org.appfuse.webapp.util.RequestUtil requestutil = null; // JUnitDoclet end class public RequestUtilTest(String name) { // JUnitDoclet begin method RequestUtilTest super(name); // JUnitDoclet end method RequestUtilTest } public org.appfuse.webapp.util.RequestUtil createInstance() throws Exception { // JUnitDoclet begin method testcase.createInstance return new org.appfuse.webapp.util.RequestUtil(); // JUnitDoclet end method testcase.createInstance } protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); requestutil = createInstance(); // JUnitDoclet end method testcase.setUp } protected void tearDown() throws Exception { // JUnitDoclet begin method testcase.tearDown requestutil = null; super.tearDown(); // JUnitDoclet end method testcase.tearDown } public void testGetRequestParameters() throws Exception { // JUnitDoclet begin method getRequestParameters // JUnitDoclet end method getRequestParameters } public void testCreateQueryStringFromMap() throws Exception { // JUnitDoclet begin method createQueryStringFromMap // JUnitDoclet end method createQueryStringFromMap } public void testStowRequestAttributes() throws Exception { // JUnitDoclet begin method stowRequestAttributes // JUnitDoclet end method stowRequestAttributes } public void testReclaimRequestAttributes() throws Exception { // JUnitDoclet begin method reclaimRequestAttributes // JUnitDoclet end method reclaimRequestAttributes } public void testGetCookie() throws Exception { // JUnitDoclet begin method getCookie // JUnitDoclet end method getCookie } public void testDeleteCookie() throws Exception { // JUnitDoclet begin method deleteCookie // JUnitDoclet end method deleteCookie } /** * JUnitDoclet moves marker to this method, if there is not match * for them in the regenerated code and if the marker is not empty. * This way, no test gets lost when regenerating after renaming. * Method testVault is supposed to be empty. */ public void testVault() throws Exception { // JUnitDoclet begin method testcase.testVault // JUnitDoclet end method testcase.testVault } public static void main(String[] args) { // JUnitDoclet begin method testcase.main junit.textui.TestRunner.run(RequestUtilTest.class); // JUnitDoclet end method testcase.main } } --- NEW FILE: SslUtilTest.java --- package org.appfuse.webapp.util; import junit.framework.TestCase; // JUnitDoclet begin import import org.appfuse.webapp.util.SslUtil; // JUnitDoclet end import /** * Generated by JUnitDoclet, a tool provided by * ObjectFab GmbH under LGPL. * Please see www.junitdoclet.org, www.gnu.org * and www.objectfab.de for informations about * the tool, the licence and the authors. */ public class SslUtilTest // JUnitDoclet begin extends_implements extends TestCase // JUnitDoclet end extends_implements { // JUnitDoclet begin class org.appfuse.webapp.util.SslUtil sslutil = null; // JUnitDoclet end class public SslUtilTest(String name) { // JUnitDoclet begin method SslUtilTest super(name); // JUnitDoclet end method SslUtilTest } public org.appfuse.webapp.util.SslUtil createInstance() throws Exception { // JUnitDoclet begin method testcase.createInstance return new org.appfuse.webapp.util.SslUtil(); // JUnitDoclet end method testcase.createInstance } protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); sslutil = createInstance(); // JUnitDoclet end method testcase.setUp } protected void tearDown() throws Exception { // JUnitDoclet begin method testcase.tearDown sslutil = null; super.tearDown(); // JUnitDoclet end method testcase.tearDown } public void testGetRedirectString() throws Exception { // JUnitDoclet begin method getRedirectString // JUnitDoclet end method getRedirectString } /** * JUnitDoclet moves marker to this method, if there is not match * for them in the regenerated code and if the marker is not empty. * This way, no test gets lost when regenerating after renaming. * Method testVault is supposed to be empty. */ public void testVault() throws Exception { // JUnitDoclet begin method testcase.testVault // JUnitDoclet end method testcase.testVault } public static void main(String[] args) { // JUnitDoclet begin method testcase.main junit.textui.TestRunner.run(SslUtilTest.class); // JUnitDoclet end method testcase.main } } --- NEW FILE: UtilSuite.java --- package org.appfuse.webapp.util; import junit.framework.TestSuite; // JUnitDoclet begin import // JUnitDoclet end import /** * Generated by JUnitDoclet, a tool provided by * ObjectFab GmbH under LGPL. * Please see www.junitdoclet.org, www.gnu.org * and www.objectfab.de for informations about * the tool, the licence and the authors. */ public class UtilSuite // JUnitDoclet begin extends_implements // JUnitDoclet end extends_implements { // JUnitDoclet begin class // JUnitDoclet end class public static TestSuite suite() { TestSuite suite; suite = new TestSuite("org.appfuse.webapp.util"); suite.addTestSuite(org.appfuse.webapp.util.SslUtilTest.class); suite.addTestSuite(org.appfuse.webapp.util.RequestUtilTest.class); suite.addTestSuite(org.appfuse.webapp.util.BaseUtilTest.class); // JUnitDoclet begin method suite // JUnitDoclet end method suite return suite; } public static void main(String[] args) { // JUnitDoclet begin method testsuite.main junit.textui.TestRunner.run(suite()); // JUnitDoclet end method testsuite.main } } |