jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1169445 - in /jakarta/jmeter/trunk: src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java xdocs/changes.xml
Date Sun, 11 Sep 2011 13:08:25 GMT
Author: milamber
Date: Sun Sep 11 13:08:25 2011
New Revision: 1169445

URL: http://svn.apache.org/viewvc?rev=1169445&view=rev
Log:
Bug 43293 - Java Request fields not cleared when creating new sampler

Modified:
    jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java
    jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java
    jakarta/jmeter/trunk/xdocs/changes.xml

Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java?rev=1169445&r1=1169444&r2=1169445&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java
(original)
+++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java
Sun Sep 11 13:08:25 2011
@@ -239,4 +239,15 @@ public class JavaConfigGui extends Abstr
         ((JavaConfig) config).setArguments((Arguments) argsPanel.createTestElement());
         ((JavaConfig) config).setClassname(String.valueOf(classnameCombo.getSelectedItem()));
     }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.gui.AbstractJMeterGuiComponent#clearGui()
+     */
+    @Override
+    public void clearGui() {
+        super.clearGui();
+        this.displayName = true;
+        argsPanel.clearGui();
+        classnameCombo.setSelectedIndex(0);
+    }
 }

Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java?rev=1169445&r1=1169444&r2=1169445&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java
(original)
+++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.java
Sun Sep 11 13:08:25 2011
@@ -84,4 +84,13 @@ public class JavaTestSamplerGui extends 
         super.configure(el);
         javaPanel.configure(el);
     }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.gui.AbstractJMeterGuiComponent#clearGui()
+     */
+    @Override
+    public void clearGui() {
+        super.clearGui();
+        javaPanel.clearGui();
+    }
 }

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=1169445&r1=1169444&r2=1169445&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Sun Sep 11 13:08:25 2011
@@ -76,6 +76,7 @@ This can be overridden by setting the JM
 <h3>Other Samplers</h3>
 <ul>
 <li>Bug 50424 - Web Methods drop down list box inconsistent</li>
+<li>Bug 43293 - Java Request fields not cleared when creating new sampler</li>
 </ul>
 
 <h3>Controllers</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message