jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380340 - /jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java
Date Mon, 03 Sep 2012 20:13:20 GMT
Author: pmouawad
Date: Mon Sep  3 20:13:20 2012
New Revision: 1380340

URL: http://svn.apache.org/viewvc?rev=1380340&view=rev
Log:
Removed useless override
Make field final
Make field local

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java?rev=1380340&r1=1380339&r2=1380340&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java Mon Sep
 3 20:13:20 2012
@@ -37,8 +37,6 @@ public class XMLSchemaAssertionTest exte
 
     private SampleResult result;
 
-    private JMeterVariables vars;
-
     private JMeterContext jmctx;
 
     public XMLSchemaAssertionTest(String arg0) {
@@ -53,17 +51,12 @@ public class XMLSchemaAssertionTest exte
         assertion.setThreadContext(jmctx);// This would be done by the run
                                             // command
         result = new SampleResult();
-        vars = new JMeterVariables();
+        JMeterVariables vars = new JMeterVariables();
         jmctx.setVariables(vars);
         jmctx.setPreviousResult(result);
         // LoggingManager.setPriority("DEBUG","jmeter");
     }
 
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     private ByteArrayOutputStream readBA(String name) throws IOException {
         BufferedInputStream bis = new BufferedInputStream(new FileInputStream(findTestFile(name)));
         ByteArrayOutputStream baos = new ByteArrayOutputStream(1000);



Mime
View raw message