org.springframework.richclient.form
Class FormGuardTests

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

public class FormGuardTests
extends SpringRichTestCase

Author:
Peter De Bruycker

Field Summary
 
Fields inherited from class org.springframework.richclient.test.SpringRichTestCase
applicationServices, logger
 
Constructor Summary
FormGuardTests()
           
 
Method Summary
protected  void doSetUp()
          Should be implemented in subclasses as an alternative to the final method SpringRichTestCase.setUp()
protected  void registerAdditionalServices(org.springframework.richclient.application.support.DefaultApplicationServices applicationServices)
          May be implemented in subclasses that need to register services with the global application services instance.
 void testCommitCommandGuarding()
           
 void testEnabledState()
           
 void testErrorState()
           
 void testNewFormCommandGuarding()
           
 void testRevertCommandGuarding()
           
 
Methods inherited from class org.springframework.richclient.test.SpringRichTestCase
createApplicationContext, createApplicationLifecycleAdvisor, doTearDown, getApplicationServices, registerBasicServices, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

FormGuardTests

public FormGuardTests()
Method Detail

doSetUp

protected void doSetUp()
Description copied from class: SpringRichTestCase
Should be implemented in subclasses as an alternative to the final method SpringRichTestCase.setUp()

Overrides:
doSetUp in class SpringRichTestCase

registerAdditionalServices

protected void registerAdditionalServices(org.springframework.richclient.application.support.DefaultApplicationServices applicationServices)
May be implemented in subclasses that need to register services with the global application services instance.

Overrides:
registerAdditionalServices in class SpringRichTestCase

testEnabledState

public void testEnabledState()

testErrorState

public void testErrorState()

testNewFormCommandGuarding

public void testNewFormCommandGuarding()

testRevertCommandGuarding

public void testRevertCommandGuarding()

testCommitCommandGuarding

public void testCommitCommandGuarding()


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