Author: richard.opalka(a)jboss.com
Date: 2008-03-20 13:02:16 -0400 (Thu, 20 Mar 2008)
New Revision: 6046
Removed:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/console/JBossWSConsoleAccessibilityTestCase.java
Log:
[JBWS-2073] refactoring
Deleted:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/console/JBossWSConsoleAccessibilityTestCase.java
===================================================================
---
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/console/JBossWSConsoleAccessibilityTestCase.java 2008-03-20
16:27:56 UTC (rev 6045)
+++
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/smoke/console/JBossWSConsoleAccessibilityTestCase.java 2008-03-20
17:02:16 UTC (rev 6046)
@@ -1,56 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
-package org.jboss.test.ws.jaxws.smoke.console;
-
-import java.net.HttpURLConnection;
-import java.net.URL;
-
-import org.jboss.wsf.test.JBossWSTest;
-
-/**
- * Ensure JBossWS console is accessible
- *
- * @author richard.opalka(a)jboss.com
- */
-public final class JBossWSConsoleAccessibilityTestCase extends JBossWSTest
-{
-
- public void testAccess()
- {
- try
- {
- String url = "http://" + this.getServerHost() +
":8080/jbossws";
- HttpURLConnection connection = (HttpURLConnection) new
URL(url).openConnection();
- int responseCode = connection.getResponseCode();
- if (responseCode != HttpURLConnection.HTTP_OK)
- {
- fail("Cannot access JBossWS console, responseCode == " +
responseCode);
- }
- }
- catch (Exception e)
- {
- e.printStackTrace(System.err);
- fail("Cannot access JBossWS console: " + e.getMessage());
- }
- }
-
-}