1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
4
using ICSharpCode.XmlEditor;
8
namespace XmlEditor.Tests.Schema
11
/// Tests that the standard W3C namespace for XSD files is recognised.
14
public class XmlSchemaNamespaceTests
17
public void IsXmlSchemaNamespace()
19
Assert.IsTrue(XmlSchemaDefinition.IsXmlSchemaNamespace("http://www.w3.org/2001/XMLSchema"));
23
public void IsNotXmlSchemaNamespace()
25
Assert.IsFalse(XmlSchemaDefinition.IsXmlSchemaNamespace("http://foo.com"));
29
public void EmptyString()
31
Assert.IsFalse(XmlSchemaDefinition.IsXmlSchemaNamespace(String.Empty));