01: package com.canoo.webtest.extension.applet;
02:
03: import com.canoo.webtest.engine.NameValuePair;
04:
05: /**
06: * @author Denis N. Antonioli
07: * @webtest.nested
08: * category="Extension"
09: * name="parameter"
10: * description="Pass an arbitary name/value pair to a scenario."
11: */
12: public class Parameter extends NameValuePair {
13:
14: /**
15: * Empty constructor for Ant.
16: */
17: public Parameter() {
18: }
19:
20: public Parameter(String name, String value) {
21: setName(name);
22: setValue(value);
23: }
24:
25: /**
26: * @webtest.parameter
27: * required="yes"
28: * description="The name of the parameter in the scenario."
29: */
30: public void setName(String name) {
31: super .setName(name);
32: }
33:
34: /**
35: * @webtest.parameter
36: * required="yes"
37: * description="The value of the parameter in the scenario."
38: */
39: public void setValue(String value) {
40: super.setValue(value);
41: }
42: }
|