Commit Graph

21624 Commits

Author SHA1 Message Date
Sam Brannen
d3af831334 Now parameterizing with <?> where appropriate. 2009-04-30 00:58:08 +00:00
Sam Brannen
6327b3484b [SPR-5145] Improved test suite for SpringJUnit4ClassRunner: added specific unit tests for test timeouts, repeated tests, and expected exceptions. 2009-04-29 21:29:53 +00:00
Thomas Risberg
41423a9ab9 added some JavaConfig content 2009-04-29 21:14:01 +00:00
Thomas Risberg
15b33684a7 fixed JavaDoc 2009-04-29 21:12:45 +00:00
Sam Brannen
0fbafc0274 Removed unused package. 2009-04-29 19:01:39 +00:00
Sam Brannen
751e0f0eb7 [SPR-5145] Completed migration to JUnit 4.5: SpringJUnit4ClassRunner now extends BlockJUnit4ClassRunner and uses custom Statements; removed obsolete SpringMethodRoadie and SpringTestMethod classes. 2009-04-29 08:21:23 +00:00
Sam Brannen
b36f95bcee Corrected typos and sorted Eclipse classpath. 2009-04-28 21:45:14 +00:00
Sam Brannen
e5d2570c8d [SPR-5145] Adding custom JUnit 4.5 Statements. 2009-04-28 07:29:24 +00:00
Juergen Hoeller
8583026151 revised target class check for non-Spring CGLIB proxy variants (SPR-5694) 2009-04-27 22:54:39 +00:00
Juergen Hoeller
a2fdb68a0b fixed potential race condition through additional synchronization (SPR-5658) 2009-04-27 22:53:40 +00:00
Sam Brannen
2796e72de1 Updated JavaDoc for @TestExecutionListeners. 2009-04-27 22:49:34 +00:00
Mark Pollack
30967d3b20 Update docs to use of @Bean inside a @Component 2009-04-27 05:40:11 +00:00
Mark Pollack
c2f4f97fa5 Update docs to use of @Bean inside a @Component 2009-04-27 05:37:45 +00:00
Juergen Hoeller
cea8f7f69e 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 2009-04-26 11:41:06 +00:00
Juergen Hoeller
ac16101f98 polishing 2009-04-26 11:39:00 +00:00
Juergen Hoeller
423809543a polishing 2009-04-24 11:25:27 +00:00
Juergen Hoeller
77112ba80e updated AnnotationMetadata tests for change in Class exposure 2009-04-24 11:24:47 +00:00
Juergen Hoeller
b5d21108da @Configuration parsing fully relies on Spring's MetadataReader abstraction now 2009-04-24 11:16:46 +00:00
Keith Donald
37e1333a41 polish 2009-04-23 19:01:41 +00:00
Keith Donald
3a457dcec9 embedded database factory bean 2009-04-23 18:56:26 +00:00
Scott Andrews
f6e869163f updating Eclipse .classpath settings for Freemarker 2.3.15 upgrade 2009-04-23 14:13:03 +00:00
Keith Donald
eb4d1bf20e deleted old test data source factory 2009-04-22 21:29:47 +00:00
Keith Donald
d896a53ca8 polish 2009-04-22 21:16:22 +00:00
Keith Donald
adcbe27852 added pre destroy 2009-04-22 21:14:06 +00:00
Keith Donald
e783211f88 polish 2009-04-22 19:41:27 +00:00
Keith Donald
ec463a32ba added DataSourceFactory strategy; promoted EmbeddedDatabaseConfigurer strategy to public API; added ability to add any number of SQL scripts for db population 2009-04-22 19:31:46 +00:00
Andy Clement
d34a2c5d02 SPR-5663: test and fix: inconsistency between canRead() and read() on ReflectivePropertyResolver 2009-04-22 17:57:24 +00:00
Keith Donald
b1000cd5c6 embedded 2009-04-22 17:47:44 +00:00
Keith Donald
2e45a19be3 embedded database support initial commit; moved from spring-test; ResourceDatabasePopulator duplicate code with test.jdbc package that needs review 2009-04-22 17:07:20 +00:00
Arjen Poutsma
6fbd198420 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created 2009-04-22 12:57:30 +00:00
Arjen Poutsma
c1667687d5 SPR-5634 - OXM does not permit targetClass and mapping file for CastorMarshaller 2009-04-22 12:08:57 +00:00
Arjen Poutsma
de18d64b5c Upgraded to Rome 1.0 2009-04-22 11:44:59 +00:00
Juergen Hoeller
ea9d8925a2 next cut of JavaConfig metadata reading revision: using cached MetadataReaders 2009-04-22 10:46:24 +00:00
Andy Clement
4c42597cbc SPR-5673: fix for problems with expressions that use the same symbols as are used in the template prefix/suffix 2009-04-22 00:10:47 +00:00
Arjen Poutsma
dfa4b3e397 Javadoc 2009-04-21 22:16:32 +00:00
Arjen Poutsma
afa461892f SPR-5690 - Request header filtering in @RequestMapping 2009-04-21 22:03:51 +00:00
Keith Donald
b8b74db01a test datasource factory initial commit; needs review from Juergen on how to best make DataSource available as a Spring bean when desired 2009-04-21 21:31:16 +00:00
Chris Beams
4d509cebdb Temporarily ignoring GroovyScriptFactoryTests#testResourceScriptFromTag in order to allow more important fixes to roll out. 2009-04-21 18:14:08 +00:00
Chris Beams
7ba4c563a6 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.
2009-04-21 17:20:39 +00:00
Chris Beams
7d10d05b27 (temporarily) increasing visibility of the ConfigurationClassAnnotation interface in an attempt to resolve the issue encountered at http://is.gd/tCud 2009-04-21 16:24:54 +00:00
Arjen Poutsma
dc90319279 MediaType.parseMediaTypes now accepts null and "" 2009-04-21 13:41:15 +00:00
Ben Hale
6be62f30f1 Updated spring-build 2009-04-20 12:16:50 +00:00
Juergen Hoeller
10d8abea3b EntityResolvers and DefaultNamespaceHandlerResolver support concurrent access now (SPR-5679) 2009-04-20 12:07:00 +00:00
Juergen Hoeller
e54a44b577 refined sequence of registration calls 2009-04-20 11:20:01 +00:00
Juergen Hoeller
9306d6dbaa serialize full Pattern objects 2009-04-20 11:14:28 +00:00
Juergen Hoeller
14bd475519 revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility) 2009-04-19 23:45:31 +00:00
Juergen Hoeller
736169aa2a revised WebApplicationContext lookup 2009-04-19 22:28:31 +00:00
Juergen Hoeller
4cf573ba98 updated to FreeMarker 2.3.15 (SPR-4962) 2009-04-19 22:22:56 +00:00
Juergen Hoeller
58a458986f polishing 2009-04-19 20:36:33 +00:00
Juergen Hoeller
64321755b6 moved Scope annotation to local test package 2009-04-19 20:35:32 +00:00