Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce MockEnvironment in the spring-test module #111

Merged
merged 1 commit into from
Jul 28, 2012

Conversation

sbrannen
Copy link
Member

For legacy reasons, a MockEnvironment implementation already exists in multiple places within Spring's test suite; however, it is not available to the general public.

This commit promotes MockEnvironment to a first-class citizen in the spring-test module, alongside the existing MockPropertySource.

In addition, the following house cleaning has been performed.

  • deleted MockPropertySource from the spring-expression module
  • deleted MockEnvironment from the "spring" integration testing module
  • updated test copies of MockPropertySource and MockEnvironment
  • documented MockEnvironment and MockPropertySource in the testing
    chapter of the reference manual

Issue: SPR-9492

For legacy reasons, a MockEnvironment implementation already exists in multiple places within Spring's test suite; however, it is not available to the general public.

This commit promotes MockEnvironment to a first-class citizen in the spring-test module, alongside the existing MockPropertySource.

In addition, the following house cleaning has been performed.

 - deleted MockPropertySource from the spring-expression module
 - deleted MockEnvironment from the "spring" integration testing module
 - updated test copies of MockPropertySource and MockEnvironment
 - documented MockEnvironment and MockPropertySource in the testing
   chapter of the reference manual

Issue: SPR-9492
@ghost ghost assigned sbrannen Jul 28, 2012
sbrannen added a commit that referenced this pull request Jul 28, 2012
Introduce MockEnvironment in the spring-test module
@sbrannen sbrannen merged commit d217855 into spring-projects:master Jul 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant