org.springframework.binding.validation
Class DefaultValidationResultsModelTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.binding.validation.DefaultValidationResultsModelTests
All Implemented Interfaces:
junit.framework.Test

public class DefaultValidationResultsModelTests
extends junit.framework.TestCase

Tests for @link DefaultValidationResultsModel

Author:
Oliver Hutchison

Nested Class Summary
static class DefaultValidationResultsModelTests.TestValidationListener
           
 
Constructor Summary
DefaultValidationResultsModelTests()
           
 
Method Summary
 void setUp()
           
 void testAddChildEvents()
          Check if adding a child triggers the parent to fire appropriate events.
 void testChildEvents()
          Check if adding a child triggers the parent to fire appropriate events.
 void testEventsHaveCorectSource()
           
 void testMessageCount()
          Simply check if DefaultValidationResultsModel counts its messages correctly.
 void testRemoveChildEvents()
          Check if adding a child triggers the parent to fire appropriate events.
 void testUpdatesFirePropertyChangeEvents()
           
 void testUpdatesFireValidationEvents()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultValidationResultsModelTests

public DefaultValidationResultsModelTests()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testUpdatesFirePropertyChangeEvents

public void testUpdatesFirePropertyChangeEvents()

testEventsHaveCorectSource

public void testEventsHaveCorectSource()

testUpdatesFireValidationEvents

public void testUpdatesFireValidationEvents()

testMessageCount

public void testMessageCount()
Simply check if DefaultValidationResultsModel counts its messages correctly.


testAddChildEvents

public void testAddChildEvents()
Check if adding a child triggers the parent to fire appropriate events.


testChildEvents

public void testChildEvents()
Check if adding a child triggers the parent to fire appropriate events.


testRemoveChildEvents

public void testRemoveChildEvents()
Check if adding a child triggers the parent to fire appropriate events.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.