From 4bc49a96049ed08d6e45b51571261172f89bc858 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 3 Dec 2004 14:47:29 +0000 Subject: 2004-12-03 Martin Baulig * arrays/SortedArrayTests.cs: Removed the exception message from the [ExpectedException(typeof(ArgumentOutOfRangeException))]. * trees/RedBlackTreeSetTests.cs: Likewise. * trees/Bag.cs: Likewise. svn path=/trunk/mcs/; revision=37022 --- mcs/class/Mono.C5/Test/ChangeLog | 8 ++++++++ mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs | 12 ++++++------ mcs/class/Mono.C5/Test/trees/Bag.cs | 12 ++++++------ mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs | 12 ++++++------ 4 files changed, 26 insertions(+), 18 deletions(-) (limited to 'mcs/class/Mono.C5') diff --git a/mcs/class/Mono.C5/Test/ChangeLog b/mcs/class/Mono.C5/Test/ChangeLog index b0da07734cc..9f8ab7b43f8 100644 --- a/mcs/class/Mono.C5/Test/ChangeLog +++ b/mcs/class/Mono.C5/Test/ChangeLog @@ -1,3 +1,11 @@ +2004-12-03 Martin Baulig + + * arrays/SortedArrayTests.cs: Removed the exception message from + the [ExpectedException(typeof(ArgumentOutOfRangeException))]. + + * trees/RedBlackTreeSetTests.cs: Likewise. + * trees/Bag.cs: Likewise. + 2004-11-26 Martin Baulig * */*.cs: Added some more `#if FIXME's to comment out tests which diff --git a/mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs b/mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs index 5b29b3fbd03..0670d88f3c4 100644 --- a/mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs +++ b/mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs @@ -719,7 +719,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow1() { tree.Predecessor(-2); @@ -727,7 +727,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was 0.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow2() { tree.Predecessor(0); @@ -752,7 +752,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -1.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakPredecessorTooLow1() { tree.WeakPredecessor(-1); @@ -776,7 +776,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 38.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh1() { tree.Successor(38); @@ -784,7 +784,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh2() { tree.Successor(39); @@ -809,7 +809,7 @@ namespace nunit.arrays.sorted [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakSuccessorTooHigh1() { tree.WeakSuccessor(39); diff --git a/mcs/class/Mono.C5/Test/trees/Bag.cs b/mcs/class/Mono.C5/Test/trees/Bag.cs index 42439cb47fd..160aa490174 100644 --- a/mcs/class/Mono.C5/Test/trees/Bag.cs +++ b/mcs/class/Mono.C5/Test/trees/Bag.cs @@ -906,7 +906,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow1() { tree.Predecessor(-2); @@ -914,7 +914,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was 0.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow2() { tree.Predecessor(0); @@ -939,7 +939,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakPredecessorTooLow1() { tree.WeakPredecessor(-2); @@ -963,7 +963,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 38.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh1() { tree.Successor(38); @@ -971,7 +971,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh2() { tree.Successor(39); @@ -996,7 +996,7 @@ namespace nunit.trees.TreeBag [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakSuccessorTooHigh1() { tree.WeakSuccessor(39); diff --git a/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs b/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs index fe9056ba26c..a8ba41265ca 100644 --- a/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs +++ b/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs @@ -724,7 +724,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow1() { tree.Predecessor(-2); @@ -732,7 +732,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was 0.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void PredecessorTooLow2() { tree.Predecessor(0); @@ -757,7 +757,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakPredecessorTooLow1() { tree.WeakPredecessor(-2); @@ -781,7 +781,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 38.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh1() { tree.Successor(38); @@ -789,7 +789,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void SuccessorTooHigh2() { tree.Successor(39); @@ -814,7 +814,7 @@ namespace nunit.trees.TreeSet [Test] - [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")] + [ExpectedException(typeof(ArgumentOutOfRangeException))] public void WeakSuccessorTooHigh1() { tree.WeakSuccessor(39); -- cgit v1.2.3