- 25 2月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 24 2月, 2016 5 次提交
-
-
由 Rossen Stoyanchev 提交于
MockRestServicesServer now supports an expect variant that accepts a range of expected count of executions. Issue: SPR-11365
-
由 Rossen Stoyanchev 提交于
The MockRestServiceServer builder now has an option to plug in a custom RequestExpectationManager. Issue: SPR-11365
-
由 Rossen Stoyanchev 提交于
MockRestServiceServer now provides static methods for builder-style creation of MockRestServiceServer. This includes an option ignore the order of declaration expected requests. Issue: SPR-11365
-
由 Rossen Stoyanchev 提交于
This commit factors out the logic to declare and manage expectations including matching them to requests and verifying at the end behind a commong abstraction. MockRestServiceServer delegates to the new abstraction and is no longer aware of how that's done. There are two implementations, one for ordered and another for unordered expectation. Issue: SPR-11365
-
由 Rossen Stoyanchev 提交于
Before this commit RequestMatcherClientHttpRequest served both as API to define request expectations, i.e. ResponseActions, as well as the implementation of ClientHttpRequest representing actual requests. DefaultResponseActions replaces this class as a simple holder of expected requests and mock responses. MockRestServiceServer is then responsible to match request expectations and create a mock response. Issue: SPR-11365
-
- 23 2月, 2016 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 19 2月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13961
-
- 17 2月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13951
-
- 04 2月, 2016 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, the transaction manager and data source look-up algorithms in the Spring TestContext Framework were not capable of retrieving 'primary' beans of those types, even though 'primary' beans are supported in production as well as for injecting dependencies into test instances. Specifically, if there was more than one transaction manager or data source bean and one of them was flagged as 'primary', the retrieveTransactionManager() and retrieveDataSource() methods in TestContextTransactionUtils would simply return null for such beans. This commit updates TestContextTransactionUtils by adding support for looking up primary transaction managers and data sources. Issue: SPR-13891
-
- 03 2月, 2016 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, a @Transactional integration test would silently be executed without a transaction if the transaction manager could not be retrieved from the application context -- for example, it no such bean was defined or if multiple beans were present but none satisfied the qualifier. This commit addresses this issue by throwing an IllegalStateException if the PlatformTransactionManager cannot be retrieved for a @Transactional test. Issue: SPR-13895
-
- 25 1月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13130
-
- 22 1月, 2016 4 次提交
-
-
由 Rossen Stoyanchev 提交于
Spring MVC Test now parses application/x-www-form-urlencoded request content and populates request parameters from it. This can be useful when running client-side tests against a MockMvc via MockMvcClientHttpRequestFactory. Issue: SPR-13733
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13044
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10087
-
- 21 1月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13719
-
由 Kamill Sokol 提交于
Prior to this commit, Spring MVC Test only supported HTTP methods GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE and multipart file upload. This change adds generic methods to MockMvcRequestBuilders in order to allow testing of arbitrary HTTP methods in a Spring MVC application. Issue: SPR-13719
-
- 16 1月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13736
-
由 Rossen Stoyanchev 提交于
-
- 15 1月, 2016 2 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13815
-
- 30 12月, 2015 1 次提交
-
-
由 Brian Clozel 提交于
Issue: SPR-13632
-
- 20 12月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-13275
-
- 18 12月, 2015 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13729
-
- 17 12月, 2015 3 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13802
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13801
-
- 09 12月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12926
-
由 Juergen Hoeller 提交于
Issue: SPR-13776
-
- 08 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 02 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13752
-
- 26 11月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 16 11月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 14 11月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
This upgrade includes AutoCloseable support for HtmlUnit WebConnections as introduced in 2.19, while remaining compatible with 2.18. Issue: SPR-13686
-
- 12 11月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13637
-
- 30 10月, 2015 1 次提交
-
-
由 Hronom 提交于
Issue: SPR-13607
-