org.springframework.richclient.form
Class SimpleValidationResultsReporterTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.form.SimpleValidationResultsReporterTests
All Implemented Interfaces:
junit.framework.Test

public class SimpleValidationResultsReporterTests
extends junit.framework.TestCase


Constructor Summary
SimpleValidationResultsReporterTests()
           
 
Method Summary
protected  void setUp()
          Clear all validation results before testing.
 void testErrorMessage()
          Test set error message on messagable.
 void testErrorMessageSequence()
          Test sequence of error messages.
 void testInfoMessage()
          Test set info message on messagable.
 void testInfoMessageSequence()
          Test sequence of info messages.
 void testRandomSeverityMessageSequence()
          Test random severity message sequence.
 void testWarningMessage()
          Test set warning message on messagable.
 void testWarningMessageSequence()
          Test sequence of warning messages.
 
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

SimpleValidationResultsReporterTests

public SimpleValidationResultsReporterTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Clear all validation results before testing.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testErrorMessage

public void testErrorMessage()
Test set error message on messagable.


testWarningMessage

public void testWarningMessage()
Test set warning message on messagable.


testInfoMessage

public void testInfoMessage()
Test set info message on messagable.


testErrorMessageSequence

public void testErrorMessageSequence()
Test sequence of error messages.


testWarningMessageSequence

public void testWarningMessageSequence()
Test sequence of warning messages.


testInfoMessageSequence

public void testInfoMessageSequence()
Test sequence of info messages.


testRandomSeverityMessageSequence

public void testRandomSeverityMessageSequence()
Test random severity message sequence. (first error, then warning and then info)



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