- 06 12月, 2012 2 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-9982, SPR-10075
-
由 Sam Brannen 提交于
Prior to this commit, executing an SQL script via ResourceDatabasePopulator would fail if a statement in the script contained a line comment within the statement. This commit ensures that standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) are properly omitted from the statement before executing it. In addition, multiple adjacent whitespace characters within a statement, but outside a literal, are now collapsed into a single space. Issue: SPR-10075
-
- 05 12月, 2012 10 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, executing an SQL script with JdbcTestUtils would fail if a statement in the script contained a line comment within the statement. This commit ensures that standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) are properly omitted from the statement before executing it. In addition, multiple adjacent whitespace characters within a statement but outside a literal are now collapsed into a single space. Issue: SPR-9982
-
由 Rossen Stoyanchev 提交于
The @ModelAttribute javadoc now explicitly mentions that model content is not available after an Exception is raised. This is a very common question given that @ExceptionHandler methods are co-located with @ModelAttribute and @RequestMapping methods. Issue: SPR-10071
-
由 Sam Brannen 提交于
This commit upgrades the compile dependency on JUnit in the spring-test module as well as the global test dependency on JUnit for the entire test suite to 4.11 GA. In addition, the spring-test module now depends on junit:junit instead of junit:junit-dep since, as of JUnit 4.11, the "junit" Maven artifact no longer inlines hamcrest-core. Issue: SPR-10044
-
由 Sam Brannen 提交于
Issue: SPR-8116, SPR-10074
-
由 Sam Brannen 提交于
Documented why static nested test cases in the spring-test module are ignored, explaining that such "TestCase classes are run manually by the enclosing test class". Prior to the migration to Gradle (i.e., with Spring Build), these tests would not have been picked up by the test suite since they end with a "TestCase" suffix instead of "Test" or "Tests". Re-enabled HibernateMultiEntityManagerFactoryIntegrationTests. For the remaining tests that were disabled as a result of the migration to Gradle, comments have been added to the @Ignore declarations. Issue: SPR-8116, SPR-9398
-
由 Phillip Webb 提交于
* spring-aspects-dependencies: Replace dependency to aspectjrt with aspectjweaver
-
由 Fredrik Sundberg 提交于
Replace the gradle dependency on aspectjrt with aspectjweaver since aspectjrt is a subset of aspectjweaver and the full jar is required by Spring. SPR-8896 fixed the original code issue, this change just relates to the generated maven pom. Issue: SPR-10072
-
由 Phillip Webb 提交于
Upgrade to docbook-reference-plugin v0.2.2 and remove custom xsl styles in favor of plugin defaults. Modify some docbook source files to work with newer style.
-
由 Sam Brannen 提交于
- Defined global slf4jVersion as '1.6.1' in the Gradle build. - Replaced dependencies on slf4j-log4j12 with slf4j-jcl where possible; however, spring-test-mvc still depends on jcl-over-slf4j and slf4j-log4j12 (see SPR-10070). - Reenabled HibernateSessionFlushingTests. - Verified that the following tests pass in the Gradle build and within Eclipse: - HibernateSessionFlushingTests - HibernateTransactionManagerTests (Hibernate 3) - HibernateTransactionManagerTests (Hibernate 4) - RequestResponseBodyMethodProcessorTests Issue: SPR-9421, SPR-10066
-
由 Sam Brannen 提交于
The previous commit by Juergen Hoeller upgraded spring-orm's Hibernate 3 dependency to 3.3.2.GA, and this commit removes the now unnecessary dependency on org.hibernate:hibernate-cglib-repack:2.1_3. Issue: SPR-10066
-
- 04 12月, 2012 15 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Transaction timeouts for JPA translate to "javax.persistence.query.timeout" only (for EclipseLink compatibility) Issue: SPR-10068
-
由 Sam Brannen 提交于
The Javadoc in MockMvcClientHttpRequestFactoryTests had been copied and pasted from WebAppResourceTests. This commit updates the documentation in MockMvcClientHttpRequestFactoryTests to reflect what the tests do.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit introduces the missing isExecuted() method in MockClientHttpRequest and improves the documentation for execute() and executeInternal().
-
由 Sam Brannen 提交于
This commit ensures that EasyMock version 2.5.2 is used consistently across the test suite. This applies to both the easymock and easymockclassextension artifacts. Using the same version for both of these artifacts helps to better align us for a future upgrade to EasyMock 3.0 since the Class Extension artifact is deprecated in 3.x releases of the library. Issue: SPR-10069
-
由 Sam Brannen 提交于
This commit relocates recently introduced web artifacts in the TestContext framework to the ~.test.context.web package and renames some classes for consistency with the existing code base. - introduced package-info.java in the web package. - ServletTestExecutionListener now extends AbstractTestExecutionListener instead of implementing TestExecutionListener. - relocated AbstractGenericWebContextLoader, AnnotationConfigWebContextLoader, XmlWebContextLoader, and WebDelegatingSmartContextLoader to the web package. - renamed XmlWebContextLoader to GenericXmlWebContextLoader for consistency with GenericXmlContextLoader. - changed the visibility of AbstractDelegatingSmartContextLoader and AnnotationConfigContextLoaderUtils to public. Issue: SPR-10067
-
由 Sam Brannen 提交于
This commit fixes recently introduced formatting errors in the Javadoc of TransactionalTestExecutionListener.
-
由 Rossen Stoyanchev 提交于
The FormHttpMessageConverter now adds Jackson JSON converters (version 1.x or 2.x) if available on the classpath. Issue: SPR-10055
-
由 Rossen Stoyanchev 提交于
The tiles-request-servlet-wildcard contained only one class that is an implementation of the tiles-request ServletApplicationContext using a Spring ApplicationContext to look up resources. It makes sense for this class to be part of the Spring Tiles 3 integration. Issue: SPR-10054
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10048
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10053
-
由 Sam Brannen 提交于
- fixed typo - spring-test-mvc now builds against Hibernate Validator 4.3
-
- 01 12月, 2012 2 次提交
-
-
由 Rob Winch 提交于
Previously when running the tests for spring-web, spring-webmvc, spring-test-mvc, and spring-orm there were possible collissions in the classpath due to the fact that each had its own copy of the web.Mock* classes in it. This causes uncertainty for which class the code was running against. Furthermore, the maintance of keeping the copies up to date was tedious. Now there are two copies of the web.Mock* classes. The ones that exist in spring-test main sources and a copy that supports servlet 3 within spring-web test sources. The copy in spring-web test sources has been moved to a new package to avoid having the classes exist twice on the classpath within Eclipse.
-
由 Rob Winch 提交于
Previously CallableProcessingInterceptor and DeferredResultProcessingInterceptor did not have support for capturing the state of the original Thread just prior to processing. This made it difficult to transfer the state of one Thread (i.e. ThreadLocal) to the Thread used to process the Callable. This commit adds a new method to CallableProcessingInterceptor and DeferredResultProcessingInterceptor named beforeConcurrentHandling which will be invoked on the original Thread used to submit the Callable or DeferredResult. This means the state of the original Thread can be captured in beforeConcurrentHandling and transfered to the new Thread in preProcess. Issue: SPR-10052
-
- 30 11月, 2012 11 次提交
-
-
由 Phillip Webb 提交于
Refactor MBean Server reset code from MBeanServerFactoryBeanTests and reuse in AdvisedJRubyScriptFactoryTests and AbstractMBeanServerTests. Issue: SPR-9288
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Officially deprecated Apache iBATIS support in favor of native Spring support in Mybatis (http://code.google.com/p/mybatis/)
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-