Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,58 +0,0 @@
2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
* HostIgnoreList.cs: Now use the DISTRO variable to track tests to
ignore.
2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
* HostIgnoreList.cs: New class to ignore some tests on specific hosts.
Useful for monobuild where old versions of libraries (e.g. fontconfig)
are failing some unit tests (that we don't want to ignore for all
platforms/distros).
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
* Test20.J2EE.vmwcsproj : fixed reference path.
2006-09-12 Boris Kirzner <borisk@mainsoft.com>
* Test20.csproj,Test20.J2EE.vmwcsproj: updated references path.
2006-08-28 Boris Kirzner <borisk@mainsoft.com>
* System.Drawing.Test20.J2EE.sln, System.Drawing.Test20.sln,
Test20.csproj, Test20.J2EE.vmwcsproj: added solution
and project files for NET_2_0 tests.
2006-01-25 Boris Kirzner <borisk@mainsoft.com>
* Test.vmwcsproj,Test.dotnet.csproj: added reference to NUnit projects.
2006-01-23 Boris Kirzner <borisk@mainsoft.com>
* Test.vmwcsproj: perform java output validation.
2005-09-06 Boris Kirzner <borisk@mainsoft.com>
* Test.dotnet.csproj, Test.vmwcsproj: Added GraphicsPathIterator.cs.
2005-08-16 Andrew Skiba <andrews@mainsoft.com>
* Test.dotnet.csproj, Test.vmwcsproj: Embed Bitmap1.png, add Bitmap1.bmp
2005-08-10 Boris Kirzner <borisk@mainsoft.com>
* Test.dotnet.csproj, Test.vmwcsproj: Added GraphicsPath.cs.
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
* Test.dotnet.csproj, Test.vmcsproj: add ColorConverter.cs and ColorTranslator.cs
2005-08-08 Andrew Skiba <andrews@mainsoft.com>
* Test.dotnet.csproj, Test.vmcsproj: move these projects from DrawingTest/Test and include Mono tests in addition to Mainsoft tests.
2004-03-17 Ravindra <rkumar@novell.com>
* System.Drawing.Drawing2D: Created repository for tests of
this namespace.
* System.Drawing.Imaging: Created repository for tests of
this namespace.
* System.Drawing.Printing: Created repository for tests of
this namespace.
* System.Drawing.Text: Created repository for tests of this
namespace.
* ChangeLog: Added.

View File

@@ -1,39 +0,0 @@
2006-12-21 Sebastien Pouliot <sebastien@ximian.com>
* TestToolboxItem.cs: More test cases (mostly 2.0 stuff).
2006-11-28 Sebastien Pouliot <sebastien@ximian.com>
* UITypeEditorCas.cs: Reuse new unit test cases in CAS tests.
* UITypeEditorTest.cs: New. Unit tests for UITypeEditor.
2006-05-25 Gert Driesen <drieseng@users.sourceforge.net>
* PropertyValueUIItemCas.cs: Fix compilation using csc 1.x.
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
* TestToolboxItem.cs: Update ComponentType check to work under MS 2.0.
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* TestToolboxItem.cs: New unit test
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
* CategoryNameCollectionCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* PaintValueEventArgsCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* PropertyValueUIItemCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* ToolboxComponentsCreatedEventArgsCas.cs: New. CAS unit tests to
check for LinkDemand for SkipVerification.
* ToolboxComponentsCreatingEventArgsCas.cs: New. CAS unit tests to
check for LinkDemand for SkipVerification.
* ToolboxItemCas.cs: New. CAS unit tests to check for LinkDemand for
SkipVerification.
* ToolboxItemCollectionCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* UITypeEditorCas.cs: New. CAS unit tests to check for LinkDemand for
SkipVerification.

View File

