Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2004-12-03 17:47:29 +0300
committerMartin Baulig <martin@novell.com>2004-12-03 17:47:29 +0300
commit4bc49a96049ed08d6e45b51571261172f89bc858 (patch)
tree8fd8e207a538cb463af77047d6808c97399ef5d1 /mcs/class/Mono.C5
parentbcb32974d9c178e89e5d055de789c37d0fde9f90 (diff)
2004-12-03 Martin Baulig <martin@ximian.com>
* 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
Diffstat (limited to 'mcs/class/Mono.C5')
-rw-r--r--mcs/class/Mono.C5/Test/ChangeLog8
-rw-r--r--mcs/class/Mono.C5/Test/arrays/SortedArrayTests.cs12
-rw-r--r--mcs/class/Mono.C5/Test/trees/Bag.cs12
-rw-r--r--mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs12
4 files changed, 26 insertions, 18 deletions
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 <martin@ximian.com>
+
+ * 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 <martin@ximian.com>
* */*.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);