public void SetUp() { var language = new MarkdownLanguage(); var parser = new MarkdownTokenParser(language.GetAllTags); var tagTranslator = new MarkdownToHtmlTagTranslator(language.GetTranslations); var nodeTranslator = new MarkdownNodeTranslator(tagTranslator); var treeTranslator = new MarkdownTokenTreeTranslator(nodeTranslator); var treeBuilder = new MarkdownTokenTreeBuilder(language.GetTagsInfo); markdown = new Markdown.Markdown(parser, treeTranslator, treeBuilder); }
public void SetUp() { tagsInfo = new MarkdownLanguage().GetTagsInfo; builder = new MarkdownTokenTreeBuilder(tagsInfo); testTreeBuilder = TestTreeBuilder.Tree(); }