jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1509904 - /jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Date Fri, 02 Aug 2013 22:56:53 GMT
Author: sebb
Date: Fri Aug  2 22:56:53 2013
New Revision: 1509904

URL: http://svn.apache.org/r1509904
Log:
Update to non-deprecated method

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java?rev=1509904&r1=1509903&r2=1509904&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
(original)
+++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Fri Aug  2 22:56:53 2013
@@ -45,6 +45,7 @@ import org.apache.oro.text.regex.Pattern
 import org.apache.oro.text.regex.PatternMatcherInput;
 import org.apache.oro.text.regex.Perl5Compiler;
 import org.apache.oro.text.regex.Perl5Matcher;
+import org.junit.Assert;
 
 import junit.framework.Test;
 import junit.framework.TestSuite;
@@ -121,7 +122,7 @@ public class TestHTTPSamplersAgainstHttp
                     httpServer = null;
                     // delete temporay file
                     if(!temporaryFile.delete()) {
-                        fail("Could not delete file:"+temporaryFile.getAbsolutePath());
+                        Assert.fail("Could not delete file:"+temporaryFile.getAbsolutePath());
                     }
             }
         };



Mime
View raw message