Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / class / corlib / Test / System / BufferTest.cs
index b06c3fecf8b93908cb7bdf9365a39a85d069cd82..94ee388ec564aeb152f43d691285ebabad147b77 100644 (file)
@@ -19,7 +19,6 @@ namespace MonoTests.System {
 
                const int SIZE = 10;
                byte [] byteArray  = new byte [SIZE];   // 8-bits unsigned integer array
-               float [] floatArray = new float [SIZE];
                
                [Test]
                public void BlockCopy ()
@@ -150,7 +149,7 @@ namespace MonoTests.System {
                        float [,,,] floatArray4 = new float [10,0,10,10];
                        float [,,,] floatArray5 = new float [0,0,0,0];
                        float [] floatArray6 = new float [0];
-                       TestCase [] someArray = new TestCase [3];
+                       BufferTest [] someArray = new BufferTest [3];
                
                        try {
                                Buffer.ByteLength (null);       
@@ -196,7 +195,7 @@ namespace MonoTests.System {
                        bool errorThrown = false;
                        byteArray = new byte [10];
                        byteArray [5] = 8;
-                       TestCase [] someArray = new TestCase [3];
+                       BufferTest [] someArray = new BufferTest [3];
                
                        try {
                                Buffer.GetByte (null, 5);
@@ -241,7 +240,7 @@ namespace MonoTests.System {
                public void SetByte ()
                {
                        bool errorThrown = false;
-                       TestCase [] someArray = new TestCase [3];
+                       BufferTest [] someArray = new BufferTest [3];
                
                        try {
                                Buffer.SetByte (null, 5, 12);