added a convenience method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13847 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-12-24 20:55:37 +00:00
1 parent f61967eb84
commit 294c4a19c3
1 file changed
+4
@@ -325,6 +325,10 @@ public abstract class HudsonTestCase extends TestCase {
assertEquals(status,r.getResult());
}
public void assertBuildStatusSuccess(Run r) throws Exception {
assertBuildStatus(Result.SUCCESS,r);
}
/**
* Asserts that the console output of the build contains the given substring.
*/