Commit Graph

47 Commits

Author SHA1 Message Date
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
Sam Brannen 545a704833 [SPR-5713] Added 'value' alias for @ContextConfiguration's 'locations' attribute.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1088 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 07:37:14 +00:00
Sam Brannen 075c28f8e1 [SPR-5710] Subclasses of SpringJUnit4ClassRunner can now override the default ContextLoader class via the new getDefaultContextLoaderClassName(Class) method.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1086 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-02 23:24:48 +00:00
Sam Brannen 144ebcf793 Now parameterizing with <?> where appropriate.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1078 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-30 00:58:08 +00:00
Sam Brannen 4da2be7e7a [SPR-5145] Improved test suite for SpringJUnit4ClassRunner: added specific unit tests for test timeouts, repeated tests, and expected exceptions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1077 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:29:53 +00:00
Sam Brannen 24e41d8822 [SPR-5145] Completed migration to JUnit 4.5: SpringJUnit4ClassRunner now extends BlockJUnit4ClassRunner and uses custom Statements; removed obsolete SpringMethodRoadie and SpringTestMethod classes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1073 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 08:21:23 +00:00
Sam Brannen 6d24e650e4 Corrected typos and sorted Eclipse classpath.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1072 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-28 21:45:14 +00:00
Sam Brannen 7f6d65ecf2 [SPR-5145] Adding custom JUnit 4.5 Statements.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1071 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-28 07:29:24 +00:00
Sam Brannen 6c3dd342fe Updated JavaDoc for @TestExecutionListeners.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1068 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 22:49:34 +00:00
Keith Donald f48f1a1222 deleted old test data source factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1057 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 21:29:47 +00:00
Keith Donald 0898f09f97 test datasource factory initial commit; needs review from Juergen on how to best make DataSource available as a Spring bean when desired
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1042 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 21:31:16 +00:00
Juergen Hoeller 99204cbf73 officially deprecated AbstractJpaTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@981 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-12 21:16:12 +00:00
Juergen Hoeller 8af560b4f4 added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@655 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 00:24:05 +00:00
Juergen Hoeller 18e805eac2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@652 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:51:03 +00:00
Juergen Hoeller 633c97ba00 consistent copies of mocks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@556 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-20 18:01:26 +00:00
Juergen Hoeller 81880e175a consistent mock behavior
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@554 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-19 23:35:42 +00:00
Juergen Hoeller d3ee9dd17f Portlet mocks support Portlet API 2.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@539 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-14 09:34:07 +00:00
Chris Beams e2be4d919c reverting accidentally deleted (in r469) mock/web/* classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@473 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 22:16:16 +00:00
Juergen Hoeller 458996fdc3 got rid of Commons Collections dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@470 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 19:14:49 +00:00
Juergen Hoeller cd564b27d4 removed dependency on Servlet API mocks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@469 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 19:13:35 +00:00
Chris Beams 410e80fe3c + updated petclinic dependency metadata from junit 4.4->4.5; servlet 2.4->2.5
+ deprecated AssertThrows (slated for complete removal by 3.0 GA)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@466 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 18:32:05 +00:00
Chris Beams 2796c55974 Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:50:25 +00:00
Chris Beams b2f575b032 moving unit tests from .testsuite -> .test, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@451 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 16:28:56 +00:00
Chris Beams 761b389ad8 moving .test.* unit tests from .testsuite -> .test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@449 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 07:32:58 +00:00
Chris Beams 8ece02fe53 moving unit tests from .testsuite -> .orm
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@445 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 05:33:45 +00:00
Chris Beams f01b92fb17 moving .jndi, .mail and .mock.web unit tests from .testsuite to .context, .context.support, and .test bundles respectively
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@444 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 02:20:01 +00:00
Juergen Hoeller f1446d25ac fixed header value type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@351 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-05 07:07:06 +00:00
Juergen Hoeller de47460b8e consistent use of model name Strings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@344 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 21:24:42 +00:00
Juergen Hoeller 1a0214e518 updated mocks to Servlet 2.5 and JSP 2.1 API level
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@343 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 21:23:23 +00:00
Juergen Hoeller a0dfb69aaa Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@341 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 00:27:52 +00:00
Juergen Hoeller 705c1c6b03 added JUnit 4.5 compatibility note
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@320 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 22:28:00 +00:00
Juergen Hoeller 7fbe9b7190 basic JUnit 4.5 compatibility (accepting use of deprecated SPI)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@315 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 21:33:08 +00:00
Juergen Hoeller a5253bec7f EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@305 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 02:10:53 +00:00
Arjen Poutsma 7c66b1accd Moved tests over from testsuite to test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@188 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-29 13:58:15 +00:00
Arjen Poutsma 65821578e7 Initial import of test module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@134 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-27 11:59:27 +00:00