Example #1
0
        private void AssertAllHiddenMore(string text)
        {
            string s = HideMore(text);

            RegexAssert.IsMatch(allHidden, s);
            s = hider.AddBackMore(s);
            Assert.AreEqual(text, s);
        }
        private string HideMore(string text, bool hideOnlyTargetOfWikilink)
        {
            Hider = new HideText();
            string s = Hider.HideMore(text, hideOnlyTargetOfWikilink);

            Assert.AreEqual(text, Hider.AddBackMore(s));
            return(s);
        }
        private string HideMore(string text, bool hideExternalLinks, bool leaveMetaHeadings, bool hideImages)
        {
            Hider = new HideText(hideExternalLinks, leaveMetaHeadings, hideImages);
            string s = Hider.HideMore(text);

            Assert.AreEqual(text, Hider.AddBackMore(s));
            return(s);
        }
 public void UnHideMoreText(HideText RemoveText)
 {
     mArticleText = RemoveText.AddBackMore(mArticleText);
 }