@@ -1,250 +0,0 @@
2010-07-15 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Add test case for #537396 (empty rects)
2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
* TestBlend.cs, TestMatrix.cs : nunit test upgrade to modern style.
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs, LinearGradientBrushTest.cs, TestMatrix.cs:
Add delta when comparing floating point values since there can be
small differences between different platforms.
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
* LinearGradientBrushTest.cs, GraphicsPathTest.cs,
TestMatrix.cs : fix tests wrt rounding that were failing on .NET
too (exposed by nunit24).
2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathIteratorTest.cs: New. Add some (incomplete) unit
tests for GraphicsPathIterator. Test cases are mostly to ensure
null check compatibility with MS.
* LinearGradientBrushTest.cs: Add test case when setting null
on properties.
* PathGradientBrushTest.cs: Add test case when setting null
on properties.
2008-09-03 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add unit test to check for an open curve
points.
2008-09-02 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add a bunch of unit tests to check when
points can be compressed (removed) when adding shapes to a path.
2008-08-04 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add test case for "half" closed paths.
[Bug #413461]
2007-10-30 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added IsVisible test cases on ellipses
(#325502)
2007-07-31 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for Reverse based on the
C test cases provided in #81859.
2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for Reverse, the complex
ones don't work yet (see #81859).
2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
* TestMatrix.cs: Allow a small delta when comparing floats. This
allows the ARM to work properly (e.g. -9.999995 versus -10).
2006-09-26 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test case for Reverse (and found out that
the types aren't reversed, only the points are).
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
* TestColorBlend.cs,TestHatchBrush.cs : marked tests not working
for TARGET_JVM.
2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Ignore some test cases if we cannot get any
font family from GDI+.
* TestHatchBrush.cs: Ignore some test cases if we cannot get any font
family from GDI+. Update to NUnit 2.2+ and fix getOutSufix method
2006-06-09 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for IsVisible methods.
2006-06-07 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for IsOutlineVisible methods.
2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
* TestHatchBrush.cs: Some were surprisingly similar until...
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Ignore some test cases that aren't implemented
in libgdiplus and have different results in MS 1.x/2.0 (or between
different executions, yuck).
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
* PathGradientBrushTest.cs: New. Unit tests (mostly) based on the test
cases created for LinearGradientBrush.
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for Widen and Wrap with empty
path (expected behaviour) and paths that have a single point (stranger
behaviour). Changed comments on GetBounds_WithPen test case as it will
probably never work under Mono due to difference in precisions.
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for GetBounds and found
out the results are very imprecise when curves are used (hence
difficult to test but much easier to implement ;-)
2006-05-03 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Added new test case for #78185 (from
Bill Holmes).
2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Added new test case for #78179 (from
Bill Holmes).
2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
* TestColorBlend.cs: Added new test cases to verify if the TODO were
still valid. Updated existing test cases to nunit 2.2 api.
* GraphicsPathTest.cs: Added new test cases for AddCurve and it's
different behaviour (in some methods) when only two points are used
to define a curve.
2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Activate two unit tests where we use AddLines
to add a single point to a path.
2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added new test cases for AddString.
2006-04-20 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Remove "NonWorking" from many test
cases. Added more test cases for non-invertible matrix and to ensure
all matrix-based transformation are correct.
2006-04-19 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add test cases for Wrap and Widen (most of them
are current "NotWorking").
2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
* TestMatrix.cs: Added new test cases for contructors accepting
rectangles and points.
2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Added a bunch of test cases to check
for the "initial" matrix of the brush (which we don't set).
* TestMatrix.cs: Added test cases about matrix identity precision.
2006-03-29 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add test cases for every Add* method to check
their (different) behaviour wrt starting and closing figures in the
path they are added.
2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
* TestMatrix.cs: Added new test cases.
2006-03-22 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: New. Some unit tests (moslty failing).
2006-03-14 Sebastien Pouliot <sebastien@ximian.com>
* TestMatrix.cs: Added new test cases to test libgdiplus validations.
2006-03-13 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added new test cases for SetMarkers,
ClearMarkers, CloseFigure and CloseAllFigures on an empty path.
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Removed "NotWorking" from existing Flatten
tests and added more test cases (for each type of shape).
2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for GetBounds and re-activated
some parts of the tests that checked bounds (Add* tests).
2006-01-13 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: New. Added multiple test cases to check null
handling and how the points are generated for the Add* methods.
* PathDataTest.cs: New. Added clone test case.
2006-01-12 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: New. Basic test cases for empty path and
cloning.
* PathDataTest.cs: New. Test cases for PathData.
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
* TestBlend.cs, TestColorBlend.cs, TestHatchBrush.cs, TestMatrix.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-25 Jordi Mas i Hernandez <jordi@ximian.com>
* TestMatrix.cs: New test cases
2005-08-24 Jordi Mas i Hernandez <jordi@ximian.com>
* TestMatrix.cs: New Matrix unit case
2004-06-03 Ravindra <rkumar@novell.com>
* TestHatchBrush.cs: Added missing test cases for all the hatch
styles.
2004-05-18 Ravindra <rkumar@novell.com>
* TestHatchBrush.cs: Added a test case for HatchBrush.cs.
* TestBlend.cs: dos2unix format and namespace changed to
MonoTests.System.Drawing.Drawing2D.
* TestColorBlend.cs: dos2unix format and namespace changed to
MonoTests.System.Drawing.Drawing2D.
2004-03-17 Ravindra <rkumar@novell.com>
* TestBlend.cs: Added.
* TestColorBlend.cs: Added.
2004-03-17 Ravindra <rkumar@novell.com>
* System.Drawing.Drawing2D: Created a repository for
System.Drawing.Drawing2D tests.
* ChangeLog: Added.

View File

@@ -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.

View File

@@ -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);

View File

@@ -1,65 +0,0 @@
2009-07-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSourceTest.cs:
* PaperSizeTest.cs: Include the new tests in NET_2_0 define, to fix
the 1.1 build.
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSourceTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PaperSizeTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
* MarginsTest.cs: Remove operator tests before 2.0. Fix bots failures.
2007-05-29 Sebastien Pouliot <sebastien@ximian.com>
* MarginsTest.cs: New. Unit tests for Margins.
2007-05-03 Sebastien Pouliot <sebastien@ximian.com>
* PrintingServicesUnixTest.cs: New. Test case to make sure libgdiplus
was compiled with printing support.
2006-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSettingsTest.cs: Check for installed printers,
since we need to have at least one. Don't run the tests
otherwise.
2006-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSettingsTest.cs: New file.
2005-09-22 Sebastien Pouliot <sebastien@ximian.com>
* PrintingPermissionAttributeTest.cs: Removed *Choice security actions
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
* PrintingPermissionTest.cs: Before 2.0 some test cases throws
ArgumentException.
2005-08-26 Atsushi Enomoto <atsushi@ximian.com>
* PrintingPermissionTest.cs, PrintingPermissionAttributeTest.cs :
removed BOM. LF as eol.
2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
* PrintingPermissionTest.cs: Added tests for unification as this
assembly is signed by the "MS final" key (not the ECMA key).
2004-09-09 Sebastien Pouliot <sebastien@ximian.com>
* PrintingPermissionAttributeTest.cs: New. Unit tests for Printing
PermissionAttribute.
* PrintingPermissionTest.cs: New. Unit tests for PrintingPermission.
2004-03-17 Ravindra <rkumar@novell.com>
* Created this repository for System.Drawing.Printing tests.
* ChangeLog: Added.

View File

@@ -99,7 +99,6 @@ namespace MonoTests.System.Drawing.Printing {
optionPtr = (IntPtr)((long)optionPtr + cupsOptionSize);
}
cupsFreeDests (1, destPtr);
return options;
}
@@ -115,8 +114,9 @@ namespace MonoTests.System.Drawing.Printing {
var settings = new PrinterSettings () { PrinterName = PrinterSettings.InstalledPrinters [0] };
Assert.AreEqual (options ["PageSize"], settings.DefaultPageSettings.PaperSize.PaperName,
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (PaperSize)");
Assert.AreEqual (options ["Resolution"], string.Format ("{0}dpi", settings.DefaultPageSettings.PrinterResolution.X),
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (Resolution)");
if (options.ContainsKey("Resolution"))
Assert.AreEqual (options ["Resolution"], string.Format ("{0}dpi", settings.DefaultPageSettings.PrinterResolution.X),
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (Resolution)");
}
#endregion

View File

@@ -1,11 +0,0 @@
2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
* InstalledFontCollectionTest.cs: New. Unit tests.
* PrivateFontCollectionCas.cs: New. CAS unit tests, mainly for
AddMemoryFont which cannot be executed without UnmanagedCode
permission.
* PrivateFontCollectionTest.cs: New. Unit tests.
2004-03-17 Ravindra <rkumar@novell.com>
* Created this repository for System.Drawing.Text tests.
* ChangeLog: Added.

File diff suppressed because it is too large Load Diff