Filip Navara
98cb4aed20
[System.Drawing] Fix comparison in MeasureString_Wrapping_Dots test ( #15958 )
2019-08-01 17:09:38 +02:00
Egor Bogatov
787f1bc69c
[NS2.1] Import some primitive System.Drawing types from CoreFX ( #11658 )
...
* Import Color and friends from CoreFX
* Fix some tests
* SystemColors.cs from CoreFX
* bump corefx
* ignore reflection tests
* fix System.Web tests
* bump corefx
* remove files
* fix mobile platforms
* fix mobile build
* fix mobile build
* fix mobile build
* fix mobile build
* Bump API snapshot submodule
* [csproj] Update project files
2018-11-29 09:12:32 +01:00
Alexander Köplinger
75f3c0cc0c
[System.Drawing] Fix test build for wasm profile
...
It was recently switched to only contain the netstandard20 subset of types.
2018-11-01 02:04:40 +01:00
Alexander Köplinger
3b40965d0a
[System.Drawing] Switch tests to use embedded test resources
2018-09-27 22:46:56 +02:00
Egor Bogatov
09de0b9e1b
[System] ComponentModel and System.Net from corefx ( #7948 )
...
* ComponentModel from corefx
* System.Net.Mail from corefx
* update SR.cs
* fix build error
* fix tests
* undo run-test-default.sh change
* update corefx
* fix failing tests
* hide DesignerAttribute on mobile profiles
* Bump API snapshot submodule
2018-04-20 22:04:39 -07:00
Hugh Bellamy
4bd60ea895
Fix Gdi+ WrongState exception type and remove incorrect test for GdiPlus status code ( #8276 )
...
* Fix Status.WrongState exception
* Remove invalid test for GdipLockBits
* Fix LinearGradientBrush behaviour to match netfx/netcore
2018-04-18 17:43:14 -04:00
Marek Safar
b3881a418f
CoreFX update
2018-04-12 11:39:27 +02:00
Hugh Bellamy
fcd52894d9
[System.Drawing] Remove failing jpeg flags tests ( #7931 )
2018-04-01 00:41:17 +02:00
Alexis Christoforides
dcda4c77bc
Disable some PngCodecTest that have trouble on CI right now
2018-02-09 15:36:18 -05:00
Hugh Bellamy
8a82b292fb
Update GdipGetImageDimensions tests to pass against Windows GDI+ ( #6008 )
...
Make the image height dimension check more relaxed.
These fail against windows and cause errors when fixed in mono/libgdiplus#121
2017-11-16 18:57:11 +01:00
Marek Safar
411a37af27
Bump corefx
2017-10-05 22:43:54 +02:00
Hugh Bellamy
177fca4917
Fix LinearGradientMode parameter validation to match corefx ( #5672 )
2017-10-02 16:15:28 +02:00
Hugh Bellamy
5825342717
Remove invalid tests for image palettes in GdiPlusTest ( #5671 )
...
C.r. https://github.com/mono/libgdiplus/pull/112
2017-10-02 02:28:25 +02:00
Alexander Köplinger
a243301ee4
[WinForms/Drawing] Remove some leftover test scripts ( #5518 )
...
They're no longer used.
2017-09-06 22:24:07 +02:00
Alexander Köplinger
f95b3f433c
[bcl] Cleanup outdated csproj/sln files ( #4806 )
...
They were either replaced by the autogenerated csproj files
or just completely broken for years.
2017-05-09 00:07:45 +02:00
Frederik Carlier
b182c70602
Use MD5.Create () instead of new MD5CryptoServiceProvider()
2017-03-16 09:09:50 +01:00
Frederik Carlier
ca6d958db0
Remove CAS from System.Drawing unit tests
2017-03-11 20:37:14 +01:00
Frederik Carlier
3ad43b66e7
RFI - Support building System.Drawing for NETCOREAPP2.0 ( #4483 )
2017-03-07 11:26:38 +01:00
Frederik Carlier
d1be740678
Make System.Drawing unit tests use Assert.Throws instead of [ExpectedException] ( #4476 )
...
* Use Assert.Throws<> intstead of ExpectedException
* System.Drawing.Tests: Use Assert.Throws instead of ExpectedException
2017-03-06 18:12:35 +01:00
Marcos Henrich
863dc73d19
[bcl] Add NUnitHelper.cs with API not in nunit-lite
...
NUnitHelper.cs adds CollectionAssert, FileAssert, StringAssert.
Also adds AssertHelper class with methods that are not part of nunitlite
Assert class.
2016-10-29 14:09:33 +02:00
Alexander Köplinger
60497b4bfb
[System.Drawing] Disable failing PngCodec 2bpp tests on ARM64
...
They fail on the new Jenkins ARM64 bots, disable them until we figure out the cause.
It looks like a libgdiplus issue to me which makes deploying a fixed version a bit more difficult.
Filed https://bugzilla.xamarin.com/show_bug.cgi?id=41171 to track.
2016-05-19 02:08:21 +02:00
Paul Gofman
bbf7ea470a
[System.Drawing.Printing] CUPS default PageSize and InputSlot should override PPD defaults.
...
There is already a test case for that (PrintingServicesUnixTest.cs,
Bug602934_PrinterSettingsReturnActualValues) which fails when user
configured options are different from PPD settings. Patch also makes
this test not to fail if "Resolution" option is not present in CUPS
options.
*Update: removed leftover debug Console.WriteLine from patch
2016-02-19 13:01:10 +03:00
Alexander Köplinger
cb07018bca
Remove ChangeLog references from Makefile and .gitattribute
2016-01-29 21:41:48 +01:00
Alexander Köplinger
b03e606287
Remove ChangeLog files from the repo
...
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
ES
1e30bae19c
ColorTranslator.FromHtml 3-digit codes support ( #35664 )
2015-11-09 18:53:00 +03:00
Kimura Youichi
a89c01f98e
[System.Drawing] Fix Point constructor with single int parameter to correctly handle negative locations.
2015-09-23 04:50:25 +09:00
Alexander Köplinger
3a71f84cca
[build] Fix a few Makefiles to correctly use net_4_x instead of net_4_5
2015-07-25 17:47:29 +02:00
Zoltan Varga
210df1d497
[bcl] Fix a sys.drawing test so it doesn't fail on misconfigured systems.
2015-06-03 08:49:45 -04:00
Zoltan Varga
ef380e3712
Rename Managed.Windows.Forms to System.Windows.Forms for consistency.
2015-03-03 15:59:16 -05:00
Alex Rønne Petersen
351e94964c
Remove obsolete profiles and profile checks from the build system.
...
* Removed all old profiles from VALID_PROFILE checks.
* Removed most logic under checks like ifeq (net_2_0), $(PROFILE)) as
it is dead code now that those old profiles are gone.
* Simplified the list of assemblies in mcs/class/Makefile now that we
only have one profile.
* LIBRARY_NEEDS_POSTPROCESSING has been removed as it was only used by
old 1.x assemblies that no longer exist.
* Build logic that sets MONO_PATH now points to mcs/class/lib/net_4_5
instead of mcs/class/lib/net_2_0.
2015-02-03 03:41:14 +01:00
Alexander Köplinger
d4d7374efc
[bcl] Remove ONLY_1_1 defines from class libs
...
This is not used anymore.
2015-01-21 17:18:30 +01:00
Alexander Köplinger
746650d1b9
[bcl] Remove more NET_2_0 checks from class libs
2015-01-17 05:45:39 +01:00
Alexander Köplinger
48e112d652
[Cleanup] Removed TARGET_JVM
...
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Alexander Köplinger
5f4b8c2cf4
[Cleanup] Removed JavaEE csproj and sln files
...
They were once part of a special Java target profile, but this is no longer used today.
2014-08-07 23:01:53 +02:00
Alexander Köplinger
0450000dc4
[Cleanup] Removed a bunch of superfluous .csproj and .sln files
...
Most of these files weren't updated in the last >5 years and serve no purpose today, so they only clutter the repository.
2014-08-06 18:02:30 +02:00
Alexander Köplinger
9c73576f10
[System.Drawing] Delete test files after test
2014-07-07 14:24:55 +02:00
Eberhard Beilharz
4ee69bbd30
[Printing] Add unit test for Novell bug #602934
...
This unit test demonstrates the problem reported as #602934
(https://bugzilla.novell.com/show_bug.cgi?id=602934 ).
2014-02-28 16:36:26 +01:00
Alexander Köplinger
b0032294da
[Test] Cleaned up how a bunch of tests were ignored
...
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Alexander Köplinger
6923ba9c02
Fixed a test failure that occurs when the specified font is not installed.
...
On systems where 'Liberation Sans' is not installed out-of-the-box
(e.g. Ubuntu Server, OpenSuse Server) it falls back to 'DejaVu Sans',
which makes the GetHashCode_NameDiffers_HashesNotEqual() test fail as
the two font names are now equal. Instead we use 'Arial' and 'Courier New'
which resolve to different fonts on most systems.
Changes licensed under MIT/X11.
2013-11-12 19:07:25 +01:00
gvillanueva
234c346b81
Rewrote Font.GetHashCode() to improve uniqueness.
...
Added test cases to prevent reintroduction of collision scenarios observed in Font.GetHashCode().
2013-08-27 22:22:09 -07:00
Miguel de Icaza
c1c9dbb538
Put back the tests, we were trying to track down the regressions
2013-05-24 15:20:50 -04:00
Martin Baulig
7d92f4652d
[System.Drawing]: Disable more broken tests.
2013-05-24 20:16:29 +02:00
Martin Baulig
d97c1a2236
[System.Drawing]: Disable broken tests.
2013-05-24 02:28:24 +02:00
Martin Baulig
a0a7c13e5f
Disable failing tests on the Mac.
...
* System.Drawing (filed #7940 about this):
GraphicsTest.DrawFillRectangle_Width_2 and
GraphicsTest.FillDrawRectangle_Width_2
* Mono.Posix (filed #7942 ):
UnixUserTest.NonReentrantSyscalls
* WCF (filed #7943 ):
CallbackBehaviorAttributeTest.CallbackExample1
CallbackBehaviorAttributeTest.CallbackExample2
UriTemplateTest.EscapedUriCandidate
UriTemplateTest.SimpleWebGet
AnnouncementClientTest.AnnonceOnlineOfflineAddressSchemeMismatch
2012-10-23 13:02:01 +02:00
Jérémie Laval
c0a8ef12af
Merge pull request #439 from mono-soc-2012/garyb/iconfix
...
Fix for corruption of vista icons on save
2012-09-10 05:28:33 -07:00
garyb
ef4470f38a
System.Drawing: added email to icon and test file headers
2012-08-20 18:30:04 +01:00
garyb
1d88520773
Save icon with 256px image without losing data, Bugs Novell:415809 Xamarin:6451
2012-08-18 23:24:22 +01:00
Rolf Bjarne Kvinge
53f463e089
Rework RectangleF.Contains to not do equality comparison on floating point values. Fixes #5985 .
2012-07-05 14:54:31 +02:00
Rob Wilkens
2ab9c2a739
Bug 1202 Fix: Adds float.NaN checks to DrawLine
...
As reported in Bug1202, Graphics.DrawLine was drawing a line when one of the
x/y parameters was NotANumber. This differred from Microsoft.NET Behavior.
This patch brings it back in line by adding the checks.
This includes an extended unit test which now fails without this patch and
passes with it.
https://bugzilla.xamarin.com/show_bug.cgi?id=1202
No additional System.Drawing unit tests fail with this patch than without
it, presuming this patch is applied.
2012-06-23 09:07:35 -04:00
Miguel de Icaza
a93835169b
AOT not supported on Windows, warn the user
2012-04-24 00:08:16 -04:00