|
From: <caw...@us...> - 2007-03-27 18:35:47
|
Revision: 2235
http://svn.sourceforge.net/rubyeclipse/?rev=2235&view=rev
Author: cawilliams
Date: 2007-03-27 11:35:40 -0700 (Tue, 27 Mar 2007)
Log Message:
-----------
apply fix for Tocket #252 - Test::Unit launches failing. This happened when you created a new Test::Unit launch config from scratch (i.e. in the run menu dialog), but not when you right clicked on a file and selected Run as.. Test::Unit.
Modified Paths:
--------------
trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher/TestUnitMainTab.java
Modified: trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher/TestUnitMainTab.java
===================================================================
--- trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher/TestUnitMainTab.java 2007-03-27 18:28:25 UTC (rev 2234)
+++ trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher/TestUnitMainTab.java 2007-03-27 18:35:40 UTC (rev 2235)
@@ -214,6 +214,7 @@
configuration.setAttribute(TestUnitLaunchConfigurationDelegate.LAUNCH_CONTAINER_ATTR, fileName);
configuration.setAttribute(TestUnitLaunchConfigurationDelegate.TESTTYPE_ATTR, type);
configuration.setAttribute(TestUnitLaunchConfigurationDelegate.TESTNAME_ATTR, "");
+ configuration.setAttribute(IRubyLaunchConfigurationConstants.ATTR_FILE_NAME, TestUnitLaunchConfigurationDelegate.getTestRunnerPath());
// set hidden attribute
configuration.setAttribute(ILaunchConfiguration.ATTR_SOURCE_LOCATOR_ID, "org.rubypeople.rdt.debug.ui.rubySourceLocator");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|