org.opencms.util
Class TestCmsMacroResolver

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.opencms.util.TestCmsMacroResolver
All Implemented Interfaces:
junit.framework.Test

public class TestCmsMacroResolver
extends junit.framework.TestCase

Test cases for CmsMacroResolver.


Constructor Summary
TestCmsMacroResolver(String arg0)
          Default JUnit constructor.
 
Method Summary
 void testBasicResolverFunctions()
          Tests some basic resolver functions.
 void testMacroUtils()
          Tests macro util functions.
 void testResolveLocalizedMacros()
          Tests the macro resolver "recursive" functions.
 void testResolveMacros()
          Tests the macro resolver main functions.
 void testResolveMacrosCombinedSyntax()
          Tests the macro resolver main functions, combined syntax.
 void testResolveMacrosNewSyntax()
          Tests the macro resolver main functions, new syntax.
 void testResolveNestedMacros()
          Tests the macro resolver "nested macro" functions.
 void testResolverInterface()
          Tests a minimal interface implementation.
 void testResolverIssues()
          Tests some issues encounteerd when introducing the new macro style.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, 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

TestCmsMacroResolver

public TestCmsMacroResolver(String arg0)
Default JUnit constructor.

Parameters:
arg0 - JUnit parameters
Method Detail

testBasicResolverFunctions

public void testBasicResolverFunctions()
Tests some basic resolver functions.


testResolverIssues

public void testResolverIssues()
Tests some issues encounteerd when introducing the new macro style.


testResolveLocalizedMacros

public void testResolveLocalizedMacros()
Tests the macro resolver "recursive" functions.


testResolveNestedMacros

public void testResolveNestedMacros()
Tests the macro resolver "nested macro" functions.


testResolveMacros

public void testResolveMacros()
Tests the macro resolver main functions.


testResolveMacrosNewSyntax

public void testResolveMacrosNewSyntax()
Tests the macro resolver main functions, new syntax.


testResolveMacrosCombinedSyntax

public void testResolveMacrosCombinedSyntax()
Tests the macro resolver main functions, combined syntax.


testResolverInterface

public void testResolverInterface()
Tests a minimal interface implementation.


testMacroUtils

public void testMacroUtils()
Tests macro util functions.