2 // DataContractSerializerTest_FrameworkTypes_System.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
\r
48 : DataContractSerializerTest_FrameworkTypes
\r
51 public void System_Text_RegularExpressions_RegexOptions () {
\r
52 Test<global::System.Text.RegularExpressions.RegexOptions> ();
\r
55 public void System_ComponentModel_BindableSupport () {
\r
56 Test<global::System.ComponentModel.BindableSupport> ();
\r
59 public void System_ComponentModel_BindingDirection () {
\r
60 Test<global::System.ComponentModel.BindingDirection> ();
\r
63 public void System_ComponentModel_DataObjectMethodType () {
\r
64 Test<global::System.ComponentModel.DataObjectMethodType> ();
\r
67 public void System_ComponentModel_DesignerSerializationVisibility () {
\r
68 Test<global::System.ComponentModel.DesignerSerializationVisibility> ();
\r
71 public void System_ComponentModel_EditorBrowsableState () {
\r
72 Test<global::System.ComponentModel.EditorBrowsableState> ();
\r
75 public void System_ComponentModel_InvalidAsynchronousStateException () {
\r
76 Test<global::System.ComponentModel.InvalidAsynchronousStateException> ();
\r
79 public void System_ComponentModel_InvalidEnumArgumentException () {
\r
80 Test<global::System.ComponentModel.InvalidEnumArgumentException> ();
\r
83 public void System_ComponentModel_LicenseUsageMode () {
\r
84 Test<global::System.ComponentModel.LicenseUsageMode> ();
\r
87 public void System_ComponentModel_ListChangedType () {
\r
88 Test<global::System.ComponentModel.ListChangedType> ();
\r
91 public void System_ComponentModel_ListSortDirection () {
\r
92 Test<global::System.ComponentModel.ListSortDirection> ();
\r
95 public void System_ComponentModel_MaskedTextResultHint () {
\r
96 Test<global::System.ComponentModel.MaskedTextResultHint> ();
\r
99 public void System_ComponentModel_ToolboxItemFilterType () {
\r
100 Test<global::System.ComponentModel.ToolboxItemFilterType> ();
\r
103 public void System_ComponentModel_WarningException () {
\r
104 Test<global::System.ComponentModel.WarningException> ();
\r
107 public void System_ComponentModel_Win32Exception () {
\r
108 Test<global::System.ComponentModel.Win32Exception> ();
\r
111 public void System_ComponentModel_Design_CheckoutException () {
\r
112 Test<global::System.ComponentModel.Design.CheckoutException> ();
\r
115 public void System_ComponentModel_Design_HelpContextType () {
\r
116 Test<global::System.ComponentModel.Design.HelpContextType> ();
\r
119 public void System_ComponentModel_Design_HelpKeywordAttribute () {
\r
120 Test<global::System.ComponentModel.Design.HelpKeywordAttribute> ();
\r
123 public void System_ComponentModel_Design_HelpKeywordType () {
\r
124 Test<global::System.ComponentModel.Design.HelpKeywordType> ();
\r
127 public void System_ComponentModel_PropertyTabScope () {
\r
128 Test<global::System.ComponentModel.PropertyTabScope> ();
\r
131 public void System_ComponentModel_RefreshProperties () {
\r
132 Test<global::System.ComponentModel.RefreshProperties> ();
\r
135 [Category ("NotWorking")]
\r
136 public void System_ComponentModel_Design_SelectionTypes () {
\r
137 Test<global::System.ComponentModel.Design.SelectionTypes> ();
\r
140 public void System_ComponentModel_Design_ViewTechnology () {
\r
141 Test<global::System.ComponentModel.Design.ViewTechnology> ();
\r
144 public void System_Diagnostics_SourceLevels () {
\r
145 Test<global::System.Diagnostics.SourceLevels> ();
\r
148 public void System_Diagnostics_TraceLevel () {
\r
149 Test<global::System.Diagnostics.TraceLevel> ();
\r
152 public void System_Diagnostics_TraceOptions () {
\r
153 Test<global::System.Diagnostics.TraceOptions> ();
\r
156 public void System_IO_Compression_CompressionMode () {
\r
157 Test<global::System.IO.Compression.CompressionMode> ();
\r
160 public void System_IO_InvalidDataException () {
\r
161 Test<global::System.IO.InvalidDataException> ();
\r
164 public void System_Threading_SemaphoreFullException () {
\r
165 Test<global::System.Threading.SemaphoreFullException> ();
\r
168 [Category ("NotWorking")]
\r
169 public void System_Media_SoundPlayer () {
\r
170 Test<global::System.Media.SoundPlayer> ();
\r
173 [Category ("NotWorking")]
\r
174 public void System_Security_AccessControl_SemaphoreRights () {
\r
175 Test<global::System.Security.AccessControl.SemaphoreRights> ();
\r
178 public void System_Collections_Specialized_HybridDictionary () {
\r
179 Test<global::System.Collections.Specialized.HybridDictionary> ();
\r
182 public void System_Collections_Specialized_ListDictionary () {
\r
183 Test<global::System.Collections.Specialized.ListDictionary> ();
\r
186 public void System_Collections_Specialized_OrderedDictionary () {
\r
187 Test<global::System.Collections.Specialized.OrderedDictionary> ();
\r
190 public void System_Collections_Specialized_StringCollection () {
\r
191 Test<global::System.Collections.Specialized.StringCollection> ();
\r
194 public void System_Collections_Specialized_StringDictionary () {
\r
195 Test<global::System.Collections.Specialized.StringDictionary> ();
\r
198 [Category ("NotWorking")]
\r
199 public void System_Runtime_InteropServices_ComTypes_ADVF () {
\r
200 Test<global::System.Runtime.InteropServices.ComTypes.ADVF> ();
\r
203 [Category ("NotWorking")]
\r
204 public void System_Runtime_InteropServices_ComTypes_DVASPECT () {
\r
205 Test<global::System.Runtime.InteropServices.ComTypes.DVASPECT> ();
\r
208 public void System_Runtime_InteropServices_ComTypes_TYMED () {
\r
209 Test<global::System.Runtime.InteropServices.ComTypes.TYMED> ();
\r
212 public void System_Security_Permissions_StorePermissionFlags () {
\r
213 Test<global::System.Security.Permissions.StorePermissionFlags> ();
\r
216 public void System_Security_Cryptography_X509Certificates_X500DistinguishedNameFlags () {
\r
217 Test<global::System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags> ();
\r
220 public void System_Security_Cryptography_X509Certificates_X509NameType () {
\r
221 Test<global::System.Security.Cryptography.X509Certificates.X509NameType> ();
\r
224 public void System_Security_Cryptography_X509Certificates_X509IncludeOption () {
\r
225 Test<global::System.Security.Cryptography.X509Certificates.X509IncludeOption> ();
\r
228 public void System_Security_Cryptography_X509Certificates_X509FindType () {
\r
229 Test<global::System.Security.Cryptography.X509Certificates.X509FindType> ();
\r
232 public void System_Security_Cryptography_X509Certificates_X509CertificateCollection () {
\r
233 Test<global::System.Security.Cryptography.X509Certificates.X509CertificateCollection> ();
\r
236 public void System_Security_Cryptography_X509Certificates_X509ChainStatusFlags () {
\r
237 Test<global::System.Security.Cryptography.X509Certificates.X509ChainStatusFlags> ();
\r
240 public void System_Security_Cryptography_X509Certificates_X509RevocationMode () {
\r
241 Test<global::System.Security.Cryptography.X509Certificates.X509RevocationMode> ();
\r
244 public void System_Security_Cryptography_X509Certificates_X509RevocationFlag () {
\r
245 Test<global::System.Security.Cryptography.X509Certificates.X509RevocationFlag> ();
\r
248 public void System_Security_Cryptography_X509Certificates_X509VerificationFlags () {
\r
249 Test<global::System.Security.Cryptography.X509Certificates.X509VerificationFlags> ();
\r
252 public void System_Security_Cryptography_X509Certificates_X509KeyUsageFlags () {
\r
253 Test<global::System.Security.Cryptography.X509Certificates.X509KeyUsageFlags> ();
\r
256 public void System_Security_Cryptography_X509Certificates_X509SubjectKeyIdentifierHashAlgorithm () {
\r
257 Test<global::System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm> ();
\r
260 public void System_Security_Cryptography_X509Certificates_OpenFlags () {
\r
261 Test<global::System.Security.Cryptography.X509Certificates.OpenFlags> ();
\r
264 public void System_UriFormatException () {
\r
265 Test<global::System.UriFormatException> ();
\r
268 public void System_UriHostNameType () {
\r
269 Test<global::System.UriHostNameType> ();
\r
272 public void System_UriPartial () {
\r
273 Test<global::System.UriPartial> ();
\r
276 public void System_UriKind () {
\r
277 Test<global::System.UriKind> ();
\r
280 [Category ("NotWorking")]
\r
281 public void System_UriComponents () {
\r
282 Test<global::System.UriComponents> ();
\r
285 public void System_UriIdnScope () {
\r
286 Test<global::System.UriIdnScope> ();
\r
289 public void System_GenericUriParserOptions () {
\r
290 Test<global::System.GenericUriParserOptions> ();
\r
293 public void System_Net_AuthenticationSchemes () {
\r
294 Test<global::System.Net.AuthenticationSchemes> ();
\r
297 //[Category ("NotWorking")]
\r
298 //public void System_Net_Cookie () {
\r
299 // Test<global::System.Net.Cookie> ();
\r
302 public void System_Net_CookieCollection () {
\r
303 Test<global::System.Net.CookieCollection> ();
\r
306 public void System_Net_CookieContainer () {
\r
307 Test<global::System.Net.CookieContainer> ();
\r
310 public void System_Net_CookieException () {
\r
311 Test<global::System.Net.CookieException> ();
\r
314 public void System_Net_FtpStatusCode () {
\r
315 Test<global::System.Net.FtpStatusCode> ();
\r
318 public void System_Net_HttpListenerException () {
\r
319 Test<global::System.Net.HttpListenerException> ();
\r
322 public void System_Net_HttpRequestHeader () {
\r
323 Test<global::System.Net.HttpRequestHeader> ();
\r
326 public void System_Net_HttpResponseHeader () {
\r
327 Test<global::System.Net.HttpResponseHeader> ();
\r
330 public void System_Net_DecompressionMethods () {
\r
331 Test<global::System.Net.DecompressionMethods> ();
\r
334 [Category ("NotWorking")]
\r
335 public void System_Net_NetworkAccess () {
\r
336 Test<global::System.Net.NetworkAccess> ();
\r
339 public void System_Net_ProtocolViolationException () {
\r
340 Test<global::System.Net.ProtocolViolationException> ();
\r
343 [Category ("NotWorking")]
\r
344 public void System_Net_SecurityProtocolType () {
\r
345 Test<global::System.Net.SecurityProtocolType> ();
\r
348 public void System_Net_Sockets_SocketException () {
\r
349 Test<global::System.Net.Sockets.SocketException> ();
\r
352 public void System_Net_WebException () {
\r
353 Test<global::System.Net.WebException> ();
\r
356 public void System_Net_WebExceptionStatus () {
\r
357 Test<global::System.Net.WebExceptionStatus> ();
\r
360 public void System_Net_WebHeaderCollection () {
\r
361 Test<global::System.Net.WebHeaderCollection> ();
\r
364 public void System_Net_WebPermission () {
\r
365 Test<global::System.Net.WebPermission> ();
\r
368 [Category ("NotWorking")]
\r
369 public void System_Net_WebProxy () {
\r
370 Test<global::System.Net.WebProxy> ();
\r
373 public void System_Net_Cache_RequestCacheLevel () {
\r
374 Test<global::System.Net.Cache.RequestCacheLevel> ();
\r
377 public void System_Net_Cache_HttpRequestCacheLevel () {
\r
378 Test<global::System.Net.Cache.HttpRequestCacheLevel> ();
\r
381 public void System_Net_Cache_HttpCacheAgeControl () {
\r
382 Test<global::System.Net.Cache.HttpCacheAgeControl> ();
\r
385 public void System_Security_Authentication_AuthenticationException () {
\r
386 Test<global::System.Security.Authentication.AuthenticationException> ();
\r
389 public void System_Security_Authentication_InvalidCredentialException () {
\r
390 Test<global::System.Security.Authentication.InvalidCredentialException> ();
\r
393 public void System_Net_Security_AuthenticationLevel () {
\r
394 Test<global::System.Net.Security.AuthenticationLevel> ();
\r
397 public void System_Net_Security_ProtectionLevel () {
\r
398 Test<global::System.Net.Security.ProtectionLevel> ();
\r
401 public void System_Security_Authentication_SslProtocols () {
\r
402 Test<global::System.Security.Authentication.SslProtocols> ();
\r
405 public void System_Security_Authentication_ExchangeAlgorithmType () {
\r
406 Test<global::System.Security.Authentication.ExchangeAlgorithmType> ();
\r
409 public void System_Security_Authentication_CipherAlgorithmType () {
\r
410 Test<global::System.Security.Authentication.CipherAlgorithmType> ();
\r
413 public void System_Security_Authentication_HashAlgorithmType () {
\r
414 Test<global::System.Security.Authentication.HashAlgorithmType> ();
\r
417 public void System_Net_Security_SslPolicyErrors () {
\r
418 Test<global::System.Net.Security.SslPolicyErrors> ();
\r
421 public void System_Net_Sockets_AddressFamily () {
\r
422 Test<global::System.Net.Sockets.AddressFamily> ();
\r
425 public void System_Net_Sockets_ProtocolFamily () {
\r
426 Test<global::System.Net.Sockets.ProtocolFamily> ();
\r
429 public void System_Net_Sockets_ProtocolType () {
\r
430 Test<global::System.Net.Sockets.ProtocolType> ();
\r
433 public void System_Net_Sockets_SelectMode () {
\r
434 Test<global::System.Net.Sockets.SelectMode> ();
\r
437 [Category ("NotWorking")]
\r
438 public void System_Net_Sockets_SocketInformationOptions () {
\r
439 Test<global::System.Net.Sockets.SocketInformationOptions> ();
\r
442 [Category ("NotWorking")]
\r
443 public void System_Net_Sockets_SocketInformation () {
\r
444 Test<global::System.Net.Sockets.SocketInformation> ();
\r
447 //public void System_Net_Sockets_SocketAsyncOperation () {
\r
448 // Test<global::System.Net.Sockets.SocketAsyncOperation> ();
\r
451 public void System_Net_Sockets_SocketError () {
\r
452 Test<global::System.Net.Sockets.SocketError> ();
\r
455 public void System_Net_Sockets_SocketFlags () {
\r
456 Test<global::System.Net.Sockets.SocketFlags> ();
\r
459 public void System_Net_Sockets_SocketOptionLevel () {
\r
460 Test<global::System.Net.Sockets.SocketOptionLevel> ();
\r
463 public void System_Net_Sockets_SocketShutdown () {
\r
464 Test<global::System.Net.Sockets.SocketShutdown> ();
\r
467 public void System_Net_Sockets_TransmitFileOptions () {
\r
468 Test<global::System.Net.Sockets.TransmitFileOptions> ();
\r
471 public void System_Net_NetworkInformation_DuplicateAddressDetectionState () {
\r
472 Test<global::System.Net.NetworkInformation.DuplicateAddressDetectionState> ();
\r
475 public void System_Net_NetworkInformation_IPStatus () {
\r
476 Test<global::System.Net.NetworkInformation.IPStatus> ();
\r
479 public void System_Net_NetworkInformation_NetworkInformationException () {
\r
480 Test<global::System.Net.NetworkInformation.NetworkInformationException> ();
\r
483 public void System_Net_NetworkInformation_NetworkInformationAccess () {
\r
484 Test<global::System.Net.NetworkInformation.NetworkInformationAccess> ();
\r
487 public void System_Net_NetworkInformation_NetworkInterfaceComponent () {
\r
488 Test<global::System.Net.NetworkInformation.NetworkInterfaceComponent> ();
\r
491 public void System_Net_NetworkInformation_NetBiosNodeType () {
\r
492 Test<global::System.Net.NetworkInformation.NetBiosNodeType> ();
\r
495 public void System_Net_NetworkInformation_PrefixOrigin () {
\r
496 Test<global::System.Net.NetworkInformation.PrefixOrigin> ();
\r
499 public void System_Net_NetworkInformation_SuffixOrigin () {
\r
500 Test<global::System.Net.NetworkInformation.SuffixOrigin> ();
\r
503 public void System_Net_NetworkInformation_TcpState () {
\r
504 Test<global::System.Net.NetworkInformation.TcpState> ();
\r
507 public void System_Net_Configuration_ProxyElement_BypassOnLocalValues () {
\r
508 Test<global::System.Net.Configuration.ProxyElement.BypassOnLocalValues> ();
\r
511 public void System_Net_Configuration_ProxyElement_UseSystemDefaultValues () {
\r
512 Test<global::System.Net.Configuration.ProxyElement.UseSystemDefaultValues> ();
\r
515 public void System_Net_Configuration_ProxyElement_AutoDetectValues () {
\r
516 Test<global::System.Net.Configuration.ProxyElement.AutoDetectValues> ();
\r
519 public void System_Net_Mail_DeliveryNotificationOptions () {
\r
520 Test<global::System.Net.Mail.DeliveryNotificationOptions> ();
\r
523 public void System_Net_Mail_MailPriority () {
\r
524 Test<global::System.Net.Mail.MailPriority> ();
\r
527 public void System_Net_Mail_SmtpDeliveryMethod () {
\r
528 Test<global::System.Net.Mail.SmtpDeliveryMethod> ();
\r
531 public void System_Net_Mail_SmtpException () {
\r
532 Test<global::System.Net.Mail.SmtpException> ();
\r
535 public void System_Net_Mail_SmtpFailedRecipientException () {
\r
536 Test<global::System.Net.Mail.SmtpFailedRecipientException> ();
\r
539 public void System_Net_Mail_SmtpAccess () {
\r
540 Test<global::System.Net.Mail.SmtpAccess> ();
\r
543 public void System_Net_Mime_TransferEncoding () {
\r
544 Test<global::System.Net.Mime.TransferEncoding> ();
\r
547 public void System_Configuration_ConfigurationException () {
\r
548 Test<global::System.Configuration.ConfigurationException> ();
\r
551 public void System_Configuration_SettingsAttributeDictionary () {
\r
552 Test<global::System.Configuration.SettingsAttributeDictionary> ();
\r
555 public void System_Configuration_SettingsManageability () {
\r
556 Test<global::System.Configuration.SettingsManageability> ();
\r
559 public void System_Configuration_SpecialSetting () {
\r
560 Test<global::System.Configuration.SpecialSetting> ();
\r
563 public void System_Configuration_SettingsContext () {
\r
564 Test<global::System.Configuration.SettingsContext> ();
\r
567 public void System_Configuration_SettingsPropertyIsReadOnlyException () {
\r
568 Test<global::System.Configuration.SettingsPropertyIsReadOnlyException> ();
\r
571 public void System_Configuration_SettingsPropertyNotFoundException () {
\r
572 Test<global::System.Configuration.SettingsPropertyNotFoundException> ();
\r
575 public void System_Configuration_SettingsPropertyWrongTypeException () {
\r
576 Test<global::System.Configuration.SettingsPropertyWrongTypeException> ();
\r
579 public void System_Configuration_SettingsSerializeAs () {
\r
580 Test<global::System.Configuration.SettingsSerializeAs> ();
\r
583 [Category ("NotWorking")]
\r
584 public void System_IO_NotifyFilters () {
\r
585 Test<global::System.IO.NotifyFilters> ();
\r
588 public void System_IO_InternalBufferOverflowException () {
\r
589 Test<global::System.IO.InternalBufferOverflowException> ();
\r
592 [Category ("NotWorking")]
\r
593 public void System_IO_WatcherChangeTypes () {
\r
594 Test<global::System.IO.WatcherChangeTypes> ();
\r
597 public void System_Security_Permissions_ResourcePermissionBaseEntry () {
\r
598 Test<global::System.Security.Permissions.ResourcePermissionBaseEntry> ();
\r
601 public void System_Diagnostics_CounterCreationData () {
\r
602 Test<global::System.Diagnostics.CounterCreationData> ();
\r
605 public void System_Diagnostics_CounterCreationDataCollection () {
\r
606 Test<global::System.Diagnostics.CounterCreationDataCollection> ();
\r
609 public void System_Diagnostics_EventLogPermissionAccess () {
\r
610 Test<global::System.Diagnostics.EventLogPermissionAccess> ();
\r
613 public void System_Diagnostics_OverflowAction () {
\r
614 Test<global::System.Diagnostics.OverflowAction> ();
\r
617 public void System_Diagnostics_PerformanceCounterCategoryType () {
\r
618 Test<global::System.Diagnostics.PerformanceCounterCategoryType> ();
\r
621 public void System_Diagnostics_PerformanceCounterInstanceLifetime () {
\r
622 Test<global::System.Diagnostics.PerformanceCounterInstanceLifetime> ();
\r
625 public void System_Diagnostics_PerformanceCounterPermissionAccess () {
\r
626 Test<global::System.Diagnostics.PerformanceCounterPermissionAccess> ();
\r
629 public void System_Diagnostics_PerformanceCounterType () {
\r
630 Test<global::System.Diagnostics.PerformanceCounterType> ();
\r
633 public void System_Diagnostics_ProcessWindowStyle () {
\r
634 Test<global::System.Diagnostics.ProcessWindowStyle> ();
\r
637 public void System_Diagnostics_ThreadPriorityLevel () {
\r
638 Test<global::System.Diagnostics.ThreadPriorityLevel> ();
\r
641 public void System_Diagnostics_ThreadState () {
\r
642 Test<global::System.Diagnostics.ThreadState> ();
\r
645 public void System_Diagnostics_ThreadWaitReason () {
\r
646 Test<global::System.Diagnostics.ThreadWaitReason> ();
\r
649 public void System_IO_Ports_Handshake () {
\r
650 Test<global::System.IO.Ports.Handshake> ();
\r
653 public void System_IO_Ports_Parity () {
\r
654 Test<global::System.IO.Ports.Parity> ();
\r
657 public void System_IO_Ports_StopBits () {
\r
658 Test<global::System.IO.Ports.StopBits> ();
\r