Bug 7940 - Test GraphicsTest.DrawFillRectangle_Width_2 and FillDrawRectangle_Width_2 fail
Summary: Test GraphicsTest.DrawFillRectangle_Width_2 and FillDrawRectangle_Width_2 fail
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Drawing ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-10-23 06:41 UTC by Martin Baulig
Modified: 2016-11-11 09:38 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Martin Baulig 2012-10-23 06:41:05 UTC
mono/master commit 544176c35ebc4e7ec814b803660bf1a6db08404a:
https://wrench.mono-project.com/Wrench/WebServices/Download.aspx?workfile_id=1247477

ok=:; /usr/bin/make run-test-recursive || ok=false; /usr/bin/make run-test-local || ok=false; $ok
MCS     [net_2_0] System.Drawing_test_net_2_0.dll
warning CS1691: `1595' is not a valid warning number
Test/System.Drawing.Design/TestToolboxItem.cs(63,18): warning CS0108: `MonoTests.System.Drawing.Design.TestToolboxItem.OurToolboxItem.Filter(string, object)' hides inherited member `System.Drawing.Design.ToolboxItem.Filter'. Use the new keyword if hiding was intended
/private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/lib/net_2_0/System.Drawing.dll (Location of the symbol related to previous warning)
Test/System.Drawing/TestPoint.cs(69,19): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestPoint.cs(79,21): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestPointConverter.cs(231,36): warning CS0168: The variable `e' is declared but never used
Test/System.Drawing/TestPointF.cs(107,19): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestPointF.cs(117,20): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestSize.cs(145,19): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestSize.cs(155,22): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestSizeConverter.cs(234,36): warning CS0168: The variable `e' is declared but never used
Test/System.Drawing/TestSizeF.cs(135,19): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestSizeF.cs(145,20): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Test/System.Drawing/TestIcon.cs(49,17): warning CS0414: The private field `MonoTests.System.Drawing.IconTest.filename_dll' is assigned but its value is never used
Test/System.Drawing.Drawing2D/TestMatrix.cs(42,18): warning CS0414: The private field `MonoTests.System.Drawing.Drawing2D.MatrixTest.default_matrix' is assigned but its value is never used
Test/System.Drawing.Drawing2D/TestMatrix.cs(43,21): warning CS0649: Field `MonoTests.System.Drawing.Drawing2D.MatrixTest.rect' is never assigned to, and will always have its default value
Test/System.Drawing.Drawing2D/TestMatrix.cs(44,22): warning CS0649: Field `MonoTests.System.Drawing.Drawing2D.MatrixTest.rectf' is never assigned to, and will always have its default value
Test/System.Drawing/RegionCas.cs(44,22): warning CS0414: The private field `MonoCasTests.System.Drawing.RegionCas.fromHdcInternal' is assigned but its value is never used
Test/System.Drawing/RegionCas.cs(45,22): warning CS0414: The private field `MonoCasTests.System.Drawing.RegionCas.fromHwndInternal' is assigned but its value is never used
Test/System.Drawing/RegionCas.cs(46,22): warning CS0414: The private field `MonoCasTests.System.Drawing.RegionCas.releaseHdcInternal' is assigned but its value is never used
Compilation succeeded - 18 warning(s)
ok=:; \
	PATH="/private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/runtime/_tmpinst/bin:/usr/local/Cellar/ccache/3.1.7/libexec:/usr/local/bin/:/Users/builder/data/lanes/mono-mac-master/544176c3/install/bin:/usr/bin:/bin" MONO_REGISTRY_PATH="/Users/builder/.mono/registry" MONO_TESTS_IN_PROGRESS="yes" MONO_PATH="./../../class/lib/net_2_0::$MONO_PATH" /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/runtime/mono-wrapper --debug  ./../../class/lib/net_2_0/nunit-console.exe  System.Drawing_test_net_2_0.dll -noshadow -labels  -exclude=NotOnMac,NotWorking,ValueAdd,CAS,InetAccess -output=TestResult-net_2_0.log -xml=TestResult-net_2_0.xml  || ok=false; \
	(echo ''; cat TestResult-net_2_0.log) | sed '1,/^Tests run: /d'; xsltproc ./../../build/nunit-summary.xsl TestResult-net_2_0.xml >> TestResult-net_2_0.log ; $ok
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment - 
   OS Version: Unix 10.8.0.0
  CLR Version: 2.0.50727.1433 ( 3.0.1 (master/544176c Tue Oct 23 02:02:24 EDT 2012) )

Excluded categories: NotOnMac,NotWorking,ValueAdd,CAS,InetAccess

** (process:67491): WARNING **: NOT IMPLEMENTED: GdipWidenPath

** (process:67491): WARNING **: Unknown metafile format: key 1073106242

** (process:67491): WARNING **: Path conversion requested 0 bytes (8388608 x 8388608). Maximum size is 8388608 bytes.

Tests run: 1842, Failures: 2, Not run: 8, Time: 25.191 seconds

Test Case Failures:
1) MonoTests.System.Drawing.GraphicsTest.DrawFillRectangle_Width_2 :   3,3
  Expected: 4294901760
  But was:  4278190335

at MonoTests.System.Drawing.GraphicsTest.DrawFillRectangle_Width_2 () [0x0000c] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs:1617
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:221

2) MonoTests.System.Drawing.GraphicsTest.FillDrawRectangle_Width_2 :   3,3
  Expected: 4294901760
  But was:  4278190335

at MonoTests.System.Drawing.GraphicsTest.FillDrawRectangle_Width_2 () [0x0000c] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs:1453
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-2.11/_build/mono-2.11.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:221


make[2]: *** [run-test-lib] Error 1
make[1]: *** [do-run-test] Error 1
Comment 1 Martin Baulig 2016-11-11 09:38:14 UTC
Closing ancient bugs, please reopen if you're still having this problem.