jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1178335 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java
Date Mon, 03 Oct 2011 08:36:27 GMT
Author: sebb
Date: Mon Oct  3 08:36:27 2011
New Revision: 1178335

URL: http://svn.apache.org/viewvc?rev=1178335&view=rev
Log:
Potentially allow NewDriver and scripts to be run directly from unit tests

Modified:
    jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java

Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java?rev=1178335&r1=1178334&r2=1178335&view=diff
==============================================================================
--- jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java (original)
+++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTestCase.java Mon Oct  3 08:36:27
2011
@@ -73,6 +73,7 @@ public abstract class JMeterTestCase ext
             String home=new File(System.getProperty("user.dir"),filePrefix).getParent();
             System.out.println("Setting JMeterHome: "+home);
             JMeterUtils.setJMeterHome(home);
+            System.setProperty("jmeter.home", home); // needed for scripts
             JMeterUtils jmu = new JMeterUtils();
             try {
                 jmu.initializeProperties(file);



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message