org.apache.james.jspf.core
Class MacroExpandTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.jspf.core.MacroExpandTest
All Implemented Interfaces:
junit.framework.Test

public class MacroExpandTest
extends junit.framework.TestCase

RFC4408 8.2. Expansion Examples


Constructor Summary
MacroExpandTest()
           
 
Method Summary
protected  void setUp()
           
 void testDoublePercent()
           
 void testExample1()
           
 void testExample2()
           
 void testExample3()
           
 void testExample4()
           
 void testExample5()
           
 void testExample6_ipv6()
           
 void testLocalPartWithSpecialChars()
           
 void testPercD()
           
 void testPercentAloneIsError()
           
 void testPercK()
           
 void testPercL()
           
 void testPercO()
           
 void testPercS()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

MacroExpandTest

public MacroExpandTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testPercS

public void testPercS()
               throws PermErrorException
Throws:
PermErrorException

testPercK

public void testPercK()
               throws PermErrorException
Throws:
PermErrorException

testPercentAloneIsError

public void testPercentAloneIsError()
                             throws PermErrorException
Throws:
PermErrorException

testDoublePercent

public void testDoublePercent()
                       throws PermErrorException
Throws:
PermErrorException

testPercO

public void testPercO()
               throws PermErrorException
Throws:
PermErrorException

testPercD

public void testPercD()
               throws PermErrorException
Throws:
PermErrorException

testPercL

public void testPercL()
               throws PermErrorException
Throws:
PermErrorException

testExample1

public void testExample1()
                  throws PermErrorException
Throws:
PermErrorException

testExample2

public void testExample2()
                  throws PermErrorException
Throws:
PermErrorException

testExample3

public void testExample3()
                  throws PermErrorException
Throws:
PermErrorException

testExample4

public void testExample4()
                  throws PermErrorException
Throws:
PermErrorException

testExample5

public void testExample5()
                  throws PermErrorException
Throws:
PermErrorException

testExample6_ipv6

public void testExample6_ipv6()
                       throws PermErrorException
Throws:
PermErrorException

testLocalPartWithSpecialChars

public void testLocalPartWithSpecialChars()
                                   throws PermErrorException
Throws:
PermErrorException


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.