|
From: David C. <dc...@us...> - 2005-09-25 17:57:02
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8060/src/org/rubypeople/rdt/testunit/launcher Modified Files: TestUnitRunnerConfiguration.java Log Message: Converted all 'launchers' to list-based command line construction. Index: TestUnitRunnerConfiguration.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/launcher/TestUnitRunnerConfiguration.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** TestUnitRunnerConfiguration.java 5 Sep 2005 16:44:24 -0000 1.13 --- TestUnitRunnerConfiguration.java 25 Sep 2005 17:56:54 -0000 1.14 *************** *** 2,5 **** --- 2,6 ---- import java.io.File; + import java.util.List; import org.eclipse.core.runtime.CoreException; *************** *** 75,82 **** } ! public String renderLoadPath() { ! String absoluteTestFilePath = RdtLaunchingPlugin.osDependentPath(this.getAbsoluteTestFileName()); ! if (absoluteTestFilePath.length() == 0) { return super.renderLoadPath(); } ! return super.renderLoadPath() + " -I " + absoluteTestFilePath; } --- 76,88 ---- } ! public List renderLoadPath() { ! List loadPath = super.renderLoadPath(); ! ! String absoluteTestFileName = this.getAbsoluteTestFileName(); ! if (absoluteTestFileName.length() != 0) { ! loadPath.add("-I"); ! loadPath.add(absoluteTestFileName); ! } ! return loadPath; } |