org.springframework.richclient.application.support
Class DefaultApplicationWindowTests

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.application.support.DefaultApplicationWindowTests
All Implemented Interfaces:
junit.framework.Test

public class DefaultApplicationWindowTests
extends SpringRichTestCase

Test cases for DefaultApplicationWindow.

Author:
Andy DePue

Field Summary
 
Fields inherited from class org.springframework.richclient.test.SpringRichTestCase
applicationServices, logger
 
Constructor Summary
DefaultApplicationWindowTests()
           
 
Method Summary
protected  org.springframework.richclient.application.config.ApplicationLifecycleAdvisor createApplicationLifecycleAdvisor()
          Mocks out various methods on the returned ApplicationLifecycleAdvisor as they are not needed for the current unit test(s) and will throw exceptions without further setup for the test.
 void testRegressionFailureToRemovePageListener()
           
 
Methods inherited from class org.springframework.richclient.test.SpringRichTestCase
createApplicationContext, 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

DefaultApplicationWindowTests

public DefaultApplicationWindowTests()
Method Detail

testRegressionFailureToRemovePageListener

public void testRegressionFailureToRemovePageListener()

createApplicationLifecycleAdvisor

protected org.springframework.richclient.application.config.ApplicationLifecycleAdvisor createApplicationLifecycleAdvisor()
Mocks out various methods on the returned ApplicationLifecycleAdvisor as they are not needed for the current unit test(s) and will throw exceptions without further setup for the test. If more unit tests are added to this class in the future, then the returned ApplicationLifecycleAdvisor should be revisited to ensure it still meets the needs of this test case.

Overrides:
createApplicationLifecycleAdvisor in class SpringRichTestCase


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