org.springframework.richclient.application.config
Class ApplicationWindowSetterTests

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

public class ApplicationWindowSetterTests
extends junit.framework.TestCase

Provides unit tests for the ApplicationWindowSetter class.

Since:
0.3
Author:
Kevin Stembridge

Constructor Summary
ApplicationWindowSetterTests()
          Creates a new uninitialized ApplicationWindowSetterTests.
 
Method Summary
 void testConstructor()
          Confirms that the constructor throws an IllegalArgumentException when passed a null window.
 void testPostProcessBeforeInit()
          Confirms that the postProcessBeforeInitialization method correctly sets the window on the windowAware object.
 
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

ApplicationWindowSetterTests

public ApplicationWindowSetterTests()
Creates a new uninitialized ApplicationWindowSetterTests.

Method Detail

testConstructor

public void testConstructor()
Confirms that the constructor throws an IllegalArgumentException when passed a null window.


testPostProcessBeforeInit

public void testPostProcessBeforeInit()
Confirms that the postProcessBeforeInitialization method correctly sets the window on the windowAware object.



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