[Webtest] Patch for bug in com.canoo.webtest.reporting.XmlResultConverter

Marc Guillemot webtest@lists.canoo.com
Thu, 7 Aug 2003 18:44:33 +0200


in com.canoo.webtest.reporting.XmlResultConverter.addParameters (line 166
for build 362)
instead of:
    String value = parameter.getValue() != null ? (String)
parameter.getValue() : "null";
    String value = String.valueOf(parameter.getValue());

a parameter can be something else as a String (for instance a Boolean, which
produces an hard to catch bug as no stack trace get printed from
com.canoo.webtest.ant.TestSpecificationTask.report()). Furthermore is the
code cleaner.