Juergen Hoeller
fc11102e34
updated dependencies
14 years ago
Sam Brannen
9c3c1c64b3
[SPR-8386] polishing JavaDoc
14 years ago
Sam Brannen
dbe96b5cf9
[SPR-7326] MergedContextConfiguration now ensures that it holds non-null arrays with proper semantics for TestContext's cache key generation.
14 years ago
Sam Brannen
3f58da1cd6
[SPR-7326] Added unit tests to verify proper semantics of TestContext's cache key generation.
14 years ago
Sam Brannen
da41c9bb11
polishing
14 years ago
Sam Brannen
0d4469d8e3
Suppressing warnings for deprecation of SimpleJdbcTemplate; polishing JavaDoc; using TestNG assertions in TestNG tests.
14 years ago
Sam Brannen
266e1096ce
polishing
14 years ago
Sam Brannen
2b17ee0911
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
14 years ago
Sam Brannen
39583d23fd
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
14 years ago
Sam Brannen
2913964b41
[SPR-7960][SPR-8386] Supporting declarative configuration of bean definition profiles in the TestContext framework:
...
- TextContext now works with MergedContextConfiguration instead of locations and loader
- TextContext now builds context caching key from MergedContextConfiguration
- Test context caching is now based on locations, classes, active profiles, and context loader
- TextContext now delegates to SmartContextLoader or ContextLoader as appropriate
- AbstractContextLoader now implements SmartContextLoader
- AbstractGenericContextLoader now sets active profiles in the GenericApplicationContext
- Introduced integration tests for profile support in the TCF for both XML and annotation config
14 years ago
Sam Brannen
ac735d73ac
[SPR-7960][SPR-8386] First draft of SmartContextLoader SPI, MergedContextConfiguration, and ContextConfigurationAttributes.
14 years ago
Sam Brannen
ff2a603f2f
[SPR-7960] Trimming profiles for good measure.
14 years ago
Sam Brannen
24a97805ef
[SPR-7960] Renamed @ActivateProfiles to @ActiveProfiles and fleshed out JavaDoc.
14 years ago
Sam Brannen
3a2afde41d
[SPR-7960] Renamed resolveActivatedProfiles() to resolveActiveProfiles().
14 years ago
Sam Brannen
f64344b296
[SPR-7960] resolveActivatedProfiles() now resolves a unique set of activated profiles
14 years ago
Sam Brannen
6981ee566c
[SPR-7960] No longer tracking empty activated profiles.
14 years ago
Sam Brannen
c7473f9124
[SPR-7960] No longer tracking empty activated profiles.
14 years ago
Sam Brannen
0067618b35
[SPR-7960] Initial support for @ActivateProfiles in tests.
14 years ago
Sam Brannen
f5a39ae7ff
[SPR-7960] Initial support for @ActivateProfiles in tests.
14 years ago
Chris Beams
c51c340881
Update MockEnvironment / MockPropertySource types
...
Reflecting signature changes in getProperty() methods
14 years ago
Sam Brannen
ddc9bbb555
[SPR-6184] Simplifying ContextLoader implmementation:
...
- Removed AbstractGenericContextLoader's createGenericApplicationContext() method.
- AnnotationConfigContextLoader now uses an AnnotatedBeanDefinitionReader instead of working with an AnnotationConfigApplicationContext.
- AnnotationConfigContextLoader now uses the supplied GenericApplicationContext to load configuration classes.
14 years ago
Sam Brannen
68b4687311
[SPR-6184] completed JavaDoc for @ContextConfiguration .
14 years ago
Sam Brannen
a16f3ba9dc
[SPR-6184] completed JavaDoc for AnnotationConfigContextLoader; polished JavaDoc for other concrete context loaders.
14 years ago
Sam Brannen
174bf58308
[SPR-6184] added tests to verify support for @Configuration classes with TestNG; simplified existing TestNG tests using Spring 3.0 and 3.1 features.
14 years ago
Sam Brannen
522a879496
polishing
14 years ago
Sam Brannen
0584c26b2c
[SPR-6184] additional sanity check tests analogous to those developed for [SPR-3896].
14 years ago
Sam Brannen
22072b2414
[SPR-6184] polishing
14 years ago
Sam Brannen
ef79d7cc8a
[SPR-6184] Fleshed out JavaDoc for ResourceTypeAwareContextLoader and ContextLoaderUtils.
14 years ago
Sam Brannen
03961a81d6
Updated Eclipse code formatter settings for use with STS 2.6. Specifically, format_javadoc_comments=false, which requires that JavaDoc be formatted manually.
14 years ago
Sam Brannen
c50d38ef8d
[SPR-6184] Introduced ResourceType enum for context loaders; documented tests.
14 years ago
Sam Brannen
eba33b6156
polishing
14 years ago
Sam Brannen
4dcc79d6eb
[SPR-6184] Implemented recursive search for configuration classes; introduced LocationsResolver strategy in ContextLoaderUtils with ResourcePathLocationsResolver and ClassNameLocationsResolver implementations.
14 years ago
Sam Brannen
f3d125626d
[SPR-6184] Refactored internals of ContextLoaderUtils; @Ignore'd broken test.
14 years ago
Sam Brannen
293baeeb88
[SPR-6184] Updated TODOs.
14 years ago
Sam Brannen
523c090551
[SPR-6184] Added DefaultConfigClassInheritedTests to verify proper recursive search for configuration classes configured via @ContextConfiguration . This test is currently failing (as expected) and therefore @Ignore'd.
14 years ago
Sam Brannen
70f883303f
Removed unnecessary declaration of @TestExecutionListeners .
14 years ago
Sam Brannen
5373b43a53
[SPR-6184] Extracted ContextLoader resolution functionality from TestContext into a new ContextLoaderUtils utility class.
14 years ago
Sam Brannen
ad9c858bd2
[SPR-6184] Introduced ResourceTypeAwareContextLoader interface and removed dependency on AnnotationConfigContextLoader in TestContext.
14 years ago
Sam Brannen
a60487655c
polishing JavaDoc
14 years ago
Sam Brannen
744facbf64
[SPR-6184] Simplified AnnotationConfigContextLoader in TestContext.
14 years ago
Sam Brannen
dd4d6e63ae
[SPR-6184] AnnotationConfigContextLoader now generates a default configuration class name; fleshed out documentation of AnnotationConfigContextLoader; introduced sub-package and suite for configuration class tests.
14 years ago
Sam Brannen
ec1b230ae5
[SPR-6184] AnnotationConfigContextLoader now calls AnnotationConfigApplicationContext's register(Class<?>...) method in one go, via var-args.
14 years ago
Sam Brannen
732493951e
[SPR-6184] AnnotationConfigContextLoader now extends AbstractGenericContextLoader; added new extension points to AbstractGenericContextLoader.
14 years ago
Sam Brannen
10640233dc
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
14 years ago
Sam Brannen
334e4f2212
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
14 years ago
Sam Brannen
b50338fd32
[SPR-6184] Work in Progress
14 years ago
Sam Brannen
fa48a7b3a3
Updating JUnit and TestNG versions for IDEs and Maven.
14 years ago
Sam Brannen
726564c84d
Polishing and fixed broken support for @IfProfileValue in AbstractJpaTests (even though it's deprecated).
14 years ago
Sam Brannen
657b145ea2
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
14 years ago
Sam Brannen
c736e6b873
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
14 years ago