You've already forked linux-packaging-mono
Imported Upstream version 3.10.0
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
This commit is contained in:
@@ -59,9 +59,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void CanConvertFrom () {
|
||||
Assert.IsTrue (colconv.CanConvertFrom (typeof (String)), "CCF#1");
|
||||
Assert.IsTrue (colconv.CanConvertFrom (null, typeof (String)), "CCF#1a");
|
||||
@@ -92,9 +89,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFrom ()
|
||||
{
|
||||
Color color = (Color) colconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -196,9 +190,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (Exception))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFrom_x4 ()
|
||||
{
|
||||
colconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -367,9 +358,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromInvariantString_InvalidNumber ()
|
||||
{
|
||||
try {
|
||||
@@ -399,9 +387,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_InvalidNumber ()
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -83,9 +83,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (Exception))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void FromHtml_PoundNegative ()
|
||||
{
|
||||
ColorTranslator.FromHtml ("#-1");
|
||||
@@ -100,9 +97,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (Exception))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void FromHtml_Unknown ()
|
||||
{
|
||||
ColorTranslator.FromHtml ("unknown-color-test");
|
||||
|
||||
@@ -47,9 +47,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[TestFixture]
|
||||
[SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public class TestBitmap {
|
||||
|
||||
[Test]
|
||||
@@ -239,26 +236,17 @@ namespace MonoTests.System.Drawing {
|
||||
#if NET_2_0
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Bitmap.LockBits is not implemented")]
|
||||
#endif
|
||||
public void LockBits_BitmapData_Null ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
using (Bitmap bmp = new Bitmap (100, 100, PixelFormat.Format32bppRgb)) {
|
||||
Rectangle rect = new Rectangle (0, 0, bmp.Width, bmp.Height);
|
||||
bmp.LockBits (rect, ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb, null);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Bitmap.LockBits is not implemented")]
|
||||
#endif
|
||||
public void LockBits_32_32_BitmapData ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
BitmapData data = new BitmapData ();
|
||||
using (Bitmap bmp = new Bitmap (100, 100, PixelFormat.Format32bppRgb)) {
|
||||
Rectangle rect = new Rectangle (0, 0, bmp.Width, bmp.Height);
|
||||
@@ -269,16 +257,11 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (100, data.Width, "Width");
|
||||
bmp.UnlockBits (data);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Bitmap.LockBits is not implemented")]
|
||||
#endif
|
||||
public void LockBits_32_24_BitmapData ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
BitmapData data = new BitmapData ();
|
||||
using (Bitmap bmp = new Bitmap (100, 100, PixelFormat.Format32bppRgb)) {
|
||||
Rectangle rect = new Rectangle (0, 0, bmp.Width, bmp.Height);
|
||||
@@ -289,16 +272,11 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (100, data.Width, "Width");
|
||||
bmp.UnlockBits (data);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Bitmap.LockBits is not implemented")]
|
||||
#endif
|
||||
public void LockBits_24_24_BitmapData ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
BitmapData data = new BitmapData ();
|
||||
using (Bitmap bmp = new Bitmap (100, 100, PixelFormat.Format24bppRgb)) {
|
||||
Rectangle rect = new Rectangle (0, 0, bmp.Width, bmp.Height);
|
||||
@@ -309,16 +287,11 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (100, data.Width, "Width");
|
||||
bmp.UnlockBits (data);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Bitmap.LockBits is not implemented")]
|
||||
#endif
|
||||
public void LockBits_24_32_BitmapData ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
BitmapData data = new BitmapData ();
|
||||
using (Bitmap bmp = new Bitmap (100, 100, PixelFormat.Format24bppRgb)) {
|
||||
Rectangle rect = new Rectangle (0, 0, bmp.Width, bmp.Height);
|
||||
@@ -329,7 +302,6 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (100, data.Width, "Width");
|
||||
bmp.UnlockBits (data);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -634,9 +606,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void FileDoesNotExists ()
|
||||
{
|
||||
Bitmap bmp = new Bitmap ("FileDoesNotExists.jpg");
|
||||
@@ -675,7 +644,6 @@ namespace MonoTests.System.Drawing {
|
||||
hash = new MD5CryptoServiceProvider().ComputeHash (pixels);
|
||||
return ByteArrayToString (hash);
|
||||
}
|
||||
#if !TARGET_JVM
|
||||
public string RotateIndexedBmp (Bitmap src, RotateFlipType type)
|
||||
{
|
||||
int pixels_per_byte;
|
||||
@@ -726,7 +694,6 @@ namespace MonoTests.System.Drawing {
|
||||
byte[] hash = new MD5CryptoServiceProvider().ComputeHash (pixel_data);
|
||||
return ByteArrayToString (hash);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
@@ -749,7 +716,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
}
|
||||
|
||||
#if !TARGET_JVM
|
||||
/*
|
||||
Rotate 1- and 4-bit bitmaps in different ways and check the
|
||||
resulting pixels using MD5
|
||||
@@ -1095,7 +1061,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
[Test]
|
||||
public void DefaultFormat1 ()
|
||||
{
|
||||
@@ -1712,11 +1677,7 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[TestFixture]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Unsafe code is not supported")]
|
||||
#endif
|
||||
public class BitmapFullTrustTest {
|
||||
#if !TARGET_JVM
|
||||
[Test]
|
||||
public void BitmapIntIntIntPixelFormatIntPtrCtor ()
|
||||
{
|
||||
@@ -1877,7 +1838,6 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.IsTrue (image2.RawFormat.Equals (ImageFormat.MemoryBmp), "2.RawFormat");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -49,9 +49,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Throws ArgumentException - Implementation specific")]
|
||||
#endif
|
||||
public void Dispose ()
|
||||
{
|
||||
Brushes.YellowGreen.Dispose ();
|
||||
|
||||
@@ -1181,9 +1181,6 @@ namespace MonoTests.System.Drawing {
|
||||
0x01, 0x00, 0x0B };
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Deserialize ()
|
||||
{
|
||||
BinaryFormatter bf = new BinaryFormatter ();
|
||||
@@ -1201,9 +1198,6 @@ namespace MonoTests.System.Drawing {
|
||||
67,111,108,111,114,5,115,116,97,116,101,1,0,0,0,9,7,7,2,0,0,0,10,0,0,0,0,0,0,0,0,37,0,1,0,11 };
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Deserialize2 ()
|
||||
{
|
||||
BinaryFormatter bf = new BinaryFormatter ();
|
||||
@@ -1229,9 +1223,6 @@ namespace MonoTests.System.Drawing {
|
||||
67,111,108,111,114,5,115,116,97,116,101,1,0,0,0,9,7,7,2,0,0,0,10,255,0,0,255,0,0,0,0,0,0,2,0,11};
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Deserialize3 ()
|
||||
{
|
||||
BinaryFormatter bf = new BinaryFormatter ();
|
||||
@@ -1285,7 +1276,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
}
|
||||
|
||||
#if !TARGET_JVM
|
||||
private void Compare (KnownColor kc, GetSysColorIndex index)
|
||||
{
|
||||
// we get BGR than needs to be converted into ARGB
|
||||
@@ -1335,7 +1325,6 @@ namespace MonoTests.System.Drawing {
|
||||
Compare (KnownColor.MenuHighlight, GetSysColorIndex.COLOR_MENUHIGHLIGHT);
|
||||
#endif
|
||||
}
|
||||
#endif // TARGET_JVM
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,6 @@ namespace MonoTests.System.Drawing{
|
||||
public string lfFaceName;
|
||||
}
|
||||
|
||||
#if !TARGET_JVM
|
||||
[Test]
|
||||
[Category ("CAS")]
|
||||
[ExpectedException (typeof (SecurityException))]
|
||||
@@ -199,13 +198,9 @@ namespace MonoTests.System.Drawing{
|
||||
Font f = new Font ("Arial", 10);
|
||||
f.ToLogFont (null);
|
||||
}
|
||||
#endif
|
||||
[Test]
|
||||
#if ONLY_1_1
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
#endif
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_StringNull_Float ()
|
||||
{
|
||||
@@ -219,9 +214,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f);
|
||||
@@ -240,9 +232,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float_FontStyle ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f, FontStyle.Bold);
|
||||
@@ -261,9 +250,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float_FontStyle_GraphicsUnit ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f, FontStyle.Italic, GraphicsUnit.Pixel);
|
||||
@@ -282,18 +268,12 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float_FontStyle_GraphicsUnit_Display ()
|
||||
{
|
||||
new Font (name, 12.5f, FontStyle.Italic, GraphicsUnit.Display);
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float_FontStyle_GraphicsUnit_Byte ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f, FontStyle.Strikeout, GraphicsUnit.Inch, Byte.MaxValue);
|
||||
@@ -312,9 +292,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_String_Float_FontStyle_GraphicsUnit_Byte_Bool ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f, FontStyle.Underline, GraphicsUnit.Document, Byte.MinValue, true);
|
||||
@@ -349,9 +326,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float ()
|
||||
{
|
||||
Font f = new Font (FontFamily.GenericMonospace, 12.5f);
|
||||
@@ -370,9 +344,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float_FontStyle ()
|
||||
{
|
||||
Font f = new Font (FontFamily.GenericMonospace, 12.5f, FontStyle.Bold);
|
||||
@@ -391,9 +362,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float_FontStyle_GraphicsUnit ()
|
||||
{
|
||||
Font f = new Font (FontFamily.GenericMonospace, 12.5f, FontStyle.Italic, GraphicsUnit.Millimeter);
|
||||
@@ -413,18 +381,12 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float_FontStyle_GraphicsUnit_Display ()
|
||||
{
|
||||
new Font (FontFamily.GenericMonospace, 12.5f, FontStyle.Italic, GraphicsUnit.Display);
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float_FontStyle_GraphicsUnit_Byte ()
|
||||
{
|
||||
Font f = new Font (FontFamily.GenericMonospace, 12.5f, FontStyle.Strikeout, GraphicsUnit.Inch, Byte.MaxValue);
|
||||
@@ -443,9 +405,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Font_FontFamily_Float_FontStyle_GraphicsUnit_Byte_Bool ()
|
||||
{
|
||||
Font f = new Font (FontFamily.GenericMonospace, 12.5f, FontStyle.Underline, GraphicsUnit.Document, Byte.MinValue, true);
|
||||
@@ -484,9 +443,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Dispose_Height ()
|
||||
{
|
||||
Font f = new Font (name, 12.5f);
|
||||
@@ -496,26 +452,17 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Dispose_ToLogFont ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Font f = new Font (name, 12.5f);
|
||||
f.Dispose ();
|
||||
LOGFONT lf = new LOGFONT();
|
||||
f.ToLogFont (lf);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Dispose_ToLogFont_LoopCharSet ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Font f = new Font (name, 12.5f);
|
||||
f.Dispose ();
|
||||
LOGFONT lf = new LOGFONT ();
|
||||
@@ -560,21 +507,15 @@ namespace MonoTests.System.Drawing{
|
||||
Assert.Fail ("Unexcepted exception {0} at iteration {1}", e, i);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Dispose_ToHFont ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Font f = new Font (name, 12.5f);
|
||||
f.Dispose ();
|
||||
f.ToHfont ();
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -94,18 +94,12 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Check parameters")]
|
||||
#endif
|
||||
public void Constructor_IconNull_Int_Int ()
|
||||
{
|
||||
new Icon ((Icon)null, 32, 32);
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_Icon_IntNegative_Int Not Working")]
|
||||
#endif
|
||||
public void Constructor_Icon_IntNegative_Int ()
|
||||
{
|
||||
Icon neg = new Icon (icon, -32, 32);
|
||||
@@ -115,18 +109,12 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Check parameters")]
|
||||
#endif
|
||||
public void Constructor_IconNull_Size ()
|
||||
{
|
||||
new Icon ((Icon) null, new Size (32, 32));
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_Icon_Size_Negative Not Working")]
|
||||
#endif
|
||||
public void Constructor_Icon_Size_Negative ()
|
||||
{
|
||||
Icon neg = new Icon (icon, new Size (-32, -32));
|
||||
@@ -135,9 +123,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_Icon_Int_Int_NonSquare Not Working")]
|
||||
#endif
|
||||
public void Constructor_Icon_Int_Int_NonSquare ()
|
||||
{
|
||||
Icon non_square = new Icon (icon, 32, 16);
|
||||
@@ -217,9 +202,6 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Check parameters")]
|
||||
#endif
|
||||
public void Constructor_Type_StringNull ()
|
||||
{
|
||||
new Icon (typeof (Icon), null);
|
||||
@@ -227,38 +209,23 @@ namespace MonoTests.System.Drawing {
|
||||
#if NET_2_0
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_StreamNull_Size Not Implemented")]
|
||||
#endif
|
||||
public void Constructor_StreamNull_Size ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
new Icon ((Stream) null, new Size (32, 32));
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_StringNull_Size Not Implemented")]
|
||||
#endif
|
||||
public void Constructor_StringNull_Size ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
new Icon ((string) null, new Size (32, 32));
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Constructor_StringNull_Int_Int Not Implemented")]
|
||||
#endif
|
||||
public void Constructor_StringNull_Int_Int ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
new Icon ((string) null, 32, 32);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -281,7 +248,6 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (32, clone.Size.Height, "Size.Height");
|
||||
}
|
||||
|
||||
#if !TARGET_JVM
|
||||
[Test]
|
||||
public void CloneHandleIcon ()
|
||||
{
|
||||
@@ -291,7 +257,6 @@ namespace MonoTests.System.Drawing {
|
||||
Assert.AreEqual (SystemIcons.Hand.Size.Width, clone.Size.Width, "Size.Width");
|
||||
Assert.AreEqual (SystemIcons.Hand.Size.Height, clone.Size.Height, "Size.Height");
|
||||
}
|
||||
#endif
|
||||
|
||||
private void XPIcon (int size)
|
||||
{
|
||||
@@ -331,9 +296,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("SelectFromUnusualSize_Small16 Not Working")]
|
||||
#endif
|
||||
public void SelectFromUnusualSize_Small16 ()
|
||||
{
|
||||
using (FileStream fs = File.OpenRead (TestBitmap.getInFile ("bitmaps/80509.ico"))) {
|
||||
@@ -421,18 +383,12 @@ namespace MonoTests.System.Drawing {
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (NullReferenceException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Throws NullReference, do we need to follow?")]
|
||||
#endif
|
||||
public void Save_Null ()
|
||||
{
|
||||
icon.Save (null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon16ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon16ToBitmap ()
|
||||
{
|
||||
using (Bitmap b = icon16.ToBitmap ()) {
|
||||
@@ -447,9 +403,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon32ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon32ToBitmap ()
|
||||
{
|
||||
using (Bitmap b = icon32.ToBitmap ()) {
|
||||
@@ -464,9 +417,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon48ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon48ToBitmap ()
|
||||
{
|
||||
using (Bitmap b = icon48.ToBitmap ()) {
|
||||
@@ -481,9 +431,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon64ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon64ToBitmap ()
|
||||
{
|
||||
using (Bitmap b = icon64.ToBitmap ()) {
|
||||
@@ -498,9 +445,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon96ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon96ToBitmap ()
|
||||
{
|
||||
using (Bitmap b = icon96.ToBitmap ()) {
|
||||
@@ -515,9 +459,6 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[Test] // bug #415581
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Icon256ToBitmap Not Working")]
|
||||
#endif
|
||||
public void Icon256ToBitmap ()
|
||||
{
|
||||
using (FileStream fs = File.OpenRead (TestBitmap.getInFile ("bitmaps/415581.ico"))) {
|
||||
@@ -572,38 +513,23 @@ namespace MonoTests.System.Drawing {
|
||||
#if NET_2_0
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("ExtractAssociatedIcon is not implemented")]
|
||||
#endif
|
||||
public void ExtractAssociatedIcon_Null ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Icon.ExtractAssociatedIcon (null);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("ExtractAssociatedIcon is not implemented")]
|
||||
#endif
|
||||
public void ExtractAssociatedIcon_Empty ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Icon.ExtractAssociatedIcon (String.Empty);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (FileNotFoundException))]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("ExtractAssociatedIcon is not implemented")]
|
||||
#endif
|
||||
public void ExtractAssociatedIcon_DoesNotExists ()
|
||||
{
|
||||
#if !TARGET_JVM
|
||||
Icon.ExtractAssociatedIcon ("does-not-exists.png");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -617,11 +543,7 @@ namespace MonoTests.System.Drawing {
|
||||
}
|
||||
|
||||
[TestFixture]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Unsafe code is not supported")]
|
||||
#endif
|
||||
public class IconFullTrustTest {
|
||||
#if !TARGET_JVM
|
||||
#if NET_2_0
|
||||
[Test]
|
||||
public void ExtractAssociatedIcon ()
|
||||
@@ -721,6 +643,5 @@ namespace MonoTests.System.Drawing {
|
||||
IconTest.SaveAndCompare ("HICON", icon3, false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,9 +81,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (icoConv.CanConvertFrom (typeof (byte [])), "CCF#1");
|
||||
@@ -115,9 +112,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertTo ()
|
||||
{
|
||||
Assert.IsTrue (icoConv.CanConvertTo (typeof (String)), "CCT#1");
|
||||
@@ -151,9 +145,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertFrom ()
|
||||
{
|
||||
Icon newIcon = (Icon) icoConv.ConvertFrom (null, CultureInfo.InvariantCulture, iconBytes);
|
||||
@@ -264,9 +255,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertTo ()
|
||||
{
|
||||
Assert.AreEqual (iconStr, (String) icoConv.ConvertTo (null,
|
||||
|
||||
@@ -77,9 +77,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (imgConv.CanConvertFrom (typeof (byte [])), "CCF#1");
|
||||
@@ -111,9 +108,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertTo ()
|
||||
{
|
||||
Assert.IsTrue (imgConv.CanConvertTo (typeof (String)), "CCT#1");
|
||||
@@ -147,9 +141,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFrom ()
|
||||
{
|
||||
Image newImage = (Image) imgConv.ConvertFrom (null, CultureInfo.InvariantCulture, imageBytes);
|
||||
@@ -166,9 +157,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_BadString ()
|
||||
{
|
||||
@@ -176,9 +164,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_BadString_WithCulture ()
|
||||
{
|
||||
@@ -186,9 +171,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_Bitmap ()
|
||||
{
|
||||
@@ -196,9 +178,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_Point ()
|
||||
{
|
||||
@@ -206,9 +185,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_SizeF ()
|
||||
{
|
||||
@@ -216,9 +192,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertFrom_Object ()
|
||||
{
|
||||
@@ -226,9 +199,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_BadString ()
|
||||
{
|
||||
@@ -236,9 +206,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_BadString_Culture ()
|
||||
{
|
||||
@@ -246,9 +213,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_Bitmap ()
|
||||
{
|
||||
@@ -256,9 +220,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_Point ()
|
||||
{
|
||||
@@ -266,9 +227,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_SizeF ()
|
||||
{
|
||||
@@ -276,9 +234,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertFrom_Object ()
|
||||
{
|
||||
@@ -286,9 +241,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertTo ()
|
||||
{
|
||||
Assert.AreEqual (imageStr, (String) imgConv.ConvertTo (null, CultureInfo.InvariantCulture,
|
||||
@@ -326,9 +278,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Rectangle ()
|
||||
{
|
||||
@@ -336,9 +285,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Image ()
|
||||
{
|
||||
@@ -346,9 +292,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Size ()
|
||||
{
|
||||
@@ -356,9 +299,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Bitmap ()
|
||||
{
|
||||
@@ -366,9 +306,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Point ()
|
||||
{
|
||||
@@ -376,9 +313,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Metafile ()
|
||||
{
|
||||
@@ -386,9 +320,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Object ()
|
||||
{
|
||||
@@ -396,9 +327,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void ConvertTo_Int ()
|
||||
{
|
||||
@@ -406,9 +334,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Rectangle ()
|
||||
{
|
||||
@@ -416,9 +341,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Image ()
|
||||
{
|
||||
@@ -426,9 +348,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Size ()
|
||||
{
|
||||
@@ -436,9 +355,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Bitmap ()
|
||||
{
|
||||
@@ -446,9 +362,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Point ()
|
||||
{
|
||||
@@ -456,9 +369,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Metafile ()
|
||||
{
|
||||
@@ -466,9 +376,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Object ()
|
||||
{
|
||||
@@ -476,9 +383,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (NotSupportedException))]
|
||||
public void TypeDescriptor_ConvertTo_Int ()
|
||||
{
|
||||
@@ -486,9 +390,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetPropertiesSupported ()
|
||||
{
|
||||
Assert.IsTrue (imgConv.GetPropertiesSupported (), "GPS#1");
|
||||
@@ -496,9 +397,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetProperties ()
|
||||
{
|
||||
#if NET_2_0
|
||||
|
||||
@@ -63,9 +63,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (ptconv.CanConvertFrom (typeof (String)), "CCF#1");
|
||||
@@ -97,9 +94,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertFrom ()
|
||||
{
|
||||
Assert.AreEqual (pt, (Point) ptconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -280,9 +274,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetProperties ()
|
||||
{
|
||||
Attribute [] attrs;
|
||||
@@ -325,9 +316,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromInvariantString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
@@ -341,9 +329,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string ()
|
||||
{
|
||||
// save current culture
|
||||
@@ -367,9 +352,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -69,9 +69,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (rconv.CanConvertFrom (typeof (String)), "CCF#1");
|
||||
@@ -103,9 +100,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertFrom ()
|
||||
{
|
||||
Assert.AreEqual (rect, (Rectangle) rconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -334,9 +328,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetProperties ()
|
||||
{
|
||||
Attribute [] attrs;
|
||||
@@ -394,9 +385,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromInvariantString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
@@ -410,9 +398,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string ()
|
||||
{
|
||||
// save current culture
|
||||
@@ -438,9 +423,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -85,9 +85,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCloneAndEquals()
|
||||
{
|
||||
Bitmap bmp = new Bitmap (600, 800);
|
||||
@@ -122,9 +119,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
/*Tests infinite, empty, etc*/
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestInfiniteAndEmpty()
|
||||
{
|
||||
Bitmap bmp = new Bitmap (600, 800);
|
||||
@@ -160,9 +154,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestUnionGroup1 ()
|
||||
{
|
||||
Bitmap bmp = new Bitmap (600, 800);
|
||||
@@ -316,9 +307,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestUnionGroup2 ()
|
||||
{
|
||||
RectangleF[] rects;
|
||||
@@ -466,9 +454,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestComplementGroup1 ()
|
||||
{
|
||||
RectangleF[] rects;
|
||||
@@ -573,9 +558,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestComplementGroup2 ()
|
||||
{
|
||||
|
||||
@@ -614,9 +596,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestExcludeGroup1 ()
|
||||
{
|
||||
RectangleF[] rects;
|
||||
@@ -880,9 +859,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestExcludeGroup2 ()
|
||||
{
|
||||
Bitmap bmp = new Bitmap (600, 800);
|
||||
@@ -912,9 +888,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void ExcludeBug402613 ()
|
||||
{
|
||||
Region r = new Region();
|
||||
@@ -925,9 +898,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestIntersect()
|
||||
{
|
||||
|
||||
@@ -972,9 +942,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestXor()
|
||||
{
|
||||
Bitmap bmp = new Bitmap (600, 800);
|
||||
@@ -1064,9 +1031,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestTranslate()
|
||||
{
|
||||
Region rgn1 = new Region (new RectangleF (10, 10, 120,120));
|
||||
@@ -1085,9 +1049,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Constructor_GraphicsPath_Null ()
|
||||
{
|
||||
GraphicsPath gp = null;
|
||||
@@ -1096,9 +1057,6 @@ namespace MonoTests.System.Drawing
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Constructor_RegionData_Null ()
|
||||
{
|
||||
RegionData rd = null;
|
||||
@@ -1204,27 +1162,18 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_IntIntNull ()
|
||||
{
|
||||
Assert.IsTrue (new Region ().IsVisible (0, 0, null));
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_IntIntIntIntNull ()
|
||||
{
|
||||
Assert.IsFalse (new Region ().IsVisible (0, 0, 0, 0, null));
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_PointNull ()
|
||||
{
|
||||
Point p = new Point ();
|
||||
@@ -1232,9 +1181,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_PointFNull ()
|
||||
{
|
||||
PointF p = new PointF ();
|
||||
@@ -1242,9 +1188,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_RectangleNull ()
|
||||
{
|
||||
Rectangle r = new Rectangle ();
|
||||
@@ -1252,9 +1195,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_RectangleFNull ()
|
||||
{
|
||||
RectangleF r = new RectangleF ();
|
||||
@@ -1262,18 +1202,12 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_SingleSingleNull ()
|
||||
{
|
||||
Assert.IsTrue (new Region ().IsVisible (0f, 0f, null));
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void IsVisible_SingleSingleSingleSingleNull ()
|
||||
{
|
||||
Assert.IsFalse (new Region ().IsVisible (0f, 0f, 0f, 0f, null));
|
||||
@@ -1294,9 +1228,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
public void Equals_NullGraphics ()
|
||||
{
|
||||
@@ -1319,9 +1250,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
[ExpectedException (typeof (ArgumentNullException))]
|
||||
public void GetRegionScans_Null ()
|
||||
{
|
||||
@@ -1349,9 +1277,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Region_Empty ()
|
||||
{
|
||||
Region region = new Region ();
|
||||
@@ -1388,9 +1313,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[Category ("NotWorking")]
|
||||
#endif
|
||||
public void Rectangle_GetRegionScans ()
|
||||
{
|
||||
Matrix matrix = new Matrix ();
|
||||
@@ -1579,12 +1501,8 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[TestFixture]
|
||||
#if TARGET_JVM
|
||||
[Ignore ("Unsafe code is not supported")]
|
||||
#endif
|
||||
// the test cases in this fixture aren't restricted wrt running unmanaged code
|
||||
public class RegionTestUnmanaged {
|
||||
#if !TARGET_JVM
|
||||
private Bitmap bitmap;
|
||||
private Graphics graphic;
|
||||
|
||||
@@ -1687,7 +1605,6 @@ namespace MonoTests.System.Drawing
|
||||
Assert.IsFalse (IntPtr.Zero == ptr, "ptr");
|
||||
r.ReleaseHrgn (ptr);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,9 +64,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (szconv.CanConvertFrom (typeof (String)), "CCF#1");
|
||||
@@ -98,9 +95,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertFrom ()
|
||||
{
|
||||
Assert.AreEqual (sz, (Size) szconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -283,9 +277,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetProperties ()
|
||||
{
|
||||
Attribute [] attrs;
|
||||
@@ -330,9 +321,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromInvariantString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
@@ -346,9 +334,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string ()
|
||||
{
|
||||
// save current culture
|
||||
@@ -374,9 +359,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -66,9 +66,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestCanConvertFrom ()
|
||||
{
|
||||
Assert.IsTrue (szconv.CanConvertFrom (typeof (String)), "CCF#1");
|
||||
@@ -100,9 +97,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestConvertFrom ()
|
||||
{
|
||||
Assert.AreEqual (sz, (SizeF) szconv.ConvertFrom (null, CultureInfo.InvariantCulture,
|
||||
@@ -284,9 +278,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TestGetProperties ()
|
||||
{
|
||||
Attribute [] attrs;
|
||||
@@ -331,9 +322,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromInvariantString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
@@ -347,9 +335,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string ()
|
||||
{
|
||||
// save current culture
|
||||
@@ -375,9 +360,6 @@ namespace MonoTests.System.Drawing
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ConvertFromString_string_exc_2 ()
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -67,9 +67,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void Default_Dispose ()
|
||||
{
|
||||
StringFormat sf = new StringFormat ();
|
||||
@@ -93,9 +90,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ctor_StringFormatFlags ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ((StringFormatFlags)Int32.MinValue)) {
|
||||
@@ -104,9 +98,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void ctor_StringFormatFlags_Int32 ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ((StringFormatFlags) Int32.MinValue, Int32.MinValue)) {
|
||||
@@ -130,9 +121,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void GenericDefault_Local_Dispose ()
|
||||
{
|
||||
StringFormat sf = StringFormat.GenericDefault;
|
||||
@@ -168,9 +156,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void GenericTypographic_Local_Dispose ()
|
||||
{
|
||||
StringFormat sf = StringFormat.GenericTypographic;
|
||||
@@ -191,9 +176,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidEnumArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void Alignment_Invalid ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -214,9 +196,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidEnumArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void HotkeyPrefix_Invalid ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -237,9 +216,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidEnumArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void LineAlignment_Invalid ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -260,9 +236,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidEnumArgumentException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void Trimming_Invalid ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -281,9 +254,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void Clone_Complex ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -321,9 +291,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void TabsStops()
|
||||
{
|
||||
using (StringFormat smf = new StringFormat ()) {
|
||||
@@ -345,9 +312,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (NullReferenceException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void SetTabStops_Null ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -356,9 +320,6 @@ namespace MonoTests.System.Drawing{
|
||||
}
|
||||
|
||||
[Test]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void SetDigitSubstitution ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -370,9 +331,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (NullReferenceException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void SetMeasurableCharacterRanges_Null ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
@@ -400,9 +358,6 @@ namespace MonoTests.System.Drawing{
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (OverflowException))]
|
||||
#if TARGET_JVM
|
||||
[NUnit.Framework.Category ("NotWorking")]
|
||||
#endif
|
||||
public void SetMeasurableCharacterRanges_TooBig ()
|
||||
{
|
||||
using (StringFormat sf = new StringFormat ()) {
|
||||
|
||||
Reference in New Issue
Block a user