/** Implements JMeterGUIComponent.clearGui */
  @Override
  public void clearGui() {
    super.clearGui();

    xpath.setXPath("/"); // $NON-NLS-1$
    xpath.setNegated(false);

    xml.setDefaultValues();
  }
  @Override
  public void configure(TestElement el) {
    super.configure(el);
    XPathAssertion assertion = (XPathAssertion) el;
    xpath.setXPath(assertion.getXPathString());
    xpath.setNegated(assertion.isNegated());

    xml.configure(assertion);
  }
Exemplo n.º 3
0
 /** Set default values on this component */
 public void setDefaultValues() {
   setXPath("/"); // $NON-NLS-1$
   setNegated(false);
 }