org.springframework.richclient.command.support
Class DefaultCommandRegistryTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.command.AbstractCommandRegistryTests
              extended by org.springframework.richclient.command.support.DefaultCommandRegistryTests
All Implemented Interfaces:
junit.framework.Test

public class DefaultCommandRegistryTests
extends AbstractCommandRegistryTests

Provides unit tests for the DefaultCommandRegistry class.

Author:
Peter De Bruycker, Kevin Stembridge

Constructor Summary
DefaultCommandRegistryTests()
           
 
Method Summary
protected  org.springframework.richclient.command.CommandRegistry getCommandRegistry()
          Subclasses must override this method to provide the concrete implementation of the registry to be tested.
 void testConstructor()
           
 void testSetParent()
           
 
Methods inherited from class org.springframework.richclient.command.AbstractCommandRegistryTests
testContainsCommand, testGetCommandById, testGetCommandByIdAndRequiredType, testGetType, testIsTypeMatch, testRegisterCommand, testRegisterCommandGroup, testSetTargetableActionCommandExecutor
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultCommandRegistryTests

public DefaultCommandRegistryTests()
Method Detail

getCommandRegistry

protected org.springframework.richclient.command.CommandRegistry getCommandRegistry()
Subclasses must override this method to provide the concrete implementation of the registry to be tested. A new, empy registry must be provided. This method may be called often, so subclasses should take care to not repeat any unnecessary initialization.

Specified by:
getCommandRegistry in class AbstractCommandRegistryTests
Returns:
The registry implementation to be tested, never null.

testConstructor

public void testConstructor()

testSetParent

public void testSetParent()


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