adding new marker annotations to correlate tests with bug reports

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11506 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-08-15 21:25:41 +00:00
1 parent 42d3dc135b
commit b391210d4b
2 files changed
+23

No files matched your search

@@ -1,10 +1,13 @@
package org.jvnet.hudson.test;
import java.lang.annotation.Documented;
/**
* Marks a test case to a bug filed in the issue tracker.
*
* @author Kohsuke Kawaguchi
*/
@Documented
public @interface Bug {
/**
* Issue number.
@@ -0,0 +1,20 @@
package org.jvnet.hudson.test;
import java.lang.annotation.Documented;
/**
* Marks a test case to a bug reported in the mailing list.
*
* @author Kohsuke Kawaguchi
*/
@Documented
public @interface Email {
/**
* URL to the e-mail archive.
*
* Look for the e-mail in
* <a href="http://www.nabble.com/Hudson-users-f16872.html">http://www.nabble.com/Hudson-users-f16872.html</a> or
* <a href="http://www.nabble.com/Hudson-dev-f25543.html">http://www.nabble.com/Hudson-dev-f25543.html</a>
*/
String value();
}