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 unique id of the test case. Can be used to link
23 * to an independent system like TestLink.
24 * This tag is used directly inside the <testcase/> tag.
25 *
26 * A example might be:
27 * <pre><source>
28 * <testcase xmlns="jelly:jameleon">
29 * <test-case-summary>Tests some feature</test-case-summary>
30 * <test-case-bug>3423</test-case-bug>
31 * <test-case-author>Christian Hargraves</test-case-author>
32 * <test-case-level>ACCEPTANCE</test-case-level>
33 * <test-case-level>REGRESSION</test-case-level>
34 * <functional-point-tested>csv</functional-point-tested>
35 * <application-tested>framework</application-tested>
36 * <test-case-requirement>AP-123</test-case-requirement>
37 * <test-case-id>TC-123</test-case-id>
38 * </testcase">
39 * </source></pre>
40 *
41 * @jameleon.function name="test-case-id"
42 */
43 public class TestCaseIdTag extends AbstractTestCaseDocAttribute {
44
45 protected void setTestCaseValue(String text){
46 tct.getTestCase().setTestCaseId(text);
47 }
48 }