01: package com.canoo.webtest.engine;
02:
03: /**
04: * Value object used when setting up HtmlUnit options.
05: *
06: * @author Dierk König
07: * @webtest.nested
08: * category="General"
09: * name="option"
10: * description="Backdoor to configure HtmlUnit directly."
11: */
12: public class Option extends NameValuePair {
13: /**
14: * @webtest.parameter
15: * required="yes"
16: * description="The name of the option, e.g. <example>ThrowExceptionOnFailingStatusCode</example>,
17: <example>ThrowExceptionOnScriptError</example> or <example>JavaScriptEnabled</example>."
18: */
19: public void setName(String name) {
20: super .setName(name);
21: }
22:
23: /**
24: * @webtest.parameter
25: * required="yes"
26: * description="The option value. e.g. <example>false</example>"
27: */
28: public void setValue(String value) {
29: super.setValue(value);
30: }
31: }
|