Author: spouliot
Date: 2007-09-27 11:16:27 -0400 (Thu, 27 Sep 2007)
New Revision: 86504

Added:
   trunk/moon/test/xaml/points-torture.xaml
Log:
some torture test for points parsing, file renders with sl

Added: trunk/moon/test/xaml/points-torture.xaml
===================================================================
--- trunk/moon/test/xaml/points-torture.xaml    2007-09-27 15:01:39 UTC (rev 
86503)
+++ trunk/moon/test/xaml/points-torture.xaml    2007-09-27 15:16:27 UTC (rev 
86504)
@@ -0,0 +1,22 @@
+<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";>
+
+       <!-- points can be empty, but it can't be only spaces, tabs or a single 
number -->
+       <Polyline Stroke="Blue" Fill="Green" Points="" />
+
+       <!-- points can start with spaces -->
+       <Polyline Stroke="Blue" Fill="Green" Points="   10,10" />
+
+       <!-- points can start with tabs -->
+       <Polyline Stroke="Blue" Fill="Green" Points="   110,10" />
+
+       <!-- points can't start with comma
+       <Polyline Stroke="Blue" Fill="Green" Points=",110,10" />
+       -->
+
+       <!-- points can have extra comma and a comma can separate points -->
+        <Polyline Stroke="Blue" Fill="Green" Points=" 10,110, 110,110,         
110,210,10,210," />
+
+       <!-- points can have new lines to separate points and extra spaces at 
the end -->
+        <Polyline Stroke="Blue" Fill="Lime" Points=" 10,210, 110,210   110,310
+10,310    " />
+</Canvas>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to