[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / class / System.Web.Services / Test / System.Web.Services / WebMethodAttributeTest.cs
blobcc004b2c283d460f8afabe1a0c10b78f28ca75b1
1 //
2 // MonoTests.System.Web.Services.WebMethodAttributeTest.cs
3 //
4 // Author:
5 // Tim Coleman (tim@timcoleman.com)
6 // Dave Bettin (dave@opendotnet.com)
7 //
8 // Copyright (C) Tim Coleman, 2002
9 // Copyright (C) Dave Bettin, 2003
12 using NUnit.Framework;
13 using System;
14 using System.Web.Services;
15 #if !MOBILE
16 using System.EnterpriseServices;
17 #endif
19 namespace MonoTests.System.Web.Services {
21 [TestFixture]
22 public class WebMethodAttributeTest {
24 [Test]
25 public void TestConstructors ()
27 WebMethodAttribute attribute;
29 attribute = new WebMethodAttribute ();
30 Assert.AreEqual (true, attribute.BufferResponse);
31 Assert.AreEqual (0, attribute.CacheDuration);
32 Assert.AreEqual (String.Empty, attribute.Description);
33 Assert.AreEqual (false, attribute.EnableSession);
34 Assert.AreEqual (String.Empty, attribute.MessageName);
35 Assert.AreEqual (TransactionOption.Disabled, attribute.TransactionOption);