Author: jbevain
Date: 2007-11-21 06:43:00 -0500 (Wed, 21 Nov 2007)
New Revision: 90071

Added:
   trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/
   trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.cs
   trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.dll
   trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Makefile
   trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/desc.xml
Log:
add test for xml patterns

Added: trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.cs
===================================================================
--- trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.cs 
2007-11-21 11:07:43 UTC (rev 90070)
+++ trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.cs 
2007-11-21 11:43:00 UTC (rev 90071)
@@ -0,0 +1,36 @@
+using System;
+
+namespace Foo {
+
+       [NotLinked] public class BarBar {
+       }
+
+       public class FooBaz {
+
+               public FooBaz ()
+               {
+               }
+
+               [NotLinked] public void BarBaz ()
+               {
+               }
+       }
+
+       public class TrucBaz {
+
+               public TrucBaz ()
+               {
+               }
+       }
+
+       public class BazBaz {
+
+               public BazBaz ()
+               {
+               }
+       }
+}
+
+[NotLinked, AttributeUsage (AttributeTargets.All)]
+public class NotLinkedAttribute : Attribute {
+}


Property changes on: 
trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.cs
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.dll
===================================================================
(Binary files differ)


Property changes on: 
trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Library.dll
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Makefile
===================================================================
--- trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Makefile   
2007-11-21 11:07:43 UTC (rev 90070)
+++ trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Makefile   
2007-11-21 11:43:00 UTC (rev 90071)
@@ -0,0 +1,4 @@
+include ../../config.make
+
+all:
+       MCS /t:library Library.cs


Property changes on: 
trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/Makefile
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/desc.xml
===================================================================
--- trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/desc.xml   
2007-11-21 11:07:43 UTC (rev 90070)
+++ trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/desc.xml   
2007-11-21 11:43:00 UTC (rev 90071)
@@ -0,0 +1,7 @@
+<linker>
+       <assembly fullname="Library">
+               <type fullname="Foo.*Baz">
+                       <method signature="System.Void .ctor()" />
+               </type>
+       </assembly>
+</linker>


Property changes on: 
trunk/mcs/tools/linker/Tests/TestCases/Linker/XmlPattern/desc.xml
___________________________________________________________________
Name: svn:executable
   + *

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

Reply via email to