/**
* do description as title, do sourceLocation,
* do keywords, do options, skip paths, do comment,
- * skip staging,
+ * skip staging, skip badInput,
* skip dirChanges, do messages and do children
* (though we do children directly).
*/
private static final XMLNames NAMES = new XMLNames(XMLNames.DEFAULT,
- "title", null, null, null, "", null, "", true, false, false);
+ "title", null, null, null, "", null, "", "", true, false, false);
private static final String OPTION_PREFIX = "-ajctest";
private static final String[] VALID_OPTIONS = new String[] { OPTION_PREFIX };
/**
* do description, do sourceLocation,
* do keywords, do options, skip paths, do comment,
- * skip staging,
+ * skip staging, skip badInput,
* skip dirChanges, skip messages and do children
* (though we do children directly).
*/
private static final XMLNames NAMES = new XMLNames(XMLNames.DEFAULT,
- null, null, null, null, "", null, "", true, true, false);
+ null, null, null, null, "", null, "", "", true, true, false);
File suiteDir;
public Spec() {
super(XMLNAME, false); // do not skip this even if children skip
/**
* skip description, skip sourceLocation,
* do keywords, do options, skip paths, do comment,
- * skip staging,
+ * skip staging, skip badInput,
* do dirChanges, do messages but skip children.
*/
private static final XMLNames NAMES = new XMLNames(XMLNames.DEFAULT,
- "", "", null, null, "", null, "", false, false, true);
+ "", "", null, null, "", null, "", "", false, false, true);
/** fully-qualified name of the class to run */
protected String className;
if (!LangUtil.isEmpty(dirChanges)) {
DirChanges.Spec.writeXml(out, dirChanges);
}
- List messages = getMessages();
- if (0 < messages.size()) {
- SoftMessage.writeXml(out, messages);
- }
+ SoftMessage.writeXml(out, getMessages());
out.endElement(xmlElementName);
}
public String toLongString() {