Commit Graph

1077 Commits

Author SHA1 Message Date
Sam Brannen c291959f09 [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@1081 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-30 01:04:39 +00:00
Sam Brannen 2192619936 Corrected grammar and spelling mistakes in reference manual.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1080 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-30 01:03:44 +00:00
Sam Brannen 9f02216365 Added Eclipse project settings to the reference documentation so that the documentation can be more easily edited and built within Eclipse.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1079 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-30 00:59:09 +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
Thomas Risberg 84a3cb868a added some JavaConfig content
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1076 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:14:01 +00:00
Thomas Risberg 3fa3fcac40 fixed JavaDoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1075 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:12:45 +00:00
Sam Brannen 644df35108 Removed unused package.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1074 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 19:01:39 +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
Juergen Hoeller 6747b751be revised target class check for non-Spring CGLIB proxy variants (SPR-5694)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1070 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 22:54:39 +00:00
Juergen Hoeller d7836b9fcc fixed potential race condition through additional synchronization (SPR-5658)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1069 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 22:53:40 +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
Mark Pollack ad7fd374b0 Update docs to use of @Bean inside a @Component
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1067 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 05:40:11 +00:00
Mark Pollack 2c12a0582f Update docs to use of @Bean inside a @Component
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1066 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 05:37:45 +00:00
Juergen Hoeller 906adab5a4 custom stereotype annotations can be meta-annotated with @Service, @Controller etc as well; @Scope and @Transactional are now supported as meta-annotations on custom annotations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1065 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-26 11:41:06 +00:00
Juergen Hoeller 72a131cf34 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1064 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-26 11:39:00 +00:00
Juergen Hoeller e6a1566854 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1063 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:25:27 +00:00
Juergen Hoeller a2ca813ce2 updated AnnotationMetadata tests for change in Class exposure
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1062 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:24:47 +00:00
Juergen Hoeller bf86e7cc9d @Configuration parsing fully relies on Spring's MetadataReader abstraction now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1061 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:16:46 +00:00
Keith Donald 539f9b3575 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1060 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-23 19:01:41 +00:00
Keith Donald f51b5811c4 embedded database factory bean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1059 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-23 18:56:26 +00:00
Scott Andrews a7784bf36d updating Eclipse .classpath settings for Freemarker 2.3.15 upgrade
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1058 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-23 14:13:03 +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 58ab4af395 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1056 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 21:16:22 +00:00
Keith Donald e6b63d73f6 added pre destroy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1055 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 21:14:06 +00:00
Keith Donald cd9c3c880a polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1054 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 19:41:27 +00:00
Keith Donald 28ae04ead2 added DataSourceFactory strategy; promoted EmbeddedDatabaseConfigurer strategy to public API; added ability to add any number of SQL scripts for db population
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1053 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 19:31:46 +00:00
Andy Clement 95ea243026 SPR-5663: test and fix: inconsistency between canRead() and read() on ReflectivePropertyResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1052 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:57:24 +00:00
Keith Donald bab98498d0 embedded
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1051 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:47:44 +00:00
Keith Donald 812e7272d5 embedded database support initial commit; moved from spring-test; ResourceDatabasePopulator duplicate code with test.jdbc package that needs review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1050 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 17:07:20 +00:00
Arjen Poutsma 9818f88199 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1049 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 12:57:30 +00:00
Arjen Poutsma 359af039a5 SPR-5634 - OXM does not permit targetClass and mapping file for CastorMarshaller
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1048 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 12:08:57 +00:00
Arjen Poutsma a9747a6c70 Upgraded to Rome 1.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 11:44:59 +00:00
Juergen Hoeller 3eae3501e8 next cut of JavaConfig metadata reading revision: using cached MetadataReaders
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1046 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 10:46:24 +00:00
Andy Clement 2bc6cb756c SPR-5673: fix for problems with expressions that use the same symbols as are used in the template prefix/suffix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1045 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 00:10:47 +00:00
Arjen Poutsma c9794c0f02 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1044 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 22:16:32 +00:00
Arjen Poutsma f3fd3fa245 SPR-5690 - Request header filtering in @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1043 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 22:03:51 +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
Chris Beams 79cf4ce20a Temporarily ignoring GroovyScriptFactoryTests#testResourceScriptFromTag in order to allow more important fixes to roll out.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1041 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 18:14:08 +00:00
Chris Beams 8217d81d02 Fixing build breakage with GroovyScriptFactoryTests.
The problem was that the Messenger object was not being proxed (assertTrue(AopUtils.isAopProxy(messenger)) was returning false).  The cause for this seemed to be that the
pointcut was malformed / out of date, reading execution(* org.springframework.scripting.Messenger.*(..)), when the groovy Messenger class is actually declared in the org.springframework.scripting.groovy package.
I tried updating the fully-qualified package name in the pointcut expression, and this caused AspectJ matching errors saying that there was not such type that matches that FQ name.
So as a final resort, I removed the full-qualification entirely and went with execution(* *..Messenger.*(..)).  All tests pass now, but it raises the question, why was AJ having matching errors?  Is it because
the pointcut matching is being done before the groovy class is loaded?  There could be a potential bug here.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1040 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 17:20:39 +00:00
Chris Beams 95d6f50fc8 (temporarily) increasing visibility of the ConfigurationClassAnnotation interface in an attempt to resolve the issue encountered at http://is.gd/tCud
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1039 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 16:24:54 +00:00
Arjen Poutsma 24c7108e76 MediaType.parseMediaTypes now accepts null and ""
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1038 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 13:41:15 +00:00
Ben Hale 4ed4544a88 Updated spring-build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1037 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-20 12:16:50 +00:00
Juergen Hoeller c8ee279f7c EntityResolvers and DefaultNamespaceHandlerResolver support concurrent access now (SPR-5679)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1036 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-20 12:07:00 +00:00
Juergen Hoeller 9ef50ddc98 refined sequence of registration calls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1035 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-20 11:20:01 +00:00
Juergen Hoeller ba2fe0879a serialize full Pattern objects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1034 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-20 11:14:28 +00:00
Juergen Hoeller b4b61316a7 revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1033 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 23:45:31 +00:00
Juergen Hoeller 0926cf79e6 revised WebApplicationContext lookup
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1032 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 22:28:31 +00:00