diff options
author | Atsushi Eno <atsushi@ximian.com> | 2011-04-06 15:01:27 +0400 |
---|---|---|
committer | Atsushi Eno <atsushi@ximian.com> | 2011-04-06 15:01:27 +0400 |
commit | c838b12b2e0bbebc6cd9e686bdbe0a7cde95fde6 (patch) | |
tree | 180337328f5af1c7663fe38189f77dc737af0164 /mcs/class/Microsoft.Build.Utilities | |
parent | f8928669f247e8a9eec57b6c182fc128d40a2336 (diff) |
Remove obsolete nunit syntax from tests except for Assertion usage.
Diffstat (limited to 'mcs/class/Microsoft.Build.Utilities')
-rwxr-xr-x | mcs/class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities/CommandLineBuilderTest.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mcs/class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities/CommandLineBuilderTest.cs b/mcs/class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities/CommandLineBuilderTest.cs index f5e30692475..d53f868583a 100755 --- a/mcs/class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities/CommandLineBuilderTest.cs +++ b/mcs/class/Microsoft.Build.Utilities/Test/Microsoft.Build.Utilities/CommandLineBuilderTest.cs @@ -147,7 +147,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendFileNamesIfNotNull1 () { clb = new CommandLineBuilder (); @@ -181,7 +181,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendFileNamesIfNotNull3 () { clb = new CommandLineBuilder (); @@ -256,7 +256,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitch2 () { clb = new CommandLineBuilder (); @@ -273,7 +273,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchIfNotNull1 () { clb = new CommandLineBuilder (); @@ -299,7 +299,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchIfNotNull3 () { clb = new CommandLineBuilder (); @@ -324,7 +324,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchIfNotNull5 () { clb = new CommandLineBuilder (); @@ -333,7 +333,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendSwitchIfNotNull6 () { clb = new CommandLineBuilder (); @@ -360,7 +360,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchIfNotNull8 () { clb = new CommandLineBuilder (); @@ -369,7 +369,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendSwitchIfNotNull9 () { clb = new CommandLineBuilder (); @@ -419,7 +419,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull1 () { clb = new CommandLineBuilder (); @@ -445,7 +445,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull3 () { clb = new CommandLineBuilder (); @@ -470,7 +470,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull5 () { clb = new CommandLineBuilder (); @@ -479,7 +479,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull6 () { clb = new CommandLineBuilder (); @@ -505,7 +505,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"switchName\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"switchName\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull8 () { clb = new CommandLineBuilder (); @@ -514,7 +514,7 @@ namespace MonoTests.Microsoft.Build.Utilities { } [Test] - [ExpectedException (typeof (ArgumentNullException), "Parameter \"delimiter\" cannot be null.")] + [ExpectedException (typeof (ArgumentNullException), ExpectedMessage = "Parameter \"delimiter\" cannot be null.")] public void TestAppendSwitchUnquotedIfNotNull9 () { clb = new CommandLineBuilder (); |