r118105 - in trunk/mcs/class/WindowsBase: . Test/System.Windows Test/System.Windows.Markup Test/System.Windows.Media

0 views
Skip to first unread message

Alan McGovern (alan.mcgovern@gmail.com)

unread,
Nov 6, 2008, 7:17:58 AM11/6/08
to mono-p...@lists.ximian.com, ximian....@gmail.com, mono-svn-patche...@googlegroups.com
Author: alanmc
Date: 2008-11-06 07:17:58 -0500 (Thu, 06 Nov 2008)
New Revision: 118105

Modified:
trunk/mcs/class/WindowsBase/ChangeLog
trunk/mcs/class/WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows.Media/MatrixTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/DependencyObjectTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectConverterTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/PointConverterTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/RectTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/SizeConverterTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/SizeTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/VectorConverterTest.cs
trunk/mcs/class/WindowsBase/Test/System.Windows/VectorTest.cs
Log:
* WindowsBase/Test/System.Windows/RectTest.cs:
* WindowsBase/Test/System.Windows/SizeTest.cs:
* WindowsBase/Test/System.Windows/VectorTest.cs:
* WindowsBase/Test/System.Windows/Int32RectTest.cs:
* WindowsBase/Test/System.Windows.Media/MatrixTest.cs:
* WindowsBase/Test/System.Windows/SizeConverterTest.cs:
* WindowsBase/Test/System.Windows/RectConverterTest.cs:
* WindowsBase/Test/System.Windows/PointConverterTest.cs:
* WindowsBase/Test/System.Windows/VectorConverterTest.cs:
* WindowsBase/Test/System.Windows/DependencyObjectTest.cs:
* WindowsBase/Test/System.Windows/Int32RectConverterTest.cs:
* WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs:
Only disable the tests which do not work.

Modified: trunk/mcs/class/WindowsBase/ChangeLog
===================================================================
--- trunk/mcs/class/WindowsBase/ChangeLog 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/ChangeLog 2008-11-06 12:17:58 UTC (rev 118105)
@@ -1,5 +1,21 @@
2008-11-06 Alan McGovern <amcg...@novell.com>

+ * Test/System.Windows/RectTest.cs:
+ * Test/System.Windows/SizeTest.cs:
+ * Test/System.Windows/VectorTest.cs:
+ * Test/System.Windows/Int32RectTest.cs:
+ * Test/System.Windows.Media/MatrixTest.cs:
+ * Test/System.Windows/SizeConverterTest.cs:
+ * Test/System.Windows/RectConverterTest.cs:
+ * Test/System.Windows/PointConverterTest.cs:
+ * Test/System.Windows/VectorConverterTest.cs:
+ * Test/System.Windows/DependencyObjectTest.cs:
+ * Test/System.Windows/Int32RectConverterTest.cs:
+ * Test/System.Windows.Markup/DateTimeValueSerializerTest.cs: Only
+ disable the tests which do not work.
+
+2008-11-06 Alan McGovern <amcg...@novell.com>
+


Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/DependencyObjectTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/DependencyObjectTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/DependencyObjectTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -60,9 +60,9 @@
}

