Author: borisk
Date: 2006-09-18 09:05:51 -0400 (Mon, 18 Sep 2006)
New Revision: 65575
Modified:
trunk/mcs/class/System.Drawing/ChangeLog
trunk/mcs/class/System.Drawing/Test/ChangeLog
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/ChangeLog
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/DrawingTestHelper20.J2EE.vmwcsproj
trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/ChangeLog
trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/Graphics.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/ChangeLog
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestColorBlend.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/ChangeLog
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestColorMatrix.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
trunk/mcs/class/System.Drawing/Test/System.Drawing/ColorTranslator.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestColor.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestFont.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestRegion.cs
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestSizeFConverter.cs
trunk/mcs/class/System.Drawing/Test/Test20.J2EE.vmwcsproj
trunk/mcs/class/System.Drawing/run-tests.test.bat
Log:
Marked not working tests for TARGET_JVM.
Modified: trunk/mcs/class/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/ChangeLog 2006-09-18 13:05:37 UTC (rev
65574)
+++ trunk/mcs/class/System.Drawing/ChangeLog 2006-09-18 13:05:51 UTC (rev
65575)
@@ -1,3 +1,7 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * run-tests.test.bat : fixes for TARGET_JVM tests run script.
+
2006-09-12 Boris Kirzner <[EMAIL PROTECTED]>
* run-tests.bat, run-tests.test.bat: reworked tests logging.
* System.Drawing20.vmwcsproj: updated references path.
Modified: trunk/mcs/class/System.Drawing/Test/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/ChangeLog 2006-09-18 13:05:37 UTC
(rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/ChangeLog 2006-09-18 13:05:51 UTC
(rev 65575)
@@ -1,3 +1,7 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * Test20.J2EE.vmwcsproj : fixed reference path.
+
2006-09-12 Boris Kirzner <[EMAIL PROTECTED]>
* Test20.csproj,Test20.J2EE.vmwcsproj: updated references path.
Modified:
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/ChangeLog
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/ChangeLog
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,3 +1,7 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * DrawingTestHelper20.J2EE.vmwcsproj : fixed references path.
+
2006-09-12 Boris Kirzner <[EMAIL PROTECTED]>
* DrawingTestHelper20.J2EE.vmwcsproj: updated references path.
Modified:
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/DrawingTestHelper20.J2EE.vmwcsproj
===================================================================
---
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/DrawingTestHelper20.J2EE.vmwcsproj
2006-09-18 13:05:37 UTC (rev 65574)
+++
trunk/mcs/class/System.Drawing/Test/DrawingTest/DrawingTestHelper/DrawingTestHelper20.J2EE.vmwcsproj
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,4 +1,4 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release_Java20|AnyCPU' ">
<OutputPath>bin\Release_Java20\</OutputPath>
<DefineConstants>TRACE;TARGET_JVM;NET_1_1;NET_2_0</DefineConstants>
@@ -91,7 +91,7 @@
</Reference>
<Reference Include="nunit.framework, Version=0.0.0.0,
Culture=neutral">
<SpecificVersion>False</SpecificVersion>
-
<HintPath>c:\cygwin\monobuild\mcs\nunit20\framework\bin\Debug_Java20\nunit.framework.dll</HintPath>
+
<HintPath>..\..\..\..\..\nunit20\nunit-console\bin\Debug_Java20\nunit.framework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="rt, Version=0.0.0.0, Culture=neutral">
@@ -109,7 +109,7 @@
<Compile Include="PDComparer.cs"/>
</ItemGroup>
<ItemGroup>
- <ProjectReference
Include="c:\cygwin\monobuild\mcs\class\System.Drawing\Test\DrawingTest\Exocortex.DSP\src\Exocortex.DSP20.v1.J2EE.vmwcsproj">
+ <ProjectReference
Include="..\Exocortex.DSP\src\Exocortex.DSP20.v1.J2EE.vmwcsproj">
<Project>{995DE32D-06AB-4926-97FF-565B9205D5F8}</Project>
<Name>Exocortex.DSP20.v1.J2EE</Name>
</ProjectReference>
Modified: trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/ChangeLog
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/ChangeLog
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,3 +1,7 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * Graphics.cs : marked not working tests for TARGET_JVM.
+
2006-08-28 Boris Kirzner <[EMAIL PROTECTED]>
* GraphicsPath.cs: marked test as "NotWorking"
Modified: trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/Graphics.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/Graphics.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/DrawingTest/Test/Graphics.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -435,6 +435,9 @@
Assert.IsTrue(t.Compare());
}
[Test]
+#if TARGET_JVM
+ [Category("NotWorking")] // defect 6145
+#endif
public void DrawImageWithResolution() {
t.Graphics.DrawImage(bmp2, 0, 0);
t.Show();
@@ -448,6 +451,9 @@
Assert.IsTrue(t.Compare());
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")] // defect 6145
+#endif
public void DrawImageInContainer2() {
t.Graphics.BeginContainer(new Rectangle(10, 10, 50,
50), new Rectangle(70, 70, 100, 100), GraphicsUnit.Pixel);
t.Graphics.DrawImage(bmp2, 0, 0);
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,3 +1,9 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
+ TestRegion.cs,TestSizeFConverter.cs : mark tests not working
+ in TARGET_JVM.
+
2006-09-16 Sebastien Pouliot <[EMAIL PROTECTED]>
* TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/ColorTranslator.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/ColorTranslator.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/ColorTranslator.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -67,6 +67,9 @@
[Test]
[ExpectedException (typeof (Exception))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void FromHtml_PoundNegative ()
{
ColorTranslator.FromHtml ("#-1");
@@ -81,6 +84,9 @@
[Test]
[ExpectedException (typeof (Exception))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void FromHtml_Unkown ()
{
ColorTranslator.FromHtml ("unknown-color-test");
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -42,6 +42,9 @@
[TestFixture]
[SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public class TestBitmap {
[Test]
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestColor.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestColor.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestColor.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1173,6 +1173,9 @@
0x01, 0x00, 0x0B };
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Deserialize ()
{
BinaryFormatter bf = new BinaryFormatter ();
@@ -1190,6 +1193,9 @@
67,111,108,111,114,5,115,116,97,116,101,1,0,0,0,9,7,7,2,0,0,0,10,0,0,0,0,0,0,0,0,37,0,1,0,11
};
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Deserialize2 ()
{
BinaryFormatter bf = new BinaryFormatter ();
@@ -1215,6 +1221,9 @@
67,111,108,111,114,5,115,116,97,116,101,1,0,0,0,9,7,7,2,0,0,0,10,255,0,0,255,0,0,0,0,0,0,2,0,11};
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Deserialize3 ()
{
BinaryFormatter bf = new BinaryFormatter ();
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestFont.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestFont.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestFont.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -203,6 +203,9 @@
#if ONLY_1_1
[ExpectedException (typeof (ArgumentNullException))]
#endif
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_StringNull_Float ()
{
string family = null;
@@ -215,6 +218,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float ()
{
Font f = new Font (name, 12.5f);
@@ -233,6 +239,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float_FontStyle ()
{
Font f = new Font (name, 12.5f, FontStyle.Bold);
@@ -251,6 +260,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float_FontStyle_GraphicsUnit ()
{
Font f = new Font (name, 12.5f, FontStyle.Italic,
GraphicsUnit.Pixel);
@@ -269,12 +281,18 @@
[Test]
[ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float_FontStyle_GraphicsUnit_Display ()
{
new Font (name, 12.5f, FontStyle.Italic,
GraphicsUnit.Display);
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float_FontStyle_GraphicsUnit_Byte ()
{
Font f = new Font (name, 12.5f, FontStyle.Strikeout,
GraphicsUnit.Inch, Byte.MaxValue);
@@ -293,6 +311,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_String_Float_FontStyle_GraphicsUnit_Byte_Bool
()
{
Font f = new Font (name, 12.5f, FontStyle.Underline,
GraphicsUnit.Document, Byte.MinValue, true);
@@ -319,6 +340,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_FontFamily_Float ()
{
Font f = new Font (FontFamily.GenericMonospace, 12.5f);
@@ -337,6 +361,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_FontFamily_Float_FontStyle ()
{
Font f = new Font (FontFamily.GenericMonospace, 12.5f,
FontStyle.Bold);
@@ -355,6 +382,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_FontFamily_Float_FontStyle_GraphicsUnit ()
{
Font f = new Font (FontFamily.GenericMonospace, 12.5f,
FontStyle.Italic, GraphicsUnit.Millimeter);
@@ -374,12 +404,18 @@
[Test]
[ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void
Font_FontFamily_Float_FontStyle_GraphicsUnit_Display ()
{
new Font (FontFamily.GenericMonospace, 12.5f,
FontStyle.Italic, GraphicsUnit.Display);
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Font_FontFamily_Float_FontStyle_GraphicsUnit_Byte ()
{
Font f = new Font (FontFamily.GenericMonospace, 12.5f,
FontStyle.Strikeout, GraphicsUnit.Inch, Byte.MaxValue);
@@ -398,6 +434,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void
Font_FontFamily_Float_FontStyle_GraphicsUnit_Byte_Bool ()
{
Font f = new Font (FontFamily.GenericMonospace, 12.5f,
FontStyle.Underline, GraphicsUnit.Document, Byte.MinValue, true);
@@ -436,6 +475,9 @@
[Test]
[ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Dispose_Height ()
{
Font f = new Font (name, 12.5f);
@@ -445,6 +487,9 @@
[Test]
[ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Dispose_ToLogFont ()
{
Font f = new Font (name, 12.5f);
@@ -454,6 +499,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Dispose_ToLogFont_LoopCharSet ()
{
Font f = new Font (name, 12.5f);
@@ -504,6 +552,9 @@
[Test]
[ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Dispose_ToHFont ()
{
Font f = new Font (name, 12.5f);
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing/TestRegion.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestRegion.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestRegion.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1375,6 +1375,9 @@
}
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Rectangle_GetRegionScans ()
{
Matrix matrix = new Matrix ();
@@ -1404,6 +1407,9 @@
}
[TestFixture]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
// the test cases in this fixture aren't restricted wrt running
unmanaged code
public class RegionTestUnmanaged {
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing/TestSizeFConverter.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing/TestSizeFConverter.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing/TestSizeFConverter.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -65,7 +65,10 @@
szconv = (SizeFConverter) TypeDescriptor.GetConverter
(sz);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void TestCanConvertFrom ()
{
Assert.IsTrue (szconv.CanConvertFrom (typeof (String)),
"CCF#1");
@@ -96,7 +99,10 @@
Assert.IsFalse (szconv.CanConvertTo (null, typeof
(int)), "CCT#10");
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void TestConvertFrom ()
{
Assert.AreEqual (sz, (SizeF) szconv.ConvertFrom (null,
CultureInfo.InvariantCulture,
@@ -277,7 +283,10 @@
Assert.IsTrue (szconv.GetPropertiesSupported (null),
"GPS#2");
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void TestGetProperties ()
{
Attribute [] attrs;
@@ -321,7 +330,10 @@
szconv.ConvertFromInvariantString ("1, 2, 3");
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void ConvertFromInvariantString_string_exc_2 ()
{
try {
@@ -334,7 +346,10 @@
}
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void ConvertFromString_string ()
{
// save current culture
@@ -359,7 +374,10 @@
"1{0} 2{0} 3{0} 4{0} 5",
culture.TextInfo.ListSeparator));
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [NUnit.Framework.Category ("NotWorking")]
+#endif
public void ConvertFromString_string_exc_2 ()
{
try {
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/ChangeLog
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/ChangeLog
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,3 +1,8 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * TestColorBlend.cs,TestHatchBrush.cs : marked tests not working
+ for TARGET_JVM.
+
2006-08-16 Sebastien Pouliot <[EMAIL PROTECTED]>
* GraphicsPathTest.cs: Ignore some test cases if we cannot get any
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestColorBlend.cs
===================================================================
---
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestColorBlend.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestColorBlend.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -96,7 +96,10 @@
}
[Test]
- [ExpectedException (typeof (OverflowException))]
+ [ExpectedException (typeof (OverflowException))]
+#if TARGET_JVM
+ [Category ("NotWorking")] // defect 6364
+#endif
public void ColorBlend_Negative ()
{
ColorBlend cb = new ColorBlend (-1);
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs
===================================================================
---
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++
trunk/mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -95,7 +95,10 @@
Assert.AreEqual (hbr.BackgroundColor,
clone.BackgroundColor, "Clone#3");
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void TestDrawing ()
{
// create a bitmap with big enough dimensions
Modified: trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/ChangeLog
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/ChangeLog
2006-09-18 13:05:51 UTC (rev 65575)
@@ -1,3 +1,8 @@
+2006-09-18 Boris Kirzner <[EMAIL PROTECTED]>
+
+ * TestBmpCodec.cs,TestColorMatrix.cs,TestJpegCodec.cs : mark tests
+ not working in TARGET_JVM.
+
2006-09-16 Sebastien Pouliot <[EMAIL PROTECTED]>
* GifCodecTest.cs: Change filename for Save to ease debugging.
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -75,6 +75,9 @@
/* Checks bitmap features on a know 1bbp bitmap */
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Bitmap1bitFeatures ()
{
string sInFile = getInFile
("bitmaps/almogaver1bit.bmp");
@@ -151,6 +154,9 @@
/* Checks bitmap features on a know 8bbp bitmap */
[Test]
+#if TARGET_JVM
+ [Category ("NotWorking")]
+#endif
public void Bitmap8bitFeatures ()
{
string sInFile = getInFile
("bitmaps/almogaver8bits.bmp");
@@ -540,25 +546,37 @@
}
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_24bppRgb ()
{
Save (PixelFormat.Format24bppRgb,
PixelFormat.Format24bppRgb, true);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppRgb ()
{
Save (PixelFormat.Format32bppRgb,
PixelFormat.Format32bppRgb, true);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppArgb ()
{
Save (PixelFormat.Format32bppArgb,
PixelFormat.Format32bppRgb, true);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppPArgb ()
{
Save (PixelFormat.Format32bppPArgb,
PixelFormat.Format32bppRgb, true);
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestColorMatrix.cs
===================================================================
---
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestColorMatrix.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestColorMatrix.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -48,6 +48,9 @@
[Test]
[ExpectedException (typeof (IndexOutOfRangeException))]
+#if TARGET_JVM
+ [Category ("NotWorking")] // defect 6365
+#endif
public void Constructor_TooSmallArraySize ()
{
new ColorMatrix (new float[][] { });
@@ -55,6 +58,9 @@
[Test]
[ExpectedException (typeof (IndexOutOfRangeException))]
+#if TARGET_JVM
+ [Category ("NotWorking")] // defect 6365
+#endif
public void Constructor_TooWideArraySize ()
{
new ColorMatrix (new float[][] {
@@ -64,6 +70,9 @@
[Test]
[ExpectedException (typeof (IndexOutOfRangeException))]
+#if TARGET_JVM
+ [Category ("NotWorking")] // defect 6365
+#endif
public void Constructor_TooTallArraySize ()
{
new ColorMatrix (new float[][] {
@@ -160,9 +169,10 @@
Assert.AreEqual (cm.Matrix41, 0);
Assert.AreEqual (cm.Matrix42, 0);
Assert.AreEqual (cm.Matrix43, 0);
-
+#if !TARGET_JVM
Assert.AreEqual (100, Marshal.SizeOf (cm), "object");
Assert.AreEqual (100, Marshal.SizeOf (typeof
(ColorMatrix)), "type");
+#endif
}
[Test]
Modified:
trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
===================================================================
--- trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
2006-09-18 13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
2006-09-18 13:05:51 UTC (rev 65575)
@@ -73,6 +73,9 @@
/* Checks bitmap features on a know 24-bits bitmap */
[Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Bitmap24bitFeatures ()
{
string sInFile = getInFile ("bitmaps/nature24bits.jpg");
@@ -291,25 +294,37 @@
}
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_24bppRgb ()
{
Save (PixelFormat.Format24bppRgb,
PixelFormat.Format24bppRgb);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppRgb ()
{
Save (PixelFormat.Format32bppRgb,
PixelFormat.Format24bppRgb);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppArgb ()
{
Save (PixelFormat.Format32bppArgb,
PixelFormat.Format24bppRgb);
}
- [Test]
+ [Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Save_32bppPArgb ()
{
Save (PixelFormat.Format32bppPArgb,
PixelFormat.Format24bppRgb);
Modified: trunk/mcs/class/System.Drawing/Test/Test20.J2EE.vmwcsproj
===================================================================
--- trunk/mcs/class/System.Drawing/Test/Test20.J2EE.vmwcsproj 2006-09-18
13:05:37 UTC (rev 65574)
+++ trunk/mcs/class/System.Drawing/Test/Test20.J2EE.vmwcsproj 2006-09-18
13:05:51 UTC (rev 65575)
@@ -90,7 +90,7 @@
</Reference>
<Reference Include="nunit.framework, Version=0.0.0.0, Culture=neutral">
<SpecificVersion>False</SpecificVersion>
-
<HintPath>c:\cygwin\monobuild\mcs\nunit20\framework\bin\Debug_Java20\nunit.framework.dll</HintPath>
+
<HintPath>..\..\..\nunit20\nunit-console\bin\Debug_Java20\nunit.framework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="rt, Version=0.0.0.0, Culture=neutral">
@@ -168,4 +168,4 @@
<UserProperties
REFS-JarPath-nunit-framework="..\..\..\nunit20\framework\bin\Debug_Java20\nunit.framework.jar"
REFS-JarPath-mscorlib="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin
for J2EE V2\jgac\vmw4j2ee_110\mscorlib.jar"
REFS-JarPath-system="..\..\..\..\..\..\Program Files\Mainsoft\Visual MainWin
for J2EE V2\jgac\vmw4j2ee_110\System.jar"
REFS-JarPath-system-data="..\..\..\..\..\..\Program Files\Mainsoft\Visual
MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Data.jar"
REFS-JarPath-system-xml="..\..\..\..\..\..\Program Files\Mainsoft\Visual
MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Xml.jar"
REFS-JarPath-rt="..\..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for
J2EE V2\jre5\lib\rt.jar" REFS-JarPath-j2se-helpers="..\..\..\..\..\..\Program
Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\J2SE.Helpers.jar"
REFS-JarPath-system-drawing="..\..\..\..\..\..\Program Files\Mainsoft\Visual
MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Drawing.jar;..\..\..\.
.\..\..\Program Files\Mainsoft\Visual MainWin for J2EE
V2\jgac\vmw4j2ee_110\jai_imageio.jar;..\..\..\..\..\..\Program
Files\Mainsoft\Visual MainWin for J2EE
V2\jgac\vmw4j2ee_110\jai_core.jar;..\..\..\..\..\..\Program
Files\Mainsoft\Visual MainWin for J2EE
V2\jgac\vmw4j2ee_110\jai_codec.jar;..\..\..\..\..\..\Program
Files\Mainsoft\Visual MainWin for J2EE
V2\jgac\vmw4j2ee_110\clibwrapper_jiio.jar;..\..\..\..\..\..\Program
Files\Mainsoft\Visual MainWin for J2EE
V2\jgac\vmw4j2ee_110\mlibwrapper_jai.jar" />
</VisualStudio>
</ProjectExtensions>
-</Project>
\ No newline at end of file
+</Project>
Modified: trunk/mcs/class/System.Drawing/run-tests.test.bat
===================================================================
--- trunk/mcs/class/System.Drawing/run-tests.test.bat 2006-09-18 13:05:37 UTC
(rev 65574)
+++ trunk/mcs/class/System.Drawing/run-tests.test.bat 2006-09-18 13:05:51 UTC
(rev 65575)
@@ -17,6 +17,14 @@
IF "%VMW_HOME%"=="" GOTO ENVIRONMENT_EXCEPTION
+
+
+IF "%1"=="" (
+ set BUILD_OPTION=rebuild
+) ELSE (
+ set BUILD_OPTION=%1
+)
+
REM ********************************************************
REM Set parameters
REM ********************************************************
@@ -34,54 +42,60 @@
set PROJECT_J2EE_CONFIGURATION=Debug_Java20
set PROJECT_NET_CONFIGURATION=Debug
set NUNIT_CONSOLE_PATH="C:\Program Files\NUnit-Net-2.0 2.2.8\bin"
-set JAVA_HOME=%VMW_HOME%\jre5
-set DATEL=%date:~4,2%_%date:~7,2%_%date:~10,4%
+set DATEL=%date:~10,4%_%date:~4,2%_%date:~7,2%%
set TIMEL=%time:~0,2%_%time:~3,2%
set TIMESTAMP=%DATEL%_%TIMEL%
+
REM ********************************************************
REM @echo Set environment
REM ********************************************************
set JGAC_PATH=%VMW_HOME%\jgac\vmw4j2ee_110\
+set JAVA_HOME=%VMW_HOME%\jre5
-set
RUNTIME_CLASSPATH=%JGAC_PATH%mscorlib.jar;%JGAC_PATH%System.jar;%JGAC_PATH%System.Xml.jar;%JGAC_PATH%System.Drawing.jar;%JGAC_PATH%J2SE.Helpers.jar;%JGAC_PATH%jai_imageio.jar
+set RUNTIME_CLASSPATH=%JGAC_PATH%mscorlib.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Xml.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%J2SE.Helpers.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%jai_imageio.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Drawing.jar;
set NUNIT_OPTIONS=/exclude=NotWorking
-set NET_OUTPUT_XML=%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%.Net.%TIMESTAMP%.xml
-set GH_OUTPUT_XML=%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%.GH.%TIMESTAMP%.xml
+set GH_OUTPUT_XML=%TIMESTAMP%.%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%.GH.xml
+set NET_OUTPUT_XML=%TIMESTAMP%.%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%.Net.xml
+set BUILD_LOG=%TIMESTAMP%.%OUTPUT_FILE_PREFIX%.GH.%RUNNING_FIXTURE%.build.log
+set RUN_LOG=%TIMESTAMP%.%OUTPUT_FILE_PREFIX%.GH.%RUNNING_FIXTURE%.run.log
-set BUILD_LOG=%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%_build.log.%TIMESTAMP%.txt
-set RUN_LOG=%OUTPUT_FILE_PREFIX%.%RUNNING_FIXTURE%_run.log.%TIMESTAMP%.txt
+set NUNIT_PATH=%BACK_TO_ROOT_DIR%..\..\nunit20\
+set
NUNIT_CLASSPATH=%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.framework.jar
+set
NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.util.jar
+set
NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.core.jar
+set
NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit-console.jar
+set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;.
+set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%TEST_ASSEMBLY%
-set NUNIT_PATH=%BACK_TO_ROOT_DIR%..\..\nunit20\
-set
NUNIT_CLASSPATH=%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.framework.jar;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.util.jar;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.core.jar;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit-console.jar
set CLASSPATH="%RUNTIME_CLASSPATH%;%NUNIT_CLASSPATH%"
-
REM ********************************************************
[EMAIL PROTECTED] Building .Net solution...
[EMAIL PROTECTED] Building GH solution...
REM ********************************************************
-REM devenv Test\DrawingTest\System.Drawing.Test.dotnet.sln /%BUILD_OPTION%
Debug >%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild %TEST_NET_SOLUTION% /t:%BUILD_OPTION%
/p:Configuration=%PROJECT_NET_CONFIGURATION% >>%BUILD_LOG% 2<&1
+REM devenv Test\DrawingTest\System.Drawing.Test.sln /%BUILD_OPTION% Debug_Java
>>%RUNNING_FIXTURE%_build.log.txt 2<&1
+msbuild %TEST_J2EE_SOLUTION% /t:%BUILD_OPTION%
/p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
-
-if "%NUNIT_BUILD%" == "DONE" goto NUNITSKIP
-
REM ********************************************************
@echo Building NUnit solution...
REM ********************************************************
+if "%NUNIT_BUILD%" == "DONE" goto NUNITSKIP
+
REM devenv ..\..\nunit20\nunit.java.sln /%BUILD_OPTION% Debug_Java
>>%RUNNING_FIXTURE%_build.log.txt 2<&1
msbuild ..\..\nunit20\nunit20.java.sln /t:%BUILD_OPTION%
/p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
-IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
goto NUNITREADY
:NUNITSKIP
@@ -93,11 +107,11 @@
IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
REM ********************************************************
[EMAIL PROTECTED] Building GH solution...
[EMAIL PROTECTED] Building .Net solution...
REM ********************************************************
-REM devenv Test\DrawingTest\System.Drawing.Test.sln /%BUILD_OPTION% Debug_Java
>>%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild %TEST_J2EE_SOLUTION% /t:%BUILD_OPTION%
/p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
+REM devenv Test\DrawingTest\System.Drawing.Test.dotnet.sln /%BUILD_OPTION%
Debug >%RUNNING_FIXTURE%_build.log.txt 2<&1
+msbuild %TEST_NET_SOLUTION% /t:%BUILD_OPTION%
/p:Configuration=%PROJECT_NET_CONFIGURATION% >>%BUILD_LOG% 2<&1
IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
@@ -148,6 +162,7 @@
if "%RUNNING_DIR%" NEQ "" (
copy %NET_OUTPUT_XML% %BACK_TO_ROOT_DIR%
copy %GH_OUTPUT_XML% %BACK_TO_ROOT_DIR%
+ copy %RUN_LOG% %BACK_TO_ROOT_DIR%
cd %BACK_TO_ROOT_DIR% )
REM ********************************************************
@@ -170,12 +185,6 @@
@echo off
:FINALLY
-
-copy %RUNNING_DIR%\%RUN_LOG% ..\%BACK_TO_ROOT_DIR%
-copy %BUILD_LOG% ..\%BACK_TO_ROOT_DIR%
-copy %NET_OUTPUT_XML% ..\%BACK_TO_ROOT_DIR%
-copy %GH_OUTPUT_XML% ..\%BACK_TO_ROOT_DIR%
-
GOTO END
:ENVIRONMENT_EXCEPTION
@@ -183,12 +192,12 @@
GOTO END
:BUILD_EXCEPTION
[EMAIL PROTECTED] Error in building solutions. See
System.Drawing.%RUNNING_FIXTURE%_build.log.txt for details...
[EMAIL PROTECTED] Error in building solutions. See %BUILD_LOG% for details...
REM EXIT 1
GOTO END
:RUN_EXCEPTION
[EMAIL PROTECTED] Error in running fixture %RUNNING_FIXTURE%. See
System.Drawing.%RUNNING_FIXTURE%_run.log.txt for details...
[EMAIL PROTECTED] Error in running fixture %RUNNING_FIXTURE%. See %RUN_LOG% for
details...
REM EXIT 1
GOTO END
@@ -197,4 +206,10 @@
GOTO END
:END
+
+
+copy %RUN_LOG% ..\%BACK_TO_ROOT_DIR%
+copy %BUILD_LOG% ..\%BACK_TO_ROOT_DIR%
+copy %GH_OUTPUT_XML% ..\%BACK_TO_ROOT_DIR%
+
REM EXIT 0
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches