Author: sebb
Date: Thu Dec 16 17:56:54 2010
New Revision: 1050080
URL: http://svn.apache.org/viewvc?rev=1050080&view=rev
Log:
Bug 50487 - runSerialTest verifies objects that never need persisting
Modified:
jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java
jakarta/jmeter/trunk/xdocs/changes.xml
Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java?rev=1050080&r1=1050079&r2=1050080&view=diff
==============================================================================
--- jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java
(original)
+++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java Thu
Dec 16 17:56:54 2010
@@ -18,6 +18,7 @@
package org.apache.jmeter.junit;
+import java.awt.Component;
import java.awt.HeadlessException;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
@@ -35,8 +36,6 @@ import java.util.Map;
import java.util.Properties;
import java.util.Set;
-import javax.swing.JComponent;
-
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -486,7 +485,7 @@ public class JMeterTest extends JMeterTe
* Test serializable elements - test the object
*/
public void runSerialTest() throws Exception {
- if (!(serObj instanceof JComponent)) {
+ if (!(serObj instanceof Component)) {//
try {
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
ObjectOutputStream out = new ObjectOutputStream(bytes);
Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=1050080&r1=1050079&r2=1050080&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Thu Dec 16 17:56:54 2010
@@ -179,6 +179,7 @@ Also enable reversion to using System.cu
<ul>
<li>Bug 30563 - Thread Group should have a start next loop option on Sample
Error</li>
<li>Bug 50347 - Eclipse setup instructions should remind user to download
dependent jars</li>
+<li>Bug 50487 - runSerialTest verifies objects that never need persisting</li>
</ul>
<h2>Non-functional changes</h2>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]