incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r506821 - in /incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings: pom.xml src/test/csharp/SettingsGeneratorTest.cs
Date Tue, 13 Feb 2007 02:31:08 GMT
Author: sisbell
Date: Mon Feb 12 18:31:07 2007
New Revision: 506821

URL: http://svn.apache.org/viewvc?view=rev&rev=506821
Log:
Fixed problem with NUnit test. Unique error codes embedded in middle of message.

Modified:
    incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/pom.xml
    incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs

Modified: incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/pom.xml?view=diff&rev=506821&r1=506820&r2=506821
==============================================================================
--- incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/pom.xml (original)
+++ incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/pom.xml Mon Feb
12 18:31:07 2007
@@ -39,6 +39,7 @@
                         <artifactId>maven-compile-plugin</artifactId>
                         <extensions>true</extensions>
                         <configuration>
+<vendor>MICROSOFT</vendor>
                             <frameworkVersion>1.1.4322</frameworkVersion>
                         </configuration>
                     </plugin>

Modified: incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs?view=diff&rev=506821&r1=506820&r2=506821
==============================================================================
--- incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs
(original)
+++ incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs
Mon Feb 12 18:31:07 2007
@@ -53,7 +53,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().StartsWith("NMAVEN-9011-000")) Assert.Fail("Unexpected failure
code: Message = "
+                if(e.ToString().IndexOf("NMAVEN-9011-000") == 0) Assert.Fail("Unexpected
failure code: Message = "
                     + e.ToString());;
             }
 		}
@@ -67,7 +67,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().StartsWith("NMAVEN-9011-002")) Assert.Fail("Unexpected failure
code: Message = "
+                if(e.ToString().IndexOf("NMAVEN-9011-002") == 0) Assert.Fail("Unexpected
failure code: Message = "
                     + e.ToString());;
             }
 		}
@@ -95,7 +95,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().StartsWith("NMAVEN-9011-001")) Assert.Fail("Unexpected failure
code: Message = "
+                if(e.ToString().IndexOf("NMAVEN-9011-001") == 0) Assert.Fail("Unexpected
failure code: Message = "
                     + e.ToString());;
             }
 		}



Mime
View raw message