org.springframework.richclient.command.config
Class MultiFacedEnablingTests

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.command.config.MultiFacedEnablingTests
All Implemented Interfaces:
junit.framework.Test

public class MultiFacedEnablingTests
extends SpringRichTestCase

MultiFacedEnablingTests was built to check up on the issue reported as RCP-73 .


Field Summary
 
Fields inherited from class org.springframework.richclient.test.SpringRichTestCase
applicationServices, logger
 
Constructor Summary
MultiFacedEnablingTests()
           
 
Method Summary
 void testMultifacedCommandDisabling()
          Big idea of the test: create silly command register additional command face to it, and create a button that uses that. disable/enable the command --> check if all buttons follow up on the changes
 
Methods inherited from class org.springframework.richclient.test.SpringRichTestCase
createApplicationContext, createApplicationLifecycleAdvisor, doSetUp, doTearDown, getApplicationServices, registerAdditionalServices, 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

MultiFacedEnablingTests

public MultiFacedEnablingTests()
Method Detail

testMultifacedCommandDisabling

public void testMultifacedCommandDisabling()
Big idea of the test:
  1. create silly command
  2. register additional command face to it, and create a button that uses that.
  3. disable/enable the command --> check if all buttons follow up on the changes



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