Author: jocaba
Date: Fri Nov 19 00:49:59 2010
New Revision: 1036695
URL: http://svn.apache.org/viewvc?rev=1036695&view=rev
Log:
[NPANDAY-332] nunit-console results in failure even though when you run
nunit-ui there are no failures
There was a problem with the version not getting locating the proper framework
argument that was being passed to the NUnit console command.
Modified:
incubator/npanday/trunk/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
Modified:
incubator/npanday/trunk/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java?rev=1036695&r1=1036694&r2=1036695&view=diff
==============================================================================
---
incubator/npanday/trunk/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
(original)
+++
incubator/npanday/trunk/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
Fri Nov 19 00:49:59 2010
@@ -236,7 +236,7 @@ extends AbstractMojo
String frameworkVersion = vendorInfo.getFrameworkVersion();
getLog().debug( "NPANDAY-1100-012: Framework version:" +
frameworkVersion );
if (!"MONO".equals( vendorName ) && (frameworkVersion != null
&& frameworkVersion.length() > 0 )) {
- commands.add( switchChar + "framework:" +
frameworkVersion);
+ commands.add( switchChar + "framework:" +
"v"+frameworkVersion);
}
return commands;