org.springframework.config.java.context
Class JavaConfigApplicationContextConstructionTests

java.lang.Object
  extended by org.springframework.config.java.context.JavaConfigApplicationContextConstructionTests

public final class JavaConfigApplicationContextConstructionTests
extends Object

Tests that excercise the various constructors on JavaConfigApplicationContext.

Author:
Chris Beams

Nested Class Summary
static class JavaConfigApplicationContextConstructionTests.BasePackageWildcardTests
           
 
Constructor Summary
JavaConfigApplicationContextConstructionTests()
           
 
Method Summary
 void nullOutContext()
           
 void testBootstrappingJavaConfigViaXml()
           
 void testConstructionWithMixOfClassesAndBasePackages()
           
 void testConstructionWithMultipleBasePackages()
           
 void testConstructionWithMultipleClassNames()
           
 void testConstructionWithSingleBasePackage()
          Sets up a base package with two classes in it, one of which is abstract and should thus be ignored
 void testConstructionWithSingleClassAndSingleBasePackage()
           
 void testOpenEndedConstructionWithoutCallingRefreshThrowsException()
           
 void testOpenEndedConstructionWithoutSettingClassesOrPackagesIsLegal()
           
 void testOpenEndedConstructionWithParentApplicationContextAndSingleClass()
           
 void testSetParentAfterConstructionThrowsException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaConfigApplicationContextConstructionTests

public JavaConfigApplicationContextConstructionTests()
Method Detail

nullOutContext

public void nullOutContext()

testBootstrappingJavaConfigViaXml

public void testBootstrappingJavaConfigViaXml()

testConstructionWithSingleClassAndSingleBasePackage

public void testConstructionWithSingleClassAndSingleBasePackage()

testOpenEndedConstructionWithoutSettingClassesOrPackagesIsLegal

public void testOpenEndedConstructionWithoutSettingClassesOrPackagesIsLegal()

testOpenEndedConstructionWithParentApplicationContextAndSingleClass

public void testOpenEndedConstructionWithParentApplicationContextAndSingleClass()

testOpenEndedConstructionWithoutCallingRefreshThrowsException

public void testOpenEndedConstructionWithoutCallingRefreshThrowsException()

testSetParentAfterConstructionThrowsException

public void testSetParentAfterConstructionThrowsException()

testConstructionWithMultipleClassNames

public void testConstructionWithMultipleClassNames()

testConstructionWithSingleBasePackage

public void testConstructionWithSingleBasePackage()
Sets up a base package with two classes in it, one of which is abstract and should thus be ignored


testConstructionWithMultipleBasePackages

public void testConstructionWithMultipleBasePackages()

testConstructionWithMixOfClassesAndBasePackages

public void testConstructionWithMixOfClassesAndBasePackages()


Copyright ? 2005-2008 Spring Framework. All Rights Reserved.