Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.displaytag.util
Class DefaultHrefTest  view DefaultHrefTest download DefaultHrefTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.displaytag.util.DefaultHrefTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultHrefTest
extends junit.framework.TestCase

Test case for org.displaytag.util.Href.

Version:
$Revision$ ($Author$)

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DefaultHrefTest()
           
 
Method Summary
 java.lang.String getName()
          Gets the name of a TestCase
 void testAddParameter()
          Test for added parameters.
 void testAddParameterMap()
          test for addParameterMap().
 void testAddParameterMapMultiValue()
          test for addParameterMap().
 void testAddParameterMapOverridingParameters()
          test for addParameterMap() with overriding parameters.
 void testClone()
          Test the clone() implementation.
 void testComplex()
          Complex test.
 void testEquals()
          Tests the equals() implementation.
 void testGetBaseUrl()
          test for base url extraction.
 void testHrefCopy()
          Test the generation of an Href object from another Href.
 void testHrefMultipleParamWithoutValue()
          Test for URLs containing multiple parameters (some of them without values).
 void testHrefParamWithoutValue()
          Test for URLs containing parameters without values.
 void testHrefWithAnchor()
          Test for urls containing anchors.
 void testHrefWithAnchorAndParameters()
          Test for urls containin anchors and parameters.
 void testHrefWithEmptyAnchor()
          Test href with empty anchor.
 void testHrefWithMultipleParameters()
          Test for URLs containing parameters with multiple values.
 void testHrefWithParameters()
          Test for URLs containing parameters.
 void testHrefWithQuotes()
          Test for urls containing quotes.
 void testNoBaseUrl()
          test for url without base.
 void testSetParameterMap()
          test for setParameterMap().
 void testSimpleHref()
          Test a simple URL without parameters.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, run, runBare, runTest, setName, setUp, tearDown, 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

DefaultHrefTest

public DefaultHrefTest()
Method Detail

getName

public java.lang.String getName()
Description copied from class: junit.framework.TestCase
Gets the name of a TestCase


testSimpleHref

public final void testSimpleHref()
Test a simple URL without parameters.


testHrefWithParameters

public final void testHrefWithParameters()
Test for URLs containing parameters.


testHrefParamWithoutValue

public final void testHrefParamWithoutValue()
Test for URLs containing parameters without values.


testHrefMultipleParamWithoutValue

public final void testHrefMultipleParamWithoutValue()
Test for URLs containing multiple parameters (some of them without values).


testHrefWithMultipleParameters

public final void testHrefWithMultipleParameters()
Test for URLs containing parameters with multiple values.


testHrefWithAnchor

public final void testHrefWithAnchor()
Test for urls containing anchors.


testHrefWithEmptyAnchor

public final void testHrefWithEmptyAnchor()
Test href with empty anchor.


testHrefWithAnchorAndParameters

public final void testHrefWithAnchorAndParameters()
Test for urls containin anchors and parameters.


testHrefWithQuotes

public final void testHrefWithQuotes()
Test for urls containing quotes.


testHrefCopy

public final void testHrefCopy()
Test the generation of an Href object from another Href.


testClone

public final void testClone()
Test the clone() implementation.


testEquals

public final void testEquals()
Tests the equals() implementation.


testAddParameter

public final void testAddParameter()
Test for added parameters.


testSetParameterMap

public final void testSetParameterMap()
test for setParameterMap().


testAddParameterMap

public final void testAddParameterMap()
test for addParameterMap().


testAddParameterMapMultiValue

public final void testAddParameterMapMultiValue()
test for addParameterMap().


testAddParameterMapOverridingParameters

public final void testAddParameterMapOverridingParameters()
test for addParameterMap() with overriding parameters.


testGetBaseUrl

public final void testGetBaseUrl()
test for base url extraction.


testComplex

public final void testComplex()
Complex test.


testNoBaseUrl

public final void testNoBaseUrl()
test for url without base.