jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1201428 - /jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
Date Sun, 13 Nov 2011 14:11:08 GMT
Author: pmouawad
Date: Sun Nov 13 14:11:07 2011
New Revision: 1201428

URL: http://svn.apache.org/viewvc?rev=1201428&view=rev
Log:
Bug 52118 - New toolbar : shutdown and stop buttons not disabled when no test is running
Fix for remote start/stop

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java?rev=1201428&r1=1201427&r2=1201428&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java Sun Nov 13 14:11:07 2011
@@ -332,7 +332,6 @@ public class MainFrame extends JFrame im
     public void testStarted() {
         testStarted(LOCAL);
         menuBar.setEnabled(true);
-        toolbar.setTestStarted(true);
     }
 
     /**
@@ -349,6 +348,7 @@ public class MainFrame extends JFrame im
         activeThreads.setText("0"); // $NON-NLS-1$
         totalThreads.setText("0"); // $NON-NLS-1$
         menuBar.setRunning(true, host);
+        toolbar.setTestStarted(true);
     }
 
     /**
@@ -359,7 +359,6 @@ public class MainFrame extends JFrame im
     public void testEnded() {
         testEnded(LOCAL);
         menuBar.setEnabled(false);
-        toolbar.setTestStarted(false);
     }
 
     /**
@@ -376,6 +375,7 @@ public class MainFrame extends JFrame im
             JMeterContextService.endTest();
         }
         menuBar.setRunning(false, host);
+        toolbar.setTestStarted(false);
         if (stoppingMessage != null) {
             stoppingMessage.dispose();
             stoppingMessage = null;



Mime
View raw message