SpringSource/spring-framework — pull request #142 by rwinch (2012-09-10 19:57:51+00:00)
Title: Add JUnit Assumptions to core test sources

As per discussion in this weeks stand up I have added a utility class that allows assuming JDK version in order for the test to run. Also see the [junit-assumptions-demo branch](https://github.com/rwinch/spring-framework/tree/junit-assumptions-demo) to see this in action (since there are no use cases in the actual build now).

Previously it was cumbersome for tests to assert if the current JDK was at
least JDK 1.7.

There is now a utility class for JUnit assumptions that provides a method
that allows tests to assume the current JDK is at least JDK 1.7. If the
assumption is not met, a AssumptionViolatedException is thrown to indicate
the test should be skipped.