jenkinsci/email-ext-plugin — pull request #47 by hajush (2012-10-01 19:32:36+00:00)
Title: Switch ScriptContentTest to JenkinsRule - tests failing on mac from incorrect use of Assume

Shifted the ScriptContentTest.java to not extend TestCase, and instead use JUnit4 annotations. Needed to move up to JUnit 4.10 in pom to prevent incompatibility problem that shows up when using JenkinsRule in Surefire. The JenkinsRule.before was overridden to prevent Jenkins from being instantiated and cause the same problem when overriding HudsonTestCase and assumeThat failed but issued an error rather than abort the test. Had to make sure to call super.before in overriding JenkinsRule.before to ensure on PC that a Jenkins instance would be started.

This is a correction to previous pull requests.