org.apache.velocity.test
Class InvalidEventHandlerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.velocity.test.InvalidEventHandlerTestCase
All Implemented Interfaces:
junit.framework.Test

public class InvalidEventHandlerTestCase
extends junit.framework.TestCase

Tests event handling for all event handlers except IncludeEventHandler. This is tested separately due to its complexity.

Version:
$Id: InvalidEventHandlerTestCase.java 463298 2006-10-12 16:10:32Z henning $
Author:
Geir Magnusson Jr.

Nested Class Summary
static class InvalidEventHandlerTestCase.TestEventCartridge
          Test assigning the event handlers via properties
static class InvalidEventHandlerTestCase.Tree
           
 
Constructor Summary
InvalidEventHandlerTestCase(String name)
          Default constructor.
 
Method Summary
static junit.framework.Test suite()
           
 void testConfigurationEventHandlers()
          Test assigning the event handlers via properties
 void testManualEventHandlers()
           
 
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

InvalidEventHandlerTestCase

public InvalidEventHandlerTestCase(String name)
Default constructor.

Method Detail

suite

public static junit.framework.Test suite()

testManualEventHandlers

public void testManualEventHandlers()
                             throws Exception
Throws:
Exception

testConfigurationEventHandlers

public void testConfigurationEventHandlers()
                                    throws Exception
Test assigning the event handlers via properties

Throws:
Exception


Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.