aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java
blob: ac157d9b1c7243edaccedf6c442f875babb0b370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package net.sourceforge.jnlp.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * When declare for suite class or for Test-marked method,
 * should be interpreted by report generating tool to links.
 * Known shortcuts are
 * SX  - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=X
 * PRX - http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=X
 * RHX - https://bugzilla.redhat.com/show_bug.cgi?id=X
 * DX  - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=X
 * GX  - http://bugs.gentoo.org/show_bug.cgi?id=X
 * CAX - http://server.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=X
 * LPX - https://bugs.launchpad.net/bugs/X
 *
 * http://mail.openjdk.java.net/pipermail/distro-pkg-dev/
 * and http://mail.openjdk.java.net/pipermail/ are proceed differently
 * You just put eg @Bug(id="RH12345",id="http:/my.bukpage.com/terribleNew")
 * and  RH12345 will be transalated as
 * <a href="https://bugzilla.redhat.com/show_bug.cgi?id=123456">123456<a> or
 * similar, the url will be inclueded as is. Both added to proper tests or suites
 *
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Bug {
 public String[] id();
}