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)
5
using ICSharpCode.SharpDevelop.Dom;
7
using XmlEditor.Tests.Utils;
9
namespace XmlEditor.Tests.Folding
12
public class SingleEmptyElementFoldTestFixture
14
XmlFoldParserHelper helper;
24
helper = new XmlFoldParserHelper();
25
helper.CreateParser();
30
public void GetFolds_ChildElementIsEmptyElement_FoldRegionCoversRootElement()
32
DomRegion region = helper.GetFirstFoldRegion();
38
DomRegion expectedRegion = new DomRegion(beginLine, beginCol, endLine, endCol);
40
Assert.AreEqual(expectedRegion, region);