- 22 10月, 2012 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, utility methods in JdbcTestUtils interpreted SQL comments as separate statements, resulting in an exception when such a script is executed. This commit addresses this issue by introducing a readScript(lineNumberReader, String) method that accepts a comment prefix. Comment lines are therefore no longer returned in the parsed script. Furthermore, the existing readScript(lineNumberReader) method now delegates to this new readScript() method, supplying "--" as the default comment prefix. Issue: SPR-9593
-
- 20 10月, 2012 2 次提交
-
-
由 Sam Brannen 提交于
Renamed WebTestExecutionListener to ServletTestExecutionListener.
-
由 Sam Brannen 提交于
ModelAndViewAssert now uses assertion methods in the newly introduced AssertionErrors class.
-
- 19 10月, 2012 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 17 10月, 2012 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Sam Brannen 提交于
-
- 16 10月, 2012 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 15 10月, 2012 1 次提交
-
-
由 Phillip Webb 提交于
Add unit test for DefaultMessageCodesResolver
-
- 14 10月, 2012 3 次提交
-
-
由 Sam Brannen 提交于
SpringRunnerContextCacheTests suffers from JDK7-related non-determinism in values returned from Class#getDeclaredMethods(), which in turn affects JUnit and its execution of @test methods. This commit addresses this issue by introducing an OrderedMethodsSpringJUnit4ClassRunner that sorts the test methods alphabetically, which is actually required for SpringRunnerContextCacheTests to work properly. Issue: SPR-9789
-
由 Sam Brannen 提交于
This commit introduces RequestAndSessionScopedBeansWacTests which verifies support for request and session scoped beans in the Spring TestContext Framework (TCF). This support was actually introduced as an intentional side effect of the work performed for SPR-5243 through the addition of the new WebTestExecutionListener. Issue: SPR-4588
-
由 Sam Brannen 提交于
Issue: SPR-9864
-
- 13 10月, 2012 22 次提交
-
-
由 Phillip Webb 提交于
Conversion to and from UUID objects is now supported by the DefaultConversionService. Issue: SPR-9765
-
由 Phillip Webb 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-9857
-
由 Juergen Hoeller 提交于
Reverted change for @Bean methods that declare FactoryBean as their return type: The effects of trying to create the FactoryBean to find out about its implementation type are too far-reaching. It's better to recommend declaring a specific return type in the method signature if you want the container to specifically react to your implementation type. Issue: SPR-9857
-
由 Juergen Hoeller 提交于
Includes a change for factory methods that declare their return type as FactoryBean: When asked for a specific type match (e.g. LoadTimeWeaverAware), we do check early singleton instances as well (reusing the instances that we create for getObjectType checks). This is necessary in order to make @Bean method introspection as capable as XML bean definition introspection, even in case of the @Bean method using a generic FactoryBean declaration for its return type (instead of the FactoryBean impl class). Issue: SPR-9857
-
由 Juergen Hoeller 提交于
Issue: SPR-9448
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-9448
-
由 Juergen Hoeller 提交于
Includes a change for factory methods that declare their return type as FactoryBean: When asked for a specific type match (e.g. LoadTimeWeaverAware), we do check early singleton instances as well (reusing the instances that we create for getObjectType checks). This is necessary in order to make @Bean method introspection as capable as XML bean definition introspection, even in case of the @Bean method using a generic FactoryBean declaration for its return type (instead of the FactoryBean impl class). Issue: SPR-9857
-
由 Juergen Hoeller 提交于
Issue: SPR-9867
-
由 Juergen Hoeller 提交于
Issue: SPR-9869
-
由 Juergen Hoeller 提交于
Issue: SPR-9865
-
由 Juergen Hoeller 提交于
Issue: SPR-9630
-
由 Phillip Webb 提交于
* SPR-9284: Allow MapToMap conversion to work when the target map does not have a default constructor (as long as a new map copy is not required). Polish trailing whitespace
-
由 Phillip Webb 提交于
default constructor (as long as a new map copy is not required). Issue: SPR-9284
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
* SPR-9017: SpEL support for methods and properties on class … Remove trailing whitespace
-
由 Phillip Webb 提交于
Update the ReflectiveMethodResolver and ReflectivePropertyAccessor to allow methods and properties of java.lang.Class to be resolved when the target object is a class. Issue: SPR-9017
-
由 Phillip Webb 提交于
-
由 Chris Beams 提交于
# By Phillip Webb * SPR-9851: Prevent memory leaks with @Configuration beans
-
由 Phillip Webb 提交于
Refactor ConfigurationClassEnhancer to allow cglib caching of generated classes. Prior to this commit each enhanced @Configuration class would consume permgen space when created. The CallbackFilter and Callback Types are now defined as static final members so that they can be shared by all enhancers. Only the callbackInstances remain specific to a @Configuration class and these are not used by cglib as part of the cache key. Issue: SPR-9851
-
- 12 10月, 2012 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
This change ensures that when the Accept and the Producible media types are equally specific, we use the one from the Accept header, which may for example carry a different charset.
-
由 Rossen Stoyanchev 提交于
Remove use of UriTemplate in MockMvcRequestBuilders. Rely on UriComponentsBuilder instead. Decode query params before setting them on MockHttpServletRequest. Add more options to model result matching for the count of errors. Ignore white spaces and comments when comparing XML.
-
- 11 10月, 2012 2 次提交
-
-
由 Phillip Webb 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-9797
-