org.melati.util.test
Class HttpUtilTest

Package class diagram package HttpUtilTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.util.test.HttpUtilTest
All Implemented Interfaces:
junit.framework.Test

public class HttpUtilTest
extends junit.framework.TestCase

Since:
8 Nov 2008
Author:
timp

Constructor Summary
HttpUtilTest(String name)
          Constructor.
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testAppendRelativeZoneURL()
          Test method for HttpUtil.appendRelativeZoneURL(java.lang.StringBuffer, javax.servlet.http.HttpServletRequest).
 void testAppendZoneURL()
          Test method for HttpUtil.appendZoneURL(java.lang.StringBuffer, javax.servlet.http.HttpServletRequest).
 void testConcatenateUrls()
          Test method for HttpUtil.concatenateUrls(String, String).
 void testGetRelativeRequestURL()
          Test method for HttpUtil.getRelativeRequestURL(javax.servlet.http.HttpServletRequest).
 void testGetServerURL()
          Test method for HttpUtil.getServerURL(javax.servlet.http.HttpServletRequest).
 void testServletURL()
          Test method for HttpUtil.servletURL(javax.servlet.http.HttpServletRequest).
 void testZoneURL()
          Test method for HttpUtil.zoneURL(javax.servlet.http.HttpServletRequest).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpUtilTest

public HttpUtilTest(String name)
Constructor.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testAppendZoneURL

public void testAppendZoneURL()
Test method for HttpUtil.appendZoneURL(java.lang.StringBuffer, javax.servlet.http.HttpServletRequest).


testGetServerURL

public void testGetServerURL()
Test method for HttpUtil.getServerURL(javax.servlet.http.HttpServletRequest).


testAppendRelativeZoneURL

public void testAppendRelativeZoneURL()
Test method for HttpUtil.appendRelativeZoneURL(java.lang.StringBuffer, javax.servlet.http.HttpServletRequest).


testZoneURL

public void testZoneURL()
Test method for HttpUtil.zoneURL(javax.servlet.http.HttpServletRequest).


testServletURL

public void testServletURL()
Test method for HttpUtil.servletURL(javax.servlet.http.HttpServletRequest).


testGetRelativeRequestURL

public void testGetRelativeRequestURL()
Test method for HttpUtil.getRelativeRequestURL(javax.servlet.http.HttpServletRequest).


testConcatenateUrls

public void testConcatenateUrls()
Test method for HttpUtil.concatenateUrls(String, String).



Copyright © 2000-2010 PanEris. All Rights Reserved.