瀏覽代碼

active clone tests now that is fixed

svn path=/trunk/mcs/; revision=42121
Jordi Mas i Hernandez 21 年之前
父節點
當前提交
65fa0d0f4b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs

+ 4 - 4
mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs

@@ -120,7 +120,7 @@ namespace MonoTests.System.Drawing{
 			Assert.AreEqual (Color.Black.B, color.B);										
 		}
 		
-		//[Test]
+		[Test]
 		public void Clone()
 		{
 			string sInFile = getInFile ("bitmaps/almogaver24bits.bmp");
@@ -140,7 +140,7 @@ namespace MonoTests.System.Drawing{
 			Assert.AreEqual (colororg50, colornew50);				
 		}	
 		
-		//[Test]
+		[Test]
 		public void CloneImage()
 		{
 			string sInFile = getInFile ("bitmaps/almogaver24bits.bmp");			
@@ -148,9 +148,9 @@ namespace MonoTests.System.Drawing{
 			
 			Bitmap bmpNew = (Bitmap) bmp.Clone ();			
 			
-			/*Assert.AreEqual (bmp.Width, bmpNew.Width);
+			Assert.AreEqual (bmp.Width, bmpNew.Width);
 			Assert.AreEqual (bmp.Height, bmpNew.Height);		
-			Assert.AreEqual (bmp.PixelFormat, bmpNew.PixelFormat);			*/
+			Assert.AreEqual (bmp.PixelFormat, bmpNew.PixelFormat);
 			
 		}