Wrap always_inline and noinline attributes in compiler checks and use MSVC equivalent.
[mono.git] / mcs / class / System.Web.Services / Test / System.Web.Services.Description / WebServicesInteroperabilityTest.cs
1 //
2 // WebServicesInteroperabilityTest.cs
3 //
4 // Author:
5 //      Atsushi Enomoto  <atsushi@ximian.com>
6 //
7 // Copyright (C) 2008 Novell, Inc.
8 //
9
10 #if NET_2_0
11
12 using NUnit.Framework;
13
14 using System;
15 using System.Web.Services;
16 using System.Web.Services.Description;
17 using System.Web.Services.Discovery;
18 using System.Xml;
19 using System.Xml.Schema;
20 using System.Xml.Serialization;
21 using System.Collections;
22
23 namespace MonoTests.System.Web.Services.Description
24 {
25         [TestFixture]
26         public class WebServicesInteroperabilityTest
27         {
28                 [Test]
29                 public void ResolveImport () // should not result in an error
30                 {
31                         BasicProfileViolationCollection bc = new BasicProfileViolationCollection ();
32                         WebServicesInteroperability.CheckConformance (
33                                 WsiProfiles.BasicProfile1_1,
34                                 ServiceDescription.Read ("Test/System.Web.Services.Description/check-import.wsdl"), bc);
35                 }
36
37                 [Test]
38                 public void CheckR2305_1 () // bug #443095
39                 {
40                         BasicProfileViolationCollection bc = new BasicProfileViolationCollection ();
41                         WebServicesInteroperability.CheckConformance (
42                                 WsiProfiles.BasicProfile1_1,
43                                 ServiceDescription.Read ("Test/System.Web.Services.Description/443095.wsdl"), bc);
44                 }
45         }
46 }
47
48 #endif