Esempio n. 1
0
        public void CheckPassThroughOfContentParsed()
        {
            var  lib = new TagLib().Register(new Sharp());
            ITag tag = new TagLibParserFactory(new TagLibForParsing(lib), new ExpressionLib(), new FileLocatorFactory(), null).Parse("<sharp:marker id='id'>body</sharp:marker>");

            Assert.That(tag.Evaluate(new TagModel(this)), Is.EqualTo("body"));
        }
Esempio n. 2
0
 public void CheckPassThroughOfContentParsed()
 {
     var lib = new TagLib().Register(new Sharp());
     ITag tag = new TagLibParserFactory(new TagLibForParsing(lib), new ExpressionLib(), new FileLocatorFactory(), null).Parse("<sharp:marker id='id'>body</sharp:marker>");
     Assert.That(tag.Evaluate(new TagModel(this)), Is.EqualTo("body"));
 }