You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,272 +0,0 @@
|
||||
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* FrameDimensionTest.cs: New. Unit tests for FrameDimension
|
||||
|
||||
2007-08-01 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* TestImageAttributes.cs: ImageAttributes tests ignored in TARGET_JVM
|
||||
since not ImageAttributes supported
|
||||
* TestJpegCodec.cs: Bitmap8bbpIndexedGreyscalePixels is not working in GH
|
||||
|
||||
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: More complete test for small versus big
|
||||
alpha uses in matrices.
|
||||
|
||||
2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: Add test case for big alpha value used in
|
||||
a ColorMatrix.
|
||||
|
||||
2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Add test case for interlaced GIF
|
||||
* TestImageAttributes.cs: Add test cases for ColorMatrixFlags and for
|
||||
Gray ColorMatrix uses.
|
||||
|
||||
2007-05-23 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PngCodecTest.cs: Add test cases for 2bpp PNG images. Add some
|
||||
palette assertions in 1bpp and 4bpp test cases.
|
||||
|
||||
2007-05-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Ignore test Measure if no fonts are available.
|
||||
|
||||
2007-05-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add a few test cases on what happens when recording
|
||||
metafiles.
|
||||
|
||||
2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestJpegCodec.cs: Add test cases for 8bpp indexed greyscale JPEG
|
||||
|
||||
2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add test cases for some .ctor(Stream...)
|
||||
|
||||
2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add test cases for more .ctors
|
||||
|
||||
2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Fix typo and add Stride check.
|
||||
* IconCodecTest.cs: Fix typo.
|
||||
* PngCodecTest.cs: Fix typo and add Stride check.
|
||||
* TiffCodecTest.cs: Fix typo.
|
||||
|
||||
2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Reenable some NotWorking test case.
|
||||
* TestJpegCodec.cs: Reenable some NotWorking test case.
|
||||
* TiffCodecTest.cs: Reenable some NotWorking test case.
|
||||
|
||||
2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Reenable some NotWorking test cases.
|
||||
* IconCodecTest.cs: Reenable some NotWorking test cases.
|
||||
* PngCodecTest.cs: Reenable some NotWorking test cases.
|
||||
|
||||
2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Fix Save* test cases to check 8bpp indexed for all
|
||||
GIF saved. Added comments to why we're not getting the "right" Red.
|
||||
* TestBmpCodec.cs: Remove "NotWorking" from Bitmap32bitPixels test
|
||||
case. The file is a 32bpp RGB (no alpha).
|
||||
|
||||
2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TiffCodecTest.cs: Ignore both SPARC bots by using the HostIgnoreList
|
||||
mechanism.
|
||||
|
||||
2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EmfPlusRecordTypeTest.cs: New. Unit tests.
|
||||
* TestColorMatrix.cs: Added some test case and reworked existing to
|
||||
fix expected/actual results and add test descriptions (which should
|
||||
help find where the endian issue is hiding).
|
||||
|
||||
2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Add test cases for a GIF87a image - which is the
|
||||
format that GDI+ save GIF files (even if the original was a GIF89a).
|
||||
|
||||
2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: New. Metafile unit tests.
|
||||
|
||||
2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageCodecInfo.cs: Add missing test case for TIFF codec;
|
||||
|
||||
2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add test case for non-inverted bitmaps #80751
|
||||
|
||||
2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: New test case to check 32bpp (XP) icons.
|
||||
|
||||
2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: New test case to check loading from an Icon then
|
||||
create a Bitmap from the Image. Some properties are changed in the
|
||||
process (e.g. palette, flags).
|
||||
|
||||
2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: Add test cases for 48x48, 64x64 and 96x96 icons.
|
||||
Fix test cases for 16x16 and 32x32 icons. Add test cases for 256
|
||||
colors and monochrome icons. Remove NotWorking from most tests.
|
||||
|
||||
2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: Remove [Ignore] and replace with NotWorking.
|
||||
* TestImageCodecInfo.cs: Add test for new encoders/decoders and
|
||||
signature masks and patterns.
|
||||
|
||||
2006-12-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: Added test cases for #80323 for ColorMatrix
|
||||
using alpha values (with or without an original alpha-based color).
|
||||
|
||||
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetaHeaderTest.cs: New. Unit tests for MetaHeader.
|
||||
* WmfPlaceableFileHeaderTest.cs: New. Unit tests for
|
||||
WmfPlaceableFileHeader.
|
||||
|
||||
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* TestBmpCodec.cs,TestColorMatrix.cs,TestJpegCodec.cs : mark tests
|
||||
not working in TARGET_JVM.
|
||||
|
||||
2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Change filename for Save to ease debugging.
|
||||
* IconCodecTest.cs: Change filename for Save to ease debugging.
|
||||
* PngCodecTest.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
* TestBmpCodec.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
* TestJpegCodec.cs: Change filename for Save to ease debugging.
|
||||
* TiffCodecTest.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
|
||||
2006-09-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs, IconCodecTest.cs, PngCodecTest.cs, TestBmpCodec.cs,
|
||||
TestJpegCodec.cs, TiffCodecTest.cs: Refactor Save test case to check
|
||||
convertions between pixel formats.
|
||||
|
||||
2006-09-12 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* TestBmpCodec.cs, TestJpegCodec.cs: ifdef unsafe code
|
||||
for TARGET_JVM.
|
||||
|
||||
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: New. Unit tests for GIF codec.
|
||||
* IconCodecTest.cs: New. Unit tests for ICON codec (not working).
|
||||
* PngCodecTest.cs: New. Unit tests for PNG codec.
|
||||
* TiffCodecTest.cs: New. Unit tests for TIFF codec.
|
||||
|
||||
2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add more test cases for 1, 8 and 32 bbp bitmaps
|
||||
including checks for Pixels and BitmapData.
|
||||
* TestImageCodecInfo.cs: Fix namespace and class name.
|
||||
* TestJpegCodec.cs: Reactivate the tests (not sure why they were
|
||||
commented). Added test cases for Pixel and BitmapData (NotWorking).
|
||||
|
||||
2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add pixel value tests to a well known bitmap.
|
||||
|
||||
2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestColorMatrix.cs: Add test cases for error handling inside ctor and
|
||||
for testing each field with a different value.
|
||||
|
||||
2006-07-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Added test cases for well known image format
|
||||
(which returns a human readable name when the ImageFormat comes from
|
||||
the static properties).
|
||||
|
||||
2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttribute.cs: Fix namespace and split test for easier
|
||||
search of a memory leak.
|
||||
|
||||
2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Added test cases for Equals and GetHashCode.
|
||||
|
||||
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Update ToString expected outputs to match MS.
|
||||
|
||||
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Bitmap24bitFeatures works now.
|
||||
|
||||
2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* TestBmpCodec.cs: Marked the 24bit test as not working until
|
||||
bug #78189 is fixed.
|
||||
|
||||
2006-01-25 Boris Kirzner <borisk@mainsoft.com>
|
||||
*TestBmpCodec.cs, TestImageAttributes.cs, TestImageCodecInfo.cs:
|
||||
added #ifdef for TARGET_JVM.
|
||||
|
||||
2005-11-13 Kornél Pál <kornelpal@hotmail.com>
|
||||
|
||||
* TestImageFormat.cs: Added ToStringTest.
|
||||
|
||||
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: New test unit
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs, TestColorMatrix.cs, TestImageAttributes.cs,
|
||||
TestImageCodecInfo.cs, TestJpegCodec.cs: Deny UnmanagedCode permission
|
||||
to all tests. This shows (when executed under MS runtime) that S.D API
|
||||
is safe and doesn't requires high privileges to run - even if we know
|
||||
that, deep down, this calls into GDI+.
|
||||
|
||||
2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Enable PixelFormat tests
|
||||
|
||||
2005-08-16 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: use regular expressions for results that may vary
|
||||
while still in correct format, so same tests can be used for jvm
|
||||
|
||||
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: FormatID, CodecName, DllName, FilenameExtension,
|
||||
Flags, FormatDescription, MimeType properties checked
|
||||
|
||||
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: refactor to make possible to add tests for all
|
||||
properties, not only FormatID.
|
||||
|
||||
2004-03-22 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestColorMatrix.cs: added test case
|
||||
* TestImageAttributes.cs: added test case
|
||||
|
||||
2004-06-10 Sanjay Gupta <gsanjay@novell.com>
|
||||
|
||||
* TestBmpCodec.cs, TestImageCodecInfo.cs, TestJpedCodec.cs: Removed
|
||||
dependency on obsolete class, Assertion from NUnit.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
* Created this repository for System.Drawing.Imaging tests.
|
||||
* ChangeLog: Added.
|
||||
@@ -71,6 +71,27 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
return sRslt;
|
||||
}
|
||||
|
||||
private bool IsArm64Process ()
|
||||
{
|
||||
if (Environment.OSVersion.Platform != PlatformID.Unix || !Environment.Is64BitProcess)
|
||||
return false;
|
||||
|
||||
try {
|
||||
var process = new global::System.Diagnostics.Process ();
|
||||
process.StartInfo.FileName = "uname";
|
||||
process.StartInfo.Arguments = "-m";
|
||||
process.StartInfo.RedirectStandardOutput = true;
|
||||
process.StartInfo.UseShellExecute = false;
|
||||
process.Start ();
|
||||
process.WaitForExit ();
|
||||
var output = process.StandardOutput.ReadToEnd ();
|
||||
|
||||
return output.Trim () == "aarch64";
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/* Checks bitmap features on a known 1bbp bitmap */
|
||||
[Test]
|
||||
public void Bitmap1bitFeatures ()
|
||||
@@ -290,6 +311,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitFeatures ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
GraphicsUnit unit = GraphicsUnit.World;
|
||||
@@ -318,6 +342,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitPixels ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
#if false
|
||||
@@ -350,6 +377,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitData ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
BitmapData data = bmp.LockBits (new Rectangle (0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly, PixelFormat.Format24bppRgb);
|
||||
|
||||
Reference in New Issue
Block a user