jenkinsci/run-condition-plugin — pull request #2 by cjo9900 (2012-01-20 14:19:45+00:00)
Title: Add alternative constructor for StatusCondition + tests

I have added this additional constructor so that I can use it in the parameterized-trigger-plugin when replacing the existing run conditions. as I see passing in Result objects in this case as a lot more robust as they can be checked during build time.

Added alternative constructor for Status condition for use from other plugins
in cases they need to uses it as default. Removes the possibility of messing
up the string in these cases.
Added test cases for the main build states.
Defined a fixed version of the EasyMock to be used in testing.