BTW, any idea why Gump nags are not working? Issues like this would be spotted much quicker if they did.
-- Salut,
Jordi.
BAZLEY, Sebastian wrote:
Something has broken the test setup when running "headless" - i.e. with no display hardware.
This may be because of something I changed; anyway, I'll try to have a look at it later today.
By the way, one can use the "test-headless" Ant build target to test running headless - I must have forgotten to do that recently ...
S.
___________________________________________________________________________
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. ___________________________________________________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--- Begin Message ---jsalvata 2004/02/05 15:37:33Modified: src/core/org/apache/jmeter/junit JMeterTest.java Log: Properly initializing the GUI so that GUI-related tests work. Revision Changes Path 1.42 +9 -1 jakarta-jmeter/src/core/org/apache/jmeter/junit/JMeterTest.java Index: JMeterTest.java =================================================================== RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/junit/JMeterTest.java,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- JMeterTest.java 1 Feb 2004 13:27:09 -0000 1.41 +++ JMeterTest.java 5 Feb 2004 23:37:33 -0000 1.42 @@ -21,6 +21,7 @@ import org.apache.jmeter.gui.GuiPackage; import org.apache.jmeter.gui.JMeterGUIComponent; import org.apache.jmeter.gui.UnsharedComponent; +import org.apache.jmeter.gui.action.ActionRouter; import org.apache.jmeter.gui.tree.JMeterTreeListener; import org.apache.jmeter.gui.tree.JMeterTreeModel; import org.apache.jmeter.gui.tree.JMeterTreeNode; @@ -106,7 +107,14 @@ // ensure the GuiPackage is initialized. JMeterTreeModel treeModel = new JMeterTreeModel(); JMeterTreeListener treeLis = new JMeterTreeListener(treeModel); + treeLis.setActionHandler(ActionRouter.getInstance()); GuiPackage.getInstance(treeLis, treeModel); + // The GuiPackage needs a MainFrame to work: + org.apache.jmeter.gui.MainFrame main = + new org.apache.jmeter.gui.MainFrame( + ActionRouter.getInstance(), + treeModel, + treeLis); TestSuite suite = new TestSuite(); suite.addTest(new JMeterTest("createTitleSet")); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--- End Message ---
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
