[jboss-cvs] JBossAS SVN: r93570 - 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
Tue Sep 15 22:36:19 EDT 2009


Author: ALRubinger
Date: 2009-09-15 22:36:19 -0400 (Tue, 15 Sep 2009)
New Revision: 93570

Removed:
   projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java
Modified:
   projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/ServerTestCase.java
Log:
[EMB-26] ServerTestCase cleanup

Modified: projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/ServerTestCase.java
===================================================================
--- projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/ServerTestCase.java	2009-09-16 01:54:20 UTC (rev 93569)
+++ projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/ServerTestCase.java	2009-09-16 02:36:19 UTC (rev 93570)
@@ -120,16 +120,6 @@
    private static JBossASEmbeddedServer server;
 
    /**
-    * Path to "WEB-INF" 
-    */
-   private static final String PATH_WEB_INF = "WEB-INF";
-
-   /**
-    * Filename of web.xml
-    */
-   private static final String FILENAME_WEB_XML = "web.xml";
-
-   /**
     * Path, relative to the resources base, of a test web.xml
     */
    private static final String PATH_ACTUAL_WEB_XML = "webxml/servletForwardingToJsp.xml";

Deleted: 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-09-16 01:54:20 UTC (rev 93569)
+++ projects/embedded/trunk/testsuite-full-dep/src/test/java/org/jboss/TempDevelopmentOnlyTestCase.java	2009-09-16 02:36:19 UTC (rev 93570)
@@ -1,104 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
-  *
- * This 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 software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-//FIXME We have to be in org.jboss due to JMX getPackage in AS 
-package org.jboss;
-
-import org.jboss.embedded.core.server.JBossASEmbeddedServer;
-import org.jboss.logging.Logger;
-import org.junit.Test;
-
-/**
- * TempDevelopmentOnlyTestCase
- * 
- * Some test case I'm just using as a launcher while doing development
- * to see how things piece together, move along folks. :)
- *
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public class TempDevelopmentOnlyTestCase
-{
-
-   //-------------------------------------------------------------------------------||
-   // Class Members ----------------------------------------------------------------||
-   //-------------------------------------------------------------------------------||
-
-   private static final Logger log = Logger.getLogger(TempDevelopmentOnlyTestCase.class);
-
-   /**
-    * The server instance
-    */
-   private static JBossASEmbeddedServer server;
-
-   //-------------------------------------------------------------------------------||
-   // 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);
-//
-//      // 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 ------------------------------------------------------------------------||
-   //-------------------------------------------------------------------------------||
-
-   /**
-    * Empty marker for now, may be used for dev later
-    */
-   @Test
-   public void testSomething() throws Exception
-   {
-
-   }
-
-}




More information about the jboss-cvs-commits mailing list