org.springframework.richclient.application.support
Class BeanFactoryViewDescriptorRegistryTests

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

public class BeanFactoryViewDescriptorRegistryTests
extends junit.framework.TestCase

Provides a suite of unit tests for the BeanFactoryViewDescriptorRegistry class.

Since:
0.3
Author:
Kevin Stembridge

Constructor Summary
BeanFactoryViewDescriptorRegistryTests()
           
 
Method Summary
 void testForNullViewId()
          Confirms that an IllegalArgumentException is thrown if a null viewName is passed to the BeanFactoryViewDescriptorRegistry.getViewDescriptor(String) method.
 void testGetViewDescriptor()
          Test method for BeanFactoryViewDescriptorRegistry.getViewDescriptor(java.lang.String).
 void testGetViewDescriptors()
          Performs the following assertions on the BeanFactoryViewDescriptorRegistry.getViewDescriptors() method: The method does not return null if there are no view descriptors in the underlying registry The correct number of descriptors are returned.
 
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

BeanFactoryViewDescriptorRegistryTests

public BeanFactoryViewDescriptorRegistryTests()
Method Detail

testGetViewDescriptor

public final void testGetViewDescriptor()
Test method for BeanFactoryViewDescriptorRegistry.getViewDescriptor(java.lang.String).


testGetViewDescriptors

public void testGetViewDescriptors()
Performs the following assertions on the BeanFactoryViewDescriptorRegistry.getViewDescriptors() method:


testForNullViewId

public void testForNullViewId()
Confirms that an IllegalArgumentException is thrown if a null viewName is passed to the BeanFactoryViewDescriptorRegistry.getViewDescriptor(String) method.



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