Sam Brannen
3f58da1cd6
[SPR-7326] Added unit tests to verify proper semantics of TestContext's cache key generation.
2011-06-03 21:38:05 +00:00
Sam Brannen
da41c9bb11
polishing
2011-06-03 16:19:41 +00:00
Sam Brannen
0d4469d8e3
Suppressing warnings for deprecation of SimpleJdbcTemplate; polishing JavaDoc; using TestNG assertions in TestNG tests.
2011-06-03 14:10:16 +00:00
Sam Brannen
266e1096ce
polishing
2011-06-03 13:40:45 +00:00
Sam Brannen
2b17ee0911
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
2011-06-03 13:39:15 +00:00
Sam Brannen
39583d23fd
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
2011-06-03 13:11:06 +00:00
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
2011-06-02 17:51:37 +00:00
Sam Brannen
ac735d73ac
[SPR-7960][SPR-8386] First draft of SmartContextLoader SPI, MergedContextConfiguration, and ContextConfigurationAttributes.
2011-06-02 14:45:22 +00:00
Sam Brannen
ff2a603f2f
[SPR-7960] Trimming profiles for good measure.
2011-06-01 15:04:34 +00:00
Sam Brannen
24a97805ef
[SPR-7960] Renamed @ActivateProfiles to @ActiveProfiles and fleshed out JavaDoc.
2011-06-01 14:40:53 +00:00
Sam Brannen
3a2afde41d
[SPR-7960] Renamed resolveActivatedProfiles() to resolveActiveProfiles().
2011-06-01 12:59:47 +00:00
Sam Brannen
f64344b296
[SPR-7960] resolveActivatedProfiles() now resolves a unique set of activated profiles
2011-06-01 12:56:50 +00:00
Sam Brannen
6981ee566c
[SPR-7960] No longer tracking empty activated profiles.
2011-05-31 22:29:14 +00:00
Sam Brannen
f5a39ae7ff
[SPR-7960] Initial support for @ActivateProfiles in tests.
2011-05-30 21:59:12 +00:00
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.
2011-04-09 22:44:53 +00:00
Sam Brannen
522a879496
polishing
2011-04-09 21:40:08 +00:00
Sam Brannen
0584c26b2c
[SPR-6184] additional sanity check tests analogous to those developed for [SPR-3896].
2011-04-09 21:39:42 +00:00
Sam Brannen
c50d38ef8d
[SPR-6184] Introduced ResourceType enum for context loaders; documented tests.
2011-04-08 22:57:45 +00:00
Sam Brannen
4dcc79d6eb
[SPR-6184] Implemented recursive search for configuration classes; introduced LocationsResolver strategy in ContextLoaderUtils with ResourcePathLocationsResolver and ClassNameLocationsResolver implementations.
2011-04-03 23:10:28 +00:00
Sam Brannen
f3d125626d
[SPR-6184] Refactored internals of ContextLoaderUtils; @Ignore'd broken test.
2011-04-03 17:45:20 +00:00
Sam Brannen
293baeeb88
[SPR-6184] Updated TODOs.
2011-04-03 17:23:57 +00:00
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.
2011-04-03 17:22:43 +00:00
Sam Brannen
70f883303f
Removed unnecessary declaration of @TestExecutionListeners.
2011-04-03 17:20:02 +00:00
Sam Brannen
ad9c858bd2
[SPR-6184] Introduced ResourceTypeAwareContextLoader interface and removed dependency on AnnotationConfigContextLoader in TestContext.
2011-04-03 16:37:24 +00:00
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.
2011-04-03 14:37:29 +00:00
Sam Brannen
732493951e
[SPR-6184] AnnotationConfigContextLoader now extends AbstractGenericContextLoader; added new extension points to AbstractGenericContextLoader.
2011-03-30 23:50:19 +00:00
Sam Brannen
10640233dc
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
2011-03-29 23:42:59 +00:00
Sam Brannen
334e4f2212
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
2011-03-29 23:38:37 +00:00
Sam Brannen
b50338fd32
[SPR-6184] Work in Progress
2011-03-28 21:45:14 +00:00
Sam Brannen
657b145ea2
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
2011-03-28 14:43:01 +00:00
Sam Brannen
6926e0f563
Suppressing warnings, polishing JavaDoc, etc.
2011-02-08 22:50:45 +00:00
Sam Brannen
69cbadf7e9
[SPR-6918] Now verifying support for @Value in conjunction with the Spring TestContext Framework.
2010-03-19 12:57:17 +00:00
Juergen Hoeller
ac5c75690a
fixed test failures
2010-03-12 20:55:44 +00:00
Juergen Hoeller
bb75662a7e
@Transactional qualifiers work in unit tests as well (SPR-6892)
2010-03-12 20:44:41 +00:00
Sam Brannen
80b8fb8b83
[SPR-6879] @DirtiesContext is now an @Inherited annotation.
2010-02-23 17:43:00 +00:00
Costin Leau
9a111e504f
SPR-6194
...
+ add setter for servlet minor version to MockServletContext
2009-11-09 11:51:30 +00:00
Sam Brannen
1b92a2fae1
[SPR-6124] Verified that timed transactional tests fail with the TestNG integration in the TestContext framework.
2009-10-26 13:38:59 +00:00
Sam Brannen
02dfe94396
[SPR-6128] Verified that claims raised in this issue no longer apply.
2009-10-26 13:00:04 +00:00
Sam Brannen
c200715076
Now verifying support for @Named as well.
2009-10-06 21:10:06 +00:00
Sam Brannen
710ae3a9d2
SpringJUnit4ClassRunnerAppCtxTests now verifies seamless support for using @Inject in addition to @Autowired, etc.
2009-10-05 22:08:01 +00:00
Sam Brannen
f1bfcf0d25
[SPR-6104] @TestExecutionListeners now supports a 'listeners' alias for its existing 'value' attribute.
2009-09-13 13:55:34 +00:00
Sam Brannen
f9f9b431a6
[SPR-4643] SpringJUnit4ClassRunner now optionally calls JUnit 4.7's BlockJUnit4ClassRunner.withRules() method using reflection in order to provide backward compatibility with JUnit 4.5 and 4.6.
2009-09-07 21:03:32 +00:00
Sam Brannen
0a781f3084
Including HibernateSessionFlushingTests in the suite.
2009-09-01 17:33:29 +00:00
Sam Brannen
984504735e
[SPR-6011] SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests.
2009-08-28 17:28:25 +00:00
Sam Brannen
eda193fc98
Added assertPersonCount() functionality for increased robustness.
2009-08-28 09:23:02 +00:00
Sam Brannen
ee1938eb74
[SPR-5315][SPR-5699] Reverted changes to TransactionalTestExecutionListener: transactions are no longer automatically flushed before rolling back.
2009-07-21 11:03:59 +00:00
Sam Brannen
fc79d98b6a
[SPR-5916] ContextLoader class is now inherited from class hierarchy if not specified explicitly via @ContextConfiguration's loader attribute on the current test class.
2009-07-20 09:35:33 +00:00
Sam Brannen
ba27c29dc4
[SPR-5916] polishing.
2009-07-16 13:50:54 +00:00
Sam Brannen
29327798c1
[SPR-5699] Investigating issues surrounding automatic flushing of the underlying ORM tool's session via TransactionalTestExecutionListener.
2009-07-11 16:45:48 +00:00
Sam Brannen
696d78c144
[SPR-5914] ProfileValueUtils now properly ensures that class-level usage of @IfProfileValue overrides method-level usage.
2009-07-10 11:45:31 +00:00