DrawingTest.ShowForms = false;\r
}\r
\r
+ [TearDown]\r
+ public void TearDown ()\r
+ {\r
+ if (t != null)\r
+ t.Dispose ();\r
+ }\r
+\r
#region InitAlignment\r
[Test]\r
public void InitAlignment () {\r
#region DashCustomStyle\r
//The following tests DashOffset and DashPattern\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in dashed line\r
-#endif\r
+ [Category ("NotWorking")]\r
public void DashCustomStyle_1 () {\r
p.DashStyle = DashStyle.Custom;\r
p.Width = 10;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in dashed line\r
-#endif\r
+ [Category ("NotWorking")]\r
public void DashCustomStyle_4 () {\r
p.DashPattern = new float [] {2, 3, 1.15F, 0.05F, 1.74321F};\r
p.DashOffset = 10.2F;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in dashed line\r
-#endif\r
+ [Category ("NotWorking")]\r
public void DashCustomStyle_5 () {\r
p.DashPattern = new float [] {2, 3, 1.15F, 0.05F, 1.74321F};\r
p.DashOffset = 10.2F;\r
\r
#region DashCapTest\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in dashed line\r
-#endif\r
public void DashCapTest_Flat () {\r
p.Width = 15;\r
Assert.AreEqual (DashCap.Flat, p.DashCap);\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in dashed line\r
-#endif\r
+ [Category ("NotWorking")]\r
public void DashCapTest_Round () {\r
p.Width = 15;\r
p.DashStyle = DashStyle.DashDot;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] // FIXME: DashCap.Triangle is not sopported by GH\r
-#endif\r
+ [Category ("NotWorking")]\r
public void DashCapTest_Triangle () {\r
p.Width = 15;\r
p.DashStyle = DashStyle.DashDot;\r
\r
#region LineJoin Miter\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] // FIXME: Currently Only MiterClipper is sopported by GH\r
-#endif\r
public void LineJoinTest_Miter_1 () {\r
p.LineJoin = LineJoin.Miter;\r
Point [] points = new Point [] {\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] // FIXME: Currently Only MiterClipper is sopported by GH\r
-#endif\r
+ [Category ("NotWorking")]\r
public void LineJoinTest_Miter_2 () {\r
p.LineJoin = LineJoin.Miter;\r
Point [] points = new Point [] {\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] // FIXME: Currently Only MiterClipper is sopported by GH\r
-#endif\r
public void LineJoinTest_Miter_3 () {\r
p.LineJoin = LineJoin.Miter;\r
Point [] points = new Point [] {\r
}\r
\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: Bug in pen aligment\r
-#endif\r
+ [Category ("NotWorking")]\r
public void PenAlignmentTest_3 () {\r
Point [] points = new Point [] {\r
new Point (30, 30), new Point (100, 100), new Point (170, 30),\r
\r
#region Line StartCap\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_Flat() {\r
Assert.AreEqual(LineCap.Flat, p.StartCap);\r
p.StartCap = LineCap.Flat;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void StartCap_Round() {\r
p.StartCap = LineCap.Round;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void StartCap_Square() {\r
p.StartCap = LineCap.Square;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_AnchorMask() {\r
p.StartCap = LineCap.AnchorMask;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_ArrowAnchor() {\r
p.StartCap = LineCap.ArrowAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void StartCap_DiamondAnchor() {\r
p.StartCap = LineCap.DiamondAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_NoAnchor() {\r
p.StartCap = LineCap.NoAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void StartCap_RoundAnchor() {\r
p.StartCap = LineCap.RoundAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void StartCap_SquareAnchor() {\r
p.StartCap = LineCap.SquareAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_Triangle() {\r
p.StartCap = LineCap.Triangle;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void StartCap_Custom() {\r
p.StartCap = LineCap.Custom;\r
p.Width = 25;\r
\r
#region Line EndCap\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void EndCap_Flat() \r
{\r
Assert.AreEqual(LineCap.Flat, p.EndCap);\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_Round() \r
{\r
p.EndCap = LineCap.Round;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_Square() {\r
p.EndCap = LineCap.Square;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_AnchorMask() {\r
p.EndCap = LineCap.AnchorMask;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_ArrowAnchor() {\r
p.EndCap = LineCap.ArrowAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void EndCap_DiamondAnchor() {\r
p.EndCap = LineCap.DiamondAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_NoAnchor() {\r
p.EndCap = LineCap.NoAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_RoundAnchor() {\r
p.EndCap = LineCap.RoundAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
public void EndCap_SquareAnchor() {\r
p.EndCap = LineCap.SquareAnchor;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_Triangle() {\r
p.EndCap = LineCap.Triangle;\r
p.Width = 25;\r
Assert.IsTrue (t.Compare (TOLERANCE));\r
}\r
[Test]\r
-#if TARGET_JVM\r
- [Category ("NotWorking")] //FIXME: cannot apply start or end line caps separately\r
-#endif\r
+ [Category ("NotWorking")]\r
public void EndCap_Custom() {\r
p.EndCap = LineCap.Custom;\r
p.Width = 25;\r