org.springframework.richclient.application
Class ProgressMonitoringBeanFactoryPostProcessorTests

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

public class ProgressMonitoringBeanFactoryPostProcessorTests
extends junit.framework.TestCase

This class provides a suite of unit tests for the ProgressMonitoringBeanFactoryPostProcessor.

Since:
0.3.0
Author:
Kevin Stembridge

Constructor Summary
ProgressMonitoringBeanFactoryPostProcessorTests()
           
 
Method Summary
 void testConstructor()
          Confirms that the post-processor's constructor throws an IllegalArgumentException if a ProgressMonitor is not provided, but allows a null MessageSource.
 void testLoadingBeansWithMessageSource()
          Confirms that the post processor correctly notifies a given progress monitor as the bean factory is loaded, providing the expected localized messages.
 void testLoadingBeansWithoutMessageSource()
          Confirms that the post processor correctly notifies a given progress monitor as the bean factory is loaded.
 
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

ProgressMonitoringBeanFactoryPostProcessorTests

public ProgressMonitoringBeanFactoryPostProcessorTests()
Method Detail

testConstructor

public void testConstructor()
Confirms that the post-processor's constructor throws an IllegalArgumentException if a ProgressMonitor is not provided, but allows a null MessageSource.


testLoadingBeansWithMessageSource

public void testLoadingBeansWithMessageSource()
Confirms that the post processor correctly notifies a given progress monitor as the bean factory is loaded, providing the expected localized messages. The following assertions are made:


testLoadingBeansWithoutMessageSource

public void testLoadingBeansWithoutMessageSource()
Confirms that the post processor correctly notifies a given progress monitor as the bean factory is loaded. The following assertions are made:



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