jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1197453 - /jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java
Date Fri, 04 Nov 2011 09:19:52 GMT
Author: sebb
Date: Fri Nov  4 09:19:52 2011
New Revision: 1197453

URL: http://svn.apache.org/viewvc?rev=1197453&view=rev
Log:
Don't worry about boxing in assertions

Modified:
    jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java

Modified: jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java?rev=1197453&r1=1197452&r2=1197453&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java (original)
+++ jmeter/trunk/test/src/org/apache/jorphan/math/TestStatCalculator.java Fri Nov  4 09:19:52
2011
@@ -102,6 +102,7 @@ public class TestStatCalculator extends 
         assertTrue(map.containsKey(Integer.valueOf(2)));
     }
     
+    @SuppressWarnings("boxing")
     public void testBug52125_1(){ // No duplicates when adding
         calc.addValue(1L);
         calc.addValue(2L);
@@ -114,6 +115,7 @@ public class TestStatCalculator extends 
         assertEquals(0.5773502691896255, calc.getStandardDeviation());
     }
 
+    @SuppressWarnings("boxing")
     public void testBug52125_2(){ // add duplicates
         calc.addValue(1L);
         calc.addValue(2L);
@@ -124,6 +126,7 @@ public class TestStatCalculator extends 
         assertEquals(0.5773502691896255, calc.getStandardDeviation());
     }
 
+    @SuppressWarnings("boxing")
     public void testBug52125_3(){ // add duplicates as per bug
         calc.addValue(1L);
         calc.addValue(2L);



Mime
View raw message