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