jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1724506 - in /jmeter/trunk: src/core/org/apache/jmeter/testbeans/gui/TableEditor.java xdocs/changes.xml
Date Wed, 13 Jan 2016 20:31:47 GMT
Author: fschumacher
Date: Wed Jan 13 20:31:47 2016
New Revision: 1724506

URL: http://svn.apache.org/viewvc?rev=1724506&view=rev
Log:
Reset data in TableEditor when switching between different CompareAssertions in gui.
Based on a patch by Vincent Herilier (vherilier at gmail.com).

Bugzilla Id: 58742

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java?rev=1724506&r1=1724505&r2=1724506&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java Wed Jan 13 20:31:47
2016
@@ -42,6 +42,7 @@ import javax.swing.ListSelectionModel;
 import javax.swing.event.TableModelEvent;
 import javax.swing.event.TableModelListener;
 
+import org.apache.jmeter.gui.ClearGui;
 import org.apache.jmeter.testelement.property.TestElementProperty;
 import org.apache.jmeter.util.JMeterUtils;
 import org.apache.jorphan.gui.ObjectTableModel;
@@ -56,7 +57,7 @@ import org.apache.log.Logger;
  * <li>property type Collection of {@link String}s, where there is a single header
entry</li>
  * </ul>
  */
-public class TableEditor extends PropertyEditorSupport implements FocusListener,TestBeanPropertyEditor,TableModelListener
{
+public class TableEditor extends PropertyEditorSupport implements FocusListener,TestBeanPropertyEditor,TableModelListener,
ClearGui {
     private static final Logger log = LoggingManager.getLoggerForClass();
 
     /** 
@@ -312,4 +313,9 @@ public class TableEditor extends Propert
         }
     }
 
+    @Override
+    public void clearGui() {
+        this.model.clearData();
+    }
+
 }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1724506&r1=1724505&r2=1724506&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Wed Jan 13 20:31:47 2016
@@ -134,6 +134,8 @@ Summary
   <li><bug>58756</bug>CookieManager : Cookie Policy select box content
must depend on Cookie implementation.</li>
   <li><bug>56358</bug>Cookie manager supports cross port cookies and RFC6265.</li>
   <li><bug>58773</bug>TestCacheManager : Add tests for CacheManager that
use HttpClient 4</li>
+  <li><bug>58742</bug>CompareAssertion : Reset data in TableEditor when
switching between different CompareAssertions in gui.
+      Based on a patch by Vincent Herilier (vherilier at gmail.com)</li>
   <li><bug>58848</bug>Argument Panel : when adding an argument (add button
or from clipboard) scroll the table to the new line. Contributed by Benoit Vatan (benoit.vatan
at gmail.com)</li>
 </ul>
 
@@ -279,6 +281,7 @@ Summary
 <li><a href="http://www.ubik-ingenierie.com">Ubik-Ingenierie S.A.S.</a></li>
 <li>Oleg Kalnichevski (olegk at apache.org)</li>
 <li>Pascal Schumacher (pascalschumacher at gmx.net</li>
+<li>Vincent Herilier (vherilier at gmail.com)</li>
 </ul>
 
 <br/>



Mime
View raw message