Show JBoss4Test.java syntax highlighted
/** (C) Copyright 2007 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
For more information: www.smartfrog.org
*/
package org.smartfrog.services.www.servers.test.jboss4;
import org.smartfrog.test.DeployingTestBase;
import org.smartfrog.services.www.servers.test.tomcat.TomcatTest;
/**
*
* Created 01-Aug-2007 17:25:18
*
*/
public class JBoss4Test extends DeployingTestBase {
private static final String FILES = "/org/smartfrog/services/www/servers/test/jboss4/";
public JBoss4Test(String name) {
super(name);
}
/**
* An override point for those tests that take a long time to run
*
* @return the time to execute tests
*/
protected int getDefaultTestExecutionTimeout() {
return 120000;
}
public void testServerIsNotRunning() throws Throwable {
expectSuccessfulTestRunOrSkip(FILES, "testServerIsNotRunning");
}
public void testServerRuns() throws Throwable {
expectSuccessfulTestRunOrSkip(FILES, "testServerRuns");
}
}
See more files for this project here
SmartFrog (Smart Framework for Object Groups) is a framework for configuring and automatically activating distributed applications. \r\nThe SmartFrog framework is released under LGPL license.\r\nMore info at: www.smartfrog.org
Project homepage:
http://sourceforge.net/projects/smartfrog
Programming language(s): Java,XML
License: other
JBoss4Test.java
components.sf
testServerIsNotRunning.sf
testServerRuns.sf