2
using MonoDevelop.XmlEditor;
6
namespace MonoDevelop.XmlEditor.Tests.Paths
9
public class NoElementPathTestFixture
14
public void FixtureSetUp()
16
path = new XmlElementPath();
20
public void HasNoItems()
22
Assert.AreEqual(0, path.Elements.Count,
23
"Should not be any elements.");
27
public void Equality()
29
XmlElementPath newPath = new XmlElementPath();
31
Assert.IsTrue(newPath.Equals(path), "Should be equal.");
35
public void NotEqual()
37
XmlElementPath newPath = new XmlElementPath();
38
newPath.Elements.Add(new QualifiedName("Foo", "bar"));
40
Assert.IsFalse(newPath.Equals(path), "Should not be equal.");