[jboss-cvs] JBossAS SVN: r91333 - projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jul 16 00:52:40 EDT 2009
Author: ALRubinger
Date: 2009-07-16 00:52:40 -0400 (Thu, 16 Jul 2009)
New Revision: 91333
Modified:
projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java
Log:
[EMB-32] Comment out the temp dev testcase lifecycle methods for the time being
Modified: projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java
===================================================================
--- projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java 2009-07-16 04:48:27 UTC (rev 91332)
+++ projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java 2009-07-16 04:52:40 UTC (rev 91333)
@@ -22,12 +22,8 @@
//FIXME We have to be in org.jboss due to JMX getPackage in AS
package org.jboss;
-import org.jboss.bootstrap.spi.lifecycle.LifecycleState;
import org.jboss.embedded.core.server.JBossASEmbeddedServer;
-import org.jboss.embedded.core.server.JBossASEmbeddedServerImpl;
import org.jboss.logging.Logger;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.Test;
/**
@@ -57,41 +53,41 @@
// Lifecycle --------------------------------------------------------------------||
//-------------------------------------------------------------------------------||
- /**
- * Starts up the Application Server. Relies upon either Environment
- * Variable "JBOSS_HOME" or System Property "jboss.home" being set, with
- * precedence to the system property
- */
- @BeforeClass
- public static void startEmbedddedAS() throws Exception
- {
- //TODO Hack, this is a hardcoded JBOSS_HOME
- String jbossHome = "/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x/build/output/jboss-5.2.0.Beta";
- // Make Server
- log.info("Using JBOSS_HOME: " + jbossHome);
- server = new JBossASEmbeddedServerImpl(jbossHome);
+// /**
+// * Starts up the Application Server. Relies upon either Environment
+// * Variable "JBOSS_HOME" or System Property "jboss.home" being set, with
+// * precedence to the system property
+// */
+// @BeforeClass
+// public static void startEmbedddedAS() throws Exception
+// {
+// //TODO Hack, this is a hardcoded JBOSS_HOME
+// String jbossHome = "/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x/build/output/jboss-5.2.0.Beta";
+// // Make Server
+// log.info("Using JBOSS_HOME: " + jbossHome);
+// server = new JBossASEmbeddedServerImpl(jbossHome);
+//
+// // Start
+// log.info("Starting Server: " + server);
+// server.start();
+// log.info("...started.");
+// }
+//
+// /**
+// * Shuts down the Application Server after the suite ends
+// */
+// @AfterClass
+// public static void stopEmbeddedAS() throws Exception
+// {
+// // If exists and started
+// if (server != null && server.getState().equals(LifecycleState.STARTED))
+// {
+// // Shutdown
+// log.info("Shutting down server: " + server);
+// server.shutdown();
+// }
+// }
- // Start
- log.info("Starting Server: " + server);
- server.start();
- log.info("...started.");
- }
-
- /**
- * Shuts down the Application Server after the suite ends
- */
- @AfterClass
- public static void stopEmbeddedAS() throws Exception
- {
- // If exists and started
- if (server != null && server.getState().equals(LifecycleState.STARTED))
- {
- // Shutdown
- log.info("Shutting down server: " + server);
- server.shutdown();
- }
- }
-
//-------------------------------------------------------------------------------||
// Tests ------------------------------------------------------------------------||
//-------------------------------------------------------------------------------||
More information about the jboss-cvs-commits
mailing list