コード例 #1
0
  /** Implements JMeterGUIComponent.clearGui */
  @Override
  public void clearGui() {
    super.clearGui();

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

    xml.setDefaultValues();
  }
コード例 #2
0
  @Override
  public void configure(TestElement el) {
    super.configure(el);
    XPathAssertion assertion = (XPathAssertion) el;
    xpath.setXPath(assertion.getXPathString());
    xpath.setNegated(assertion.isNegated());

    xml.configure(assertion);
  }
コード例 #3
0
 /** Set default values on this component */
 public void setDefaultValues() {
   setXPath("/"); // $NON-NLS-1$
   setNegated(false);
 }