[TestFixture]
- [Category ("NotWorking")]
public class DependencyObjectTest {
[Test]
+ [Category ("NotWorking")]
public void TestAttachedProperty()
{
Y y1 = new Y();
@@ -71,6 +71,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Test2AttachedProperties()
{
Y y1 = new Y();
@@ -82,6 +83,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void TestEnumerationOfAttachedProperties()
{
int count = 0;

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectConverterTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectConverterTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectConverterTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class Int32RectConverterTest
{
[Test]
@@ -55,6 +54,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertFrom ()
{
Int32RectConverter r = new Int32RectConverter ();
@@ -79,6 +79,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertFrom_negative ()
{
Int32RectConverter r = new Int32RectConverter ();
@@ -89,6 +90,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertTo ()
{
Int32RectConverter r = new Int32RectConverter ();

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/Int32RectTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class Int32RectTest
{
[Test]
@@ -143,6 +142,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse ()
{
Int32Rect r = Int32Rect.Parse ("1, 2, 3, 4");
@@ -150,6 +150,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ParseNegative ()
{
Int32Rect.Parse ("1, 2, -3, -4");

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/PointConverterTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/PointConverterTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/PointConverterTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class PointConverterTest
{
[Test]

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class RectConverterTest
{
[Test]
@@ -55,6 +54,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertFrom ()
{
RectConverter r = new RectConverter ();
@@ -79,6 +79,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (ArgumentException))]
public void ConvertFrom_negative ()
{
@@ -87,6 +88,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertTo ()
{
RectConverter r = new RectConverter ();

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/RectTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/RectTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/RectTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class RectTest
{
[Test]
@@ -262,6 +261,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse ()
{
Rect r = Rect.Parse ("1 , 2, 3, 4");
@@ -269,6 +269,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse2 ()
{
Rect r = Rect.Parse ("1 2 3 4");
@@ -276,6 +277,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse3 ()
{
Rect r = Rect.Parse (" 1 2 3 4 ");
@@ -283,12 +285,14 @@
}

[Test]
+ [Category ("NotWorking")]
public void ParseWithBothSeparators ()
{
Rect.Parse ("1.0, 3 2.0, 5.0");
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (ArgumentException))]
public void ParseNegative ()
{
@@ -296,6 +300,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (InvalidOperationException))] // "Premature string termination encountered."
public void Parse3Doubles ()
{
@@ -303,6 +308,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (FormatException))]
public void ParseInvalidString1 ()
{
@@ -310,6 +316,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (InvalidOperationException))]
public void ParseInvalidString3 ()
{
@@ -317,6 +324,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (FormatException))]
public void ParseInvalidString4 ()
{
@@ -324,6 +332,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (InvalidOperationException))]
public void ParseInvalidString5 ()
{
@@ -331,12 +340,14 @@
}

[Test]
+ [Category ("NotWorking")]
public void ParseInvalidString6 ()
{
Rect.Parse ("\n1.0, 2.0, 5.0, 2");
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (InvalidOperationException))]
public void ParseInvalidString7 ()
{

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/SizeConverterTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/SizeConverterTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/SizeConverterTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class SizeConverterTest
{
[Test]
@@ -53,6 +52,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertFrom ()
{
SizeConverter r = new SizeConverter ();
@@ -73,6 +73,7 @@
}

[Test]
+ [Category ("NotWorking")]
[ExpectedException (typeof (ArgumentException))]
public void ConvertFrom_negative ()
{
@@ -81,6 +82,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertTo ()
{
SizeConverter r = new SizeConverter ();

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/SizeTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/SizeTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/SizeTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class SizeTest
{
[Test]
@@ -121,6 +120,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse ()
{
Assert.AreEqual (new Size (1, 2), Size.Parse ("1, 2"));

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/VectorConverterTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/VectorConverterTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/VectorConverterTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class VectorConverterTest
{
[Test]
@@ -53,6 +52,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertFrom ()
{
VectorConverter r = new VectorConverter ();
@@ -77,6 +77,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void ConvertTo ()
{
VectorConverter r = new VectorConverter ();

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows/VectorTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows/VectorTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows/VectorTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows {

[TestFixture]
- [Category ("NotWorking")]
public class VectorTest
{
[Test]
@@ -59,6 +58,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse ()
{
Vector v = Vector.Parse ("4,5");

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -33,7 +33,6 @@
namespace MonoTests.System.Windows.Markup {

[TestFixture]
- [NUnit.Framework.CategoryAttribute ("NotWorking")]
public class DateTimeValueSerializerTest
{
class Context : IValueSerializerContext {
@@ -153,6 +152,7 @@
}

[Test]
+ [CategoryAttribute ("NotWorking")]
public void ConvertToString1 ()
{
ValueSerializer serializer = (ValueSerializer)ValueSerializer.GetSerializerFor (typeof (DateTime));

Modified: trunk/mcs/class/WindowsBase/Test/System.Windows.Media/MatrixTest.cs
===================================================================
--- trunk/mcs/class/WindowsBase/Test/System.Windows.Media/MatrixTest.cs 2008-11-06 12:15:23 UTC (rev 118104)
+++ trunk/mcs/class/WindowsBase/Test/System.Windows.Media/MatrixTest.cs 2008-11-06 12:17:58 UTC (rev 118105)
@@ -31,7 +31,6 @@
namespace MonoTests.System.Windows.Media {

[TestFixture]
- [Category ("NotWorking")]
public class MatrixTest {

void CheckMatrix (Matrix expected, Matrix actual)
@@ -158,6 +157,7 @@
}

[Test]
+ [Category ("NotWorking")]
public void Parse ()
{
CheckMatrix (Matrix.Identity, Matrix.Parse ("Identity"));

Reply all
Reply to author
Forward
0 new messages