Commit Graph

84 Commits

Author SHA1 Message Date
Sam Brannen 084ef7ce58 Now verifying support for @Named as well.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2057 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-06 21:10:06 +00:00
Sam Brannen 3a7c2ffa6b SpringJUnit4ClassRunnerAppCtxTests now verifies seamless support for using @Inject in addition to @Autowired, etc.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2053 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 22:08:01 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Sam Brannen c0d38136cc [SPR-6104] @TestExecutionListeners now supports a 'listeners' alias for its existing 'value' attribute.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1872 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-13 13:55:34 +00:00
Sam Brannen aca7cf4c58 [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.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1835 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 21:03:32 +00:00
Sam Brannen 5e9f8ac4ce Including HibernateSessionFlushingTests in the suite.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1795 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-01 17:33:29 +00:00
Sam Brannen f2e434b960 [SPR-4702] now updating TestContext state before calling before/after test class life cycle callbacks.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1794 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-01 17:33:12 +00:00
Sam Brannen f2a3b079ad [SPR-6011] SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1786 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 17:28:25 +00:00
Sam Brannen 94b16a169b Added assertPersonCount() functionality for increased robustness.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1784 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 09:23:02 +00:00
Arjen Poutsma db7751e5ee SPR-2784: Support MultipartFile-array property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1783 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 09:15:19 +00:00
Sam Brannen 9bfc5b6d28 [SPR-6043] @NotTransactional is now deprecated
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1769 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 23:23:07 +00:00
Sam Brannen d26121edbd [SPR-5995] Updated documentation regarding compatibility with JUnit 4.5, 4.6, and 4.7.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1764 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 13:13:06 +00:00
Sam Brannen 0c3f4fc03b [SPR-5995] Renamed makeNotifier() to springMakeNotifier() in order to allow compatibility with JUnit 4.5, 4.6, and 4.7.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1763 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 12:37:59 +00:00
Sam Brannen 9183af2c2e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1749 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 12:14:57 +00:00
Sam Brannen 97efe7bffe [SPR-4702] Updated JavaDoc regarding before/after test class lifecycle callbacks.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1748 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-22 21:50:02 +00:00
Sam Brannen bf095ba26b Polishing test annotation declarations and JavaDoc.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1747 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-21 11:44:38 +00:00
Sam Brannen 2dda490944 [SPR-5963] Upgraded to JUnit 4.7
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1731 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-11 10:12:20 +00:00
Juergen Hoeller eedfe34258 turned requestedSessionId into a settable property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1701 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 22:01:46 +00:00
Sam Brannen a3e99abeb7 [SPR-5315][SPR-5699] Reverted changes to TransactionalTestExecutionListener: transactions are no longer automatically flushed before rolling back.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 11:03:59 +00:00
Sam Brannen 9e529d9b42 [SPR-5916] polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1562 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-20 12:14:56 +00:00
Sam Brannen 2d1d61cb0f [SPR-5916] ContextLoader class is now inherited from class hierarchy if not specified explicitly via @ContextConfiguration's loader attribute on the current test class.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1561 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-20 09:35:33 +00:00
Sam Brannen b9f726f7aa [SPR-5916] polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1550 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 13:50:54 +00:00
Sam Brannen 27b6c0d7cc [SPR-5699] Investigating issues surrounding automatic flushing of the underlying ORM tool's session via TransactionalTestExecutionListener.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1519 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-11 16:45:48 +00:00
Sam Brannen c4b5960c13 [SPR-5914] ProfileValueUtils now properly ensures that class-level usage of @IfProfileValue overrides method-level usage.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1507 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 11:45:31 +00:00
Andy Clement f4a52f32b3 SPR-5906: test and fix for using expressions in property list keys and values
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1485 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 20:13:18 +00:00
Sam Brannen d6aec2552e [SPR-5902] JavaDoc polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1481 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 22:36:47 +00:00
Sam Brannen bcc57cf59a [SPR-5640] polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1479 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:24:34 +00:00
Sam Brannen 4f9c1bf118 [SPR-5640] Added support for marking the test application context as 'dirty' after each test method within a given test class via the new DirtiesContext.classMode() attribute.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:17:16 +00:00
Sam Brannen aa84e3a83b [SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods with TestNG support classes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1474 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 15:08:06 +00:00
Sam Brannen a9c12b58bf [SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 14:48:27 +00:00
Sam Brannen f7e112955e [SPR-4702] JavaDoc updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1472 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 13:41:01 +00:00
Sam Brannen edab801f88 [SPR-4702] Added support for @DirtiesContext at the test class level.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1471 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 12:58:56 +00:00
Sam Brannen 4ec91c47c3 Polishing: suppressing warnings.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1470 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-05 21:29:28 +00:00
Sam Brannen efa98d3ff4 [SPR-4702] Improving JavaDoc for TestExecutionListener.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1469 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-05 11:50:19 +00:00
Sam Brannen e3576d4f4a [SPR-5887] Upgraded to JUnit 4.6.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1465 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 11:21:39 +00:00
Sam Brannen 5d53a1845b [SPR-5889] Renaming TestNG tests from *Tests_ back to *Tests, but keeping @org.junit.Ignore to exclude them from the JUnit test run.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1463 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 09:57:19 +00:00
Sam Brannen 887f8b3c10 [SPR-5887] Upgraded to JUnit 4.6.0.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-02 18:07:55 +00:00
Chris Beams 49b6bbc8fa RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Sam Brannen 01023ec911 Updated regarding generics; fixed typos.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1245 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 09:04:05 +00:00
Sam Brannen 5c6d624912 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1244 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 08:59:01 +00:00
Sam Brannen 0e6c482e46 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1243 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 08:58:27 +00:00
Sam Brannen 500249c449 Corrected typos and polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1242 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-24 16:30:13 +00:00
Sam Brannen 29df13b1f5 Suppressing serialization warnings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1212 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 15:33:45 +00:00
Sam Brannen 753f2ed8cf Updated copyright.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1208 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 10:22:40 +00:00
Sam Brannen 227fe9afd4 Spring TestContext Framework autowiring tests now include an explicit test for the @Autowired-@Qualifier combination.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1207 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 10:22:03 +00:00
Juergen Hoeller 8a49660e47 replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1166 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:37:43 +00:00
Sam Brannen 3390a1571d [SPR-5713] JavaDoc polishing for @ContextConfiguration.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1125 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 22:52:27 +00:00
Sam Brannen af6c34d79b [SPR-5145] Updated package.html files regarding upgrade to JUnit 4.5.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1112 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 07:37:25 +00:00
Sam Brannen a600ccc38c [SPR-5145] Updated reference manual regarding upgrade to JUnit 4.5; additional improvements in the testing chapter as well.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1110 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 06:25:03 +00:00
Juergen Hoeller f70e482841 renamed "contextProperties" attribute to "contextParameters" (matching web.xml naming); "contextParameters" contains Servlet/PortletConfig parameters as well; added default "servletContext" and "servletConfig" environment beans; added default "portletContext" and "portletConfig" environment beans; added default web scope "application", wrapping a ServletContext/PortletContext; MockPortletSession supports destruction of session attributes on invalidation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1094 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 12:12:01 +00:00