Imported Upstream version 3.10.0

Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
This commit is contained in:
Jo Shields
2014-10-04 11:27:48 +01:00
parent fe777c5c82
commit 8b9b85e7f5
970 changed files with 20242 additions and 31308 deletions

View File

@ -71,9 +71,6 @@ namespace MonoTests.System.Drawing.Imaging {
// Text Color Matrix processing
[Test]
#if TARGET_JVM
[Category ("NotWorking")]
#endif
public void ColorMatrix1 ()
{
Color clr_src, clr_rslt;
@ -93,9 +90,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Category ("NotWorking")]
#endif
public void ColorMatrix2 ()
{
Color clr_src, clr_rslt;
@ -152,18 +146,12 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Category ("NotWorking")]
#endif
public void ColorMatrix_80323_UsingAlpha ()
{
Bug80323 (Color.FromArgb (100, 255, 0, 0));
}
[Test]
#if TARGET_JVM
[Category ("NotWorking")]
#endif
public void ColorMatrix_80323_WithoutAlpha ()
{
// this color is identical, once drawn over the bitmap, to Color.FromArgb (100, 255, 0, 0)
@ -186,9 +174,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_Null ()
{
@ -211,9 +196,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_Default_Any ()
{
@ -223,9 +205,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_Default_Count ()
{
@ -235,9 +214,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays ()
{
@ -247,9 +223,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Any ()
{
@ -259,9 +232,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Bitmap ()
{
@ -271,9 +241,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Brush ()
{
@ -283,9 +250,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Count ()
{
@ -295,9 +259,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Default ()
{
@ -307,9 +268,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Pen ()
{
@ -319,9 +277,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_AltGrays_Text ()
{
@ -344,9 +299,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_SkipGrays_Any ()
{
@ -356,9 +308,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_SkipGrays_Count ()
{
@ -368,9 +317,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_InvalidFlag ()
{
@ -380,9 +326,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrix_InvalidType()
{
@ -392,9 +335,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrices_Null_ColorMatrix ()
{
@ -414,9 +354,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrices_ColorMatrix_Null_AltGrays ()
{
@ -437,9 +374,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
public void SetColorMatrices_Gray ()
{
Color c = ProcessColorMatrices (Color.Gray, global_color_matrix, global_gray_matrix, ColorMatrixFlag.Default, ColorAdjustType.Default);
@ -453,9 +387,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
public void SetColorMatrices_Color ()
{
Color c = ProcessColorMatrices (Color.MidnightBlue, global_color_matrix, global_gray_matrix, ColorMatrixFlag.Default, ColorAdjustType.Default);
@ -469,9 +400,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrices_InvalidFlags ()
{
@ -481,9 +409,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
[ExpectedException (typeof (ArgumentException))]
public void SetColorMatrices_InvalidType ()
{
@ -524,9 +449,6 @@ namespace MonoTests.System.Drawing.Imaging {
}
[Test]
#if TARGET_JVM
[Ignore ("ImageAttributes is not supported in GH")]
#endif
public void ColorMatrixAlpha ()
{
for (int i = 0; i < 256; i++) {