jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1742795 - /jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java
Date Sun, 08 May 2016 10:40:11 GMT
Author: sebb
Date: Sun May  8 10:40:11 2016
New Revision: 1742795

URL: http://svn.apache.org/viewvc?rev=1742795&view=rev
Log:
Fix test case - it only passed if the default formatter was null

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java?rev=1742795&r1=1742794&r2=1742795&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleSaveConfiguration.java Sun
May  8 10:40:11 2016
@@ -133,10 +133,10 @@ public class TestSampleSaveConfiguration
     public void testFormatter() throws Exception {
         SampleSaveConfiguration a = new SampleSaveConfiguration(false);
         SampleSaveConfiguration b = new SampleSaveConfiguration(false);
-        a.setFormatter(null);
         assertEquals("Hash codes should be equal",a.hashCode(), b.hashCode());
         assertTrue("Objects should be equal",a.equals(b));
         assertTrue("Objects should be equal",b.equals(a));
+        a.setFormatter(null);
         b.setFormatter(null);
         assertEquals("Hash codes should be equal",a.hashCode(), b.hashCode());
         assertTrue("Objects should be equal",a.equals(b));



Mime
View raw message