**** Merged from MCS ****
[mono-project.git] / mcs / class / Microsoft.Web.Services / Test / Microsoft.Web.Services.Security / XmltokTest.cs
blob65ffcc346575937d9aa8306c9d24da34a6ad436f
1 //
2 // XmltokTest.cs - NUnit Test Cases for Xmltok
3 //
4 // Author:
5 // Sebastien Pouliot (spouliot@motus.com)
6 //
7 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
8 //
10 using NUnit.Framework;
11 using Microsoft.Web.Services.Security;
12 using System;
14 namespace MonoTests.MS.Web.Services.Security {
16 [TestFixture]
17 public class XmltokTest : Assertion {
19 [Test]
20 public void Constructor ()
22 Xmltok x = new Xmltok ();
23 AssertNotNull ("Constructor", x);
26 [Test]
27 public void PublicConstStrings ()
29 AssertEquals ("NamespaceURI", "http://schemas.xmlsoap.org/ws/2002/08/xmltok", Xmltok.NamespaceURI);
30 // prefix not Prefix (like elsewhere)
31 AssertEquals ("Prefix", "tok", Xmltok.prefix);