@Test public void testConfigure() { System.out.println("configure"); TestElement el = new OAuthSampler(); OAuthSamplerGui instance = new OAuthSamplerGui(); instance.configure(el); }
@Override public void configure(TestElement el) { super.configure(el); OAuthSampler sampler = (OAuthSampler) el; consumerKey.setText(sampler.getConsumerKey()); consumerSecret.setText(sampler.getConsumerSecret()); body.setText(sampler.getRequestBody()); headers.setText(sampler.getRequestHeaders()); useKeepAlive.setSelected(sampler.getUseKeepAlive()); automaticRedirect.setSelected(sampler.getAutoRedirects()); httpMethods.setText(sampler.getMethod()); resource.setText(sampler.getResource()); port.setText(sampler.getPortNumber()); hostBaseUrl.setText(sampler.getHostBaseUrl()); }
OAuthSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement el) { super.configure(el); OAuthSampler sampler = (OAuthSampler) el; consumerKey.setText(sampler.getConsumerKey()); consumerSecret.setText(sampler.getConsumerSecret()); body.setText(sampler.getRequestBody()); headers.setText(sampler.getRequestHeaders()); useKeepAlive.setSelected(sampler.getUseKeepAlive()); automaticRedirect.setSelected(sampler.getAutoRedirects()); httpMethods.setText(sampler.getMethod()); resource.setText(sampler.getResource()); port.setText(sampler.getPortNumber()); hostBaseUrl.setText(sampler.getHostBaseUrl()); } }
OAuthSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement el) { super.configure(el); OAuthSampler sampler = (OAuthSampler) el; consumerKey.setText(sampler.getConsumerKey()); consumerSecret.setText(sampler.getConsumerSecret()); body.setText(sampler.getRequestBody()); headers.setText(sampler.getRequestHeaders()); useKeepAlive.setSelected(sampler.getUseKeepAlive()); automaticRedirect.setSelected(sampler.getAutoRedirects()); httpMethods.setText(sampler.getMethod()); resource.setText(sampler.getResource()); port.setText(sampler.getPortNumber()); hostBaseUrl.setText(sampler.getHostBaseUrl()); } OAuthSamplerGui(); }
OAuthSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement el) { super.configure(el); OAuthSampler sampler = (OAuthSampler) el; consumerKey.setText(sampler.getConsumerKey()); consumerSecret.setText(sampler.getConsumerSecret()); body.setText(sampler.getRequestBody()); headers.setText(sampler.getRequestHeaders()); useKeepAlive.setSelected(sampler.getUseKeepAlive()); automaticRedirect.setSelected(sampler.getAutoRedirects()); httpMethods.setText(sampler.getMethod()); resource.setText(sampler.getResource()); port.setText(sampler.getPortNumber()); hostBaseUrl.setText(sampler.getHostBaseUrl()); } OAuthSamplerGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override TestElement createTestElement(); void clear(); @Override void modifyTestElement(TestElement s); @Override void clearGui(); @Override void configure(TestElement el); @Override Dimension getPreferredSize(); }
OAuthSamplerGui extends AbstractSamplerGui { @Override public void configure(TestElement el) { super.configure(el); OAuthSampler sampler = (OAuthSampler) el; consumerKey.setText(sampler.getConsumerKey()); consumerSecret.setText(sampler.getConsumerSecret()); body.setText(sampler.getRequestBody()); headers.setText(sampler.getRequestHeaders()); useKeepAlive.setSelected(sampler.getUseKeepAlive()); automaticRedirect.setSelected(sampler.getAutoRedirects()); httpMethods.setText(sampler.getMethod()); resource.setText(sampler.getResource()); port.setText(sampler.getPortNumber()); hostBaseUrl.setText(sampler.getHostBaseUrl()); } OAuthSamplerGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override TestElement createTestElement(); void clear(); @Override void modifyTestElement(TestElement s); @Override void clearGui(); @Override void configure(TestElement el); @Override Dimension getPreferredSize();  }