2009-06-12 Bill Holmes <billholmes54@gmail.com>
[mono.git] / mcs / nunit20 / util / Transform.resx
1 <?xml version="1.0" encoding="utf-8" ?>
2 <root>
3         <!-- 
4             Microsoft ResX Schema 
5         
6             Version 1.3
7                 
8             The primary goals of this format is to allow a simple XML format 
9             that is mostly human readable. The generation and parsing of the 
10             various data types are done through the TypeConverter classes 
11             associated with the data types.
12         
13             Example:
14         
15                 ... ado.net/XML headers & schema ...
16                 <resheader name="resmimetype">text/microsoft-resx</resheader>
17                 <resheader name="version">1.3</resheader>
18                 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19                 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20                 <data name="Name1">this is my long string</data>
21                 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22                 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23                     [base64 mime encoded serialized .NET Framework object]
24                 </data>
25                 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26                     [base64 mime encoded string representing a byte array form of the .NET Framework object]
27                 </data>
28         
29             There are any number of "resheader" rows that contain simple 
30             name/value pairs.
31             
32             Each data row contains a name, and value. The row also contains a 
33             type or mimetype. Type corresponds to a .NET class that support 
34             text/value conversion through the TypeConverter architecture. 
35             Classes that don't support this are serialized and stored with the 
36             mimetype set.
37                      
38             The mimetype is used for serialized objects, and tells the 
39             ResXResourceReader how to depersist the object. This is currently not 
40             extensible. For a given mimetype the value must be set accordingly:
41         
42             Note - application/x-microsoft.net.object.binary.base64 is the format 
43                    that the ResXResourceWriter will generate, however the reader can 
44                    read any of the formats listed below.
45         
46             mimetype: application/x-microsoft.net.object.binary.base64
47             value   : The object must be serialized with 
48                     : System.Serialization.Formatters.Binary.BinaryFormatter
49                     : and then encoded with base64 encoding.
50         
51             mimetype: application/x-microsoft.net.object.soap.base64
52             value   : The object must be serialized with 
53                     : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
54                     : and then encoded with base64 encoding.
55             mimetype: application/x-microsoft.net.object.bytearray.base64
56             value   : The object must be serialized into a byte array 
57                     : using a System.ComponentModel.TypeConverter
58                     : and then encoded with base64 encoding.
59         -->
60         <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
61                 <xsd:element name="root" msdata:IsDataSet="true">
62                         <xsd:complexType>
63                                 <xsd:choice maxOccurs="unbounded">
64                                         <xsd:element name="data">
65                                                 <xsd:complexType>
66                                                         <xsd:sequence>
67                                                                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
68                                                                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
69                                                         </xsd:sequence>
70                                                         <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
71                                                         <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
72                                                         <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
73                                                 </xsd:complexType>
74                                         </xsd:element>
75                                         <xsd:element name="resheader">
76                                                 <xsd:complexType>
77                                                         <xsd:sequence>
78                                                                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
79                                                         </xsd:sequence>
80                                                         <xsd:attribute name="name" type="xsd:string" use="required" />
81                                                 </xsd:complexType>
82                                         </xsd:element>
83                                 </xsd:choice>
84                         </xsd:complexType>
85                 </xsd:element>
86         </xsd:schema>
87         <resheader name="resmimetype">
88                 <value>text/microsoft-resx</value>
89         </resheader>
90         <resheader name="version">
91                 <value>1.3</value>
92         </resheader>
93         <resheader name="reader">
94                 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
95         </resheader>
96         <resheader name="writer">
97                 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
98         </resheader>
99         <data name="Summary.xslt">
100                 <value>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
101 &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
102 &lt;xsl:output method='text'/&gt;
103
104 &lt;xsl:template match="/"&gt;
105         &lt;xsl:apply-templates/&gt;
106 &lt;/xsl:template&gt;
107
108 &lt;xsl:template match="test-results"&gt;
109 &lt;xsl:text&gt;Tests run: &lt;/xsl:text&gt;
110 &lt;xsl:value-of select="@total"/&gt;
111 &lt;xsl:text&gt;, Failures: &lt;/xsl:text&gt;
112 &lt;xsl:value-of select="@failures"/&gt;
113 &lt;xsl:text&gt;, Not run: &lt;/xsl:text&gt;
114 &lt;xsl:value-of select="@not-run"/&gt;
115 &lt;xsl:text&gt;, Time: &lt;/xsl:text&gt;
116 &lt;xsl:value-of select="test-suite/@time"/&gt;
117 &lt;xsl:text&gt; seconds
118 &lt;/xsl:text&gt;
119 &lt;xsl:text&gt;
120 &lt;/xsl:text&gt;
121
122 &lt;xsl:if test="//test-case[failure]"&gt;&lt;xsl:text&gt;Failures:
123 &lt;/xsl:text&gt;&lt;/xsl:if&gt;
124 &lt;xsl:apply-templates select="//test-case[failure]"/&gt;
125 &lt;xsl:if test="//test-case[@executed='False']"&gt;&lt;xsl:text&gt;Tests not run:
126 &lt;/xsl:text&gt;&lt;/xsl:if&gt;
127 &lt;xsl:apply-templates select="//test-case[@executed='False']"/&gt;
128 &lt;xsl:text disable-output-escaping='yes'&gt;&amp;#xD;&amp;#xA;&lt;/xsl:text&gt;
129 &lt;/xsl:template&gt;
130
131 &lt;xsl:template match="test-case"&gt;
132         &lt;xsl:value-of select="position()"/&gt;&lt;xsl:text&gt;) &lt;/xsl:text&gt;
133         &lt;xsl:value-of select="@name"/&gt;
134         &lt;xsl:text&gt; : &lt;/xsl:text&gt;
135         &lt;xsl:value-of select="child::node()/message"/&gt;
136 &lt;xsl:text disable-output-escaping='yes'&gt;&amp;#xD;&amp;#xA;&lt;/xsl:text&gt;
137         &lt;xsl:if test="failure"&gt;
138                 &lt;xsl:value-of select="failure/stack-trace"/&gt;
139 &lt;xsl:text&gt;
140 &lt;/xsl:text&gt;
141         &lt;/xsl:if&gt;
142 &lt;/xsl:template&gt;
143
144 &lt;/xsl:stylesheet&gt;
145
146   </value>
147         </data>
148 </root>