2 // DataContractSerializerTest_FrameworkTypes_System.Data.cs
\r
5 // Igor Zelmanovich <igorz@mainsoft.com>
\r
7 // Copyright (C) 2008 Mainsoft.co http://www.mainsoft.com
\r
9 // Permission is hereby granted, free of charge, to any person obtaining
\r
10 // a copy of this software and associated documentation files (the
\r
11 // "Software"), to deal in the Software without restriction, including
\r
12 // without limitation the rights to use, copy, modify, merge, publish,
\r
13 // distribute, sublicense, and/or sell copies of the Software, and to
\r
14 // permit persons to whom the Software is furnished to do so, subject to
\r
15 // the following conditions:
\r
17 // The above copyright notice and this permission notice shall be
\r
18 // included in all copies or substantial portions of the Software.
\r
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
\r
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
29 // This test code contains tests for attributes in System.Runtime.Serialization
\r
33 using System.Collections.Generic;
\r
36 using NUnit.Framework;
\r
37 using System.Reflection;
\r
38 using System.Globalization;
\r
39 using System.Runtime.Serialization;
\r
43 namespace MonoTests.System.Runtime.Serialization
\r
46 [Category ("NotWorking")]
\r
47 public partial class DataContractSerializerTest_FrameworkTypes_System_Data
\r
48 : DataContractSerializerTest_FrameworkTypes
\r
51 public void System_Data_AcceptRejectRule () {
\r
52 Test<global::System.Data.AcceptRejectRule> ();
\r
55 public void System_Data_CommandBehavior () {
\r
56 Test<global::System.Data.CommandBehavior> ();
\r
59 public void System_Data_ConnectionState () {
\r
60 Test<global::System.Data.ConnectionState> ();
\r
63 public void System_Data_DataException () {
\r
64 Test<global::System.Data.DataException> ();
\r
67 public void System_Data_ConstraintException () {
\r
68 Test<global::System.Data.ConstraintException> ();
\r
71 public void System_Data_DeletedRowInaccessibleException () {
\r
72 Test<global::System.Data.DeletedRowInaccessibleException> ();
\r
75 public void System_Data_DuplicateNameException () {
\r
76 Test<global::System.Data.DuplicateNameException> ();
\r
79 public void System_Data_InRowChangingEventException () {
\r
80 Test<global::System.Data.InRowChangingEventException> ();
\r
83 public void System_Data_InvalidConstraintException () {
\r
84 Test<global::System.Data.InvalidConstraintException> ();
\r
87 public void System_Data_MissingPrimaryKeyException () {
\r
88 Test<global::System.Data.MissingPrimaryKeyException> ();
\r
91 public void System_Data_NoNullAllowedException () {
\r
92 Test<global::System.Data.NoNullAllowedException> ();
\r
95 public void System_Data_ReadOnlyException () {
\r
96 Test<global::System.Data.ReadOnlyException> ();
\r
99 public void System_Data_RowNotInTableException () {
\r
100 Test<global::System.Data.RowNotInTableException> ();
\r
103 public void System_Data_VersionNotFoundException () {
\r
104 Test<global::System.Data.VersionNotFoundException> ();
\r
107 public void System_Data_DataRowAction () {
\r
108 Test<global::System.Data.DataRowAction> ();
\r
111 [Category ("NotWorking")]
\r
112 public void System_Data_DataRowState () {
\r
113 Test<global::System.Data.DataRowState> ();
\r
116 public void System_Data_SerializationFormat () {
\r
117 Test<global::System.Data.SerializationFormat> ();
\r
120 public void System_Data_DataSet () {
\r
121 Test<global::System.Data.DataSet> ();
\r
124 public void System_Data_DataViewRowState () {
\r
125 Test<global::System.Data.DataViewRowState> ();
\r
128 [Category ("NotWorking")]
\r
129 public void System_Data_DBConcurrencyException () {
\r
130 Test<global::System.Data.DBConcurrencyException> ();
\r
133 public void System_Data_DbType () {
\r
134 Test<global::System.Data.DbType> ();
\r
137 public void System_Data_PropertyCollection () {
\r
138 Test<global::System.Data.PropertyCollection> ();
\r
141 public void System_Data_Rule () {
\r
142 Test<global::System.Data.Rule> ();
\r
145 public void System_Data_SqlDbType () {
\r
146 Test<global::System.Data.SqlDbType> ();
\r
149 public void System_Data_StatementType () {
\r
150 Test<global::System.Data.StatementType> ();
\r
153 public void System_Data_UpdateRowSource () {
\r
154 Test<global::System.Data.UpdateRowSource> ();
\r
157 public void System_Data_UpdateStatus () {
\r
158 Test<global::System.Data.UpdateStatus> ();
\r
161 public void System_Data_XmlReadMode () {
\r
162 Test<global::System.Data.XmlReadMode> ();
\r
165 public void System_Data_XmlWriteMode () {
\r
166 Test<global::System.Data.XmlWriteMode> ();
\r
169 public void System_Data_StrongTypingException () {
\r
170 Test<global::System.Data.StrongTypingException> ();
\r
173 public void System_Data_TypedDataSetGeneratorException () {
\r
174 Test<global::System.Data.TypedDataSetGeneratorException> ();
\r
177 public void System_Data_KeyRestrictionBehavior () {
\r
178 Test<global::System.Data.KeyRestrictionBehavior> ();
\r
181 public void System_Data_Common_GroupByBehavior () {
\r
182 Test<global::System.Data.Common.GroupByBehavior> ();
\r
185 public void System_Data_Common_IdentifierCase () {
\r
186 Test<global::System.Data.Common.IdentifierCase> ();
\r
189 public void System_Data_Common_SupportedJoinOperators () {
\r
190 Test<global::System.Data.Common.SupportedJoinOperators> ();
\r
193 public void System_Data_InvalidExpressionException () {
\r
194 Test<global::System.Data.InvalidExpressionException> ();
\r
197 public void System_Data_EvaluateException () {
\r
198 Test<global::System.Data.EvaluateException> ();
\r
201 public void System_Data_SyntaxErrorException () {
\r
202 Test<global::System.Data.SyntaxErrorException> ();
\r
205 public void System_Data_Odbc_OdbcPermission () {
\r
206 Test<global::System.Data.Odbc.OdbcPermission> ();
\r
209 public void System_Data_OleDb_OleDbLiteral () {
\r
210 Test<global::System.Data.OleDb.OleDbLiteral> ();
\r
213 public void System_Data_OleDb_OleDbPermission () {
\r
214 Test<global::System.Data.OleDb.OleDbPermission> ();
\r
217 public void System_Data_OleDb_OleDbType () {
\r
218 Test<global::System.Data.OleDb.OleDbType> ();
\r
221 public void System_Data_PropertyAttributes () {
\r
222 Test<global::System.Data.PropertyAttributes> ();
\r
225 //public void System_Data_SqlClient_SortOrder () {
\r
226 // Test<global::System.Data.SqlClient.SortOrder> ();
\r
229 public void System_Data_SqlClient_SqlBulkCopyOptions () {
\r
230 Test<global::System.Data.SqlClient.SqlBulkCopyOptions> ();
\r
233 public void System_Data_SqlClient_SqlClientPermission () {
\r
234 Test<global::System.Data.SqlClient.SqlClientPermission> ();
\r
237 public void System_Data_SqlClient_SqlNotificationInfo () {
\r
238 Test<global::System.Data.SqlClient.SqlNotificationInfo> ();
\r
241 public void System_Data_SqlClient_SqlNotificationSource () {
\r
242 Test<global::System.Data.SqlClient.SqlNotificationSource> ();
\r
245 public void System_Data_SqlClient_SqlNotificationType () {
\r
246 Test<global::System.Data.SqlClient.SqlNotificationType> ();
\r