1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.sf.jameleon;
20
21 /***
22 * Describes a bug for a test case. To provide a link in the test
23 * case documentation for the both GUI and the HTML results simply
24 * set the bugTrackerUrl parameter the Jameleon configuration.
25 * This tag is used directly inside the <testcase/> tag.
26 *
27 * A example might be:
28 * <pre><source>
29 * <testcase xmlns="jelly:jameleon">
30 * <test-case-summary>Tests some feature</test-case-summary>
31 * <test-case-bug>3423</test-case-bug>
32 * <test-case-author>Christian Hargraves</test-case-author>
33 * <test-case-level>ACCEPTANCE</test-case-level>
34 * <test-case-level>REGRESSION</test-case-level>
35 * <functional-point-tested>csv</functional-point-tested>
36 * <application-tested>framework</application-tested>
37 * <test-case-requirement>AP-123</test-case-requirement>
38 * <test-case-id>TC-123</test-case-id>
39 * </testcase">
40 * </source></pre>
41 *
42 * @jameleon.function name="test-case-bug"
43 */
44 public class TestCaseBugTag extends AbstractTestCaseDocAttribute {
45
46 protected void setTestCaseValue(String text){
47 tct.getTestCase().addBug(text);
48 }
49 }