incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r506813 - /incubator/nmaven/branches/BUG_NMAVEN_1/plugins/nmaven-utility-settings/src/test/csharp/SettingsGeneratorTest.cs
Date Tue, 13 Feb 2007 02:14:59 GMT
Author: sisbell
Date: Mon Feb 12 18:14:58 2007
New Revision: 506813

URL: http://svn.apache.org/viewvc?view=rev&rev=506813
Log:
Fixed problem of unit test using framework version 2.0 method. This caused tests not to compile
under 1.1

Modified:
    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/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=506813&r1=506812&r2=506813
==============================================================================
--- 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:14:58 2007
@@ -53,7 +53,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().Contains("NMAVEN-9011-000")) Assert.Fail("Unexpected failure
code: Message = "
+                if(!e.ToString().StartsWith("NMAVEN-9011-000")) Assert.Fail("Unexpected failure
code: Message = "
                     + e.ToString());;
             }
 		}
@@ -67,7 +67,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().Contains("NMAVEN-9011-002")) Assert.Fail("Unexpected failure
code: Message = "
+                if(!e.ToString().StartsWith("NMAVEN-9011-002")) Assert.Fail("Unexpected failure
code: Message = "
                     + e.ToString());;
             }
 		}
@@ -95,7 +95,7 @@
             }
             catch(ExecutionException e)
             {
-                if(!e.ToString().Contains("NMAVEN-9011-001")) Assert.Fail("Unexpected failure
code: Message = "
+                if(!e.ToString().StartsWith("NMAVEN-9011-001")) Assert.Fail("Unexpected failure
code: Message = "
                     + e.ToString());;
             }
 		}



Mime
View raw message