org.jmx4odp.junitDiagnosticWorkers
Class BasicHttpUrlTest

java.lang.Object
  extended by TestCase
      extended by org.jmx4odp.junitDiagnosticWorkers.HttpClientTest
          extended by org.jmx4odp.junitDiagnosticWorkers.BasicHttpUrlTest

public class BasicHttpUrlTest
extends HttpClientTest

This object will fetch a HTTP Url. It will test for HTTP_STATUS = 200.

Author:
Lucas McGregor

Constructor Summary
BasicHttpUrlTest()
          Creates a new instance of HttpUrlTest
 
Method Summary
 java.lang.String getUrl()
          Access the http url to test
 void setUrl(java.lang.String s)
          Access the http url to test
 void test_URLOk()
          Get a URL connection and assert that HTTP status was 200
 
Methods inherited from class org.jmx4odp.junitDiagnosticWorkers.HttpClientTest
assertHttpAccepted, assertHttpForbidden, assertHttpMovedPerm, assertHttpMovedTemp, assertHttpNoString, assertHttpNotFound, assertHttpOk, assertHttpString, getUrlConnection, getUrlConnection, isHttpStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHttpUrlTest

public BasicHttpUrlTest()
Creates a new instance of HttpUrlTest

Method Detail

setUrl

public void setUrl(java.lang.String s)
Access the http url to test


getUrl

public java.lang.String getUrl()
Access the http url to test


test_URLOk

public void test_URLOk()
Get a URL connection and assert that HTTP status was 200