summaryrefslogtreecommitdiffstats
path: root/tests/data
Commit message (Collapse)AuthorAgeFilesLines
* md_tw.py: Update TWMarkdown.output_list_item.rsiddharth2018-04-012-0/+45
| | | | | | * md_tw.py (TWMarkdown.output_list_item): Update method. * tests/data/renderer-lists-w.md: Update file. * tests/data/renderer-lists.md: Update file.
* md_tw.py: Update TWMarkdown.output_block_quote.rsiddharth2018-04-013-0/+69
| | | | | | | | | | | Add subsequent indent text to all 'block' tokens inside block quote. * md_tw.py (TWMarkdown.output_block_quote): Update method. (TWRenderer.block_quote): Update method. * tests/data/renderer-block-quote-w.md: New file. * tests/data/renderer-block-quote.md: New file. * tests/data/renderer-fences-w.md: Update file. * tests/test_md_tw.py (test_render_block-_quote): New test.
* md_tw.py: Add TWMarkdown.output_heading.rsiddharth2018-04-012-0/+8
| | | | | | | | Add prefix, if it exists, to heading. * md_tw.py (TWMarkdown.output_heading): Override super class's method. * tests/data/renderer-heading-w.md: Update file. * tests/data/renderer-heading.md: Update file.
* tests: Add TestTWRenderer.test_render_footnote_item.rsiddharth2018-03-052-0/+49
| | | | | | | * tests/data/renderer-footnotes-w.md: New file. * tests/data/renderer-footnotes.md: New file. * tests/test_md_tw.py (TestTWRenderer) [test_render_footnote_item]: New test method.
* tests: Add TestTWRenderer.test_render_def_link.rsiddharth2018-02-262-0/+68
| | | | | | * tests/data/renderer-def-links-w.md: New file. * tests/data/renderer-def-links.md: New file. * tests/test_md_tw.py (test_render_def_link): New test method.
* tests: Add TestTWRenderer.test_render_hrule.rsiddharth2018-02-252-0/+38
| | | | | | * tests/data/renderer-hrules-w.md: New file. * tests/data/renderer-hrules.md: New file. * tests/test_md_tw.p (TestTWRenderer)[test_render_hrule]: New test method.
* tests: Add test_render_header.rsiddharth2018-02-254-0/+48
| | | | | | | | * tests/data/renderer-heading-w.md: New file. * tests/data/renderer-heading.md: New file. * tests/data/renderer-lheading-w.md: New file. * tests/data/renderer-lheading.md: New file. * tests/test_md_tw.py (test_render_header): New test method.
* tests: Add TestTWRenderer.test_render_list.rsiddharth2018-02-242-0/+129
| | | | | | * tests/data/renderer-lists-w.md: New file. * tests/data/renderer-lists.md: New file. * tests/test_md_tw.py (test_render_list): New test method.
* tests: Add TestTWRenderer.test_render_block_html.rsiddharth2018-02-182-0/+44
| | | | | | * tests/data/renderer-block-html-w.md: New file. * tests/data/renderer-block-html.md: New file. * tests/test_md_tw.py (test_render_block_html): New test method.
* tests: Update TestTWRenderer.test_render_block_code.rsiddharth2018-02-182-0/+24
| | | | | | * tests/data/renderer-fences-w.md: New file. * tests/data/renderer-fences.md: New file. * tests/test_md_tw.py (test_render_block_code): Update test method.
* tests: Add TestTWRenderer.test_render_block_code.rsiddharth2018-02-182-0/+20
| | | | | | | * tests/data/renderer-block-code-w.md: New file. * tests/data/renderer-block-code.md: New file. * tests/test_md_tw.py (TestTWRenderer) [test_render_block_code]: New test method.
* tests: Update blexer-block-code.md.rsiddharth2018-02-181-1/+1
| | | | * tests/data/blexer-block-code.md: Update file.
* tests: Add test for TWRenderer.paragraph.rsiddharth2018-02-182-0/+43
| | | | | | | | | * tests/data/renderer-paragraphs-w.md: New file. * tests/data/renderer-paragraphs.md: New file. * tests/test_md_tw.py (TestTWRenderer)[test_render_paragraph]: Test for TWRenderer.paragraph. [setup, teardown]: Update methods. [_write_tmp, _get, _md, _validate]: New methods.
* tests: Add test_parse_paragraph.rsiddharth2018-01-071-0/+26
| | | | | * tests/data/blexer-paragraphs.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_paragraph): New test.
* tests: Add test_parse_block_html.rsiddharth2018-01-071-0/+22
| | | | | * tests/data/blexer-block-html.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_html): New test.
* tests: Remove TestTextWrapParagraphs.rsiddharth2018-01-024-214/+0
| | | | | | | | | * tests/data/paragraphs-with-inline-wrapped.md: Remove file. * tests/data/paragraphs-with-inline.md: Remove file. * tests/data/paragraphs-wrapped.md: Remove file. * tests/data/paragraphs.md: Remove file. * tests/test_md_tw.py (TestTextWrapParagraphs): Remove test class.
* md_tw.py: Add `TWBlockLexer.parse_def_footnotes`.rsiddharth2018-01-021-0/+24
| | | | | | | | * md_tw.py (TWBlockLexer.parse_def_footnotes): New method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_def_footnotes): New test. * tests/data/blexer-footnotes.md: New file.
* md_tw.py: Add TWBlockLexer.parse_def_links.rsiddharth2018-01-021-0/+34
| | | | | | | | * md_tw.py (TWBlockLexer.parse_def_links): New method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_def_links): New test. * tests/data/blexer-def-links.md: New file.
* md_tw.py: Add TWBlockLexer.parse_block_quote.rsiddharth2018-01-021-0/+34
| | | | | | | | | * md_tw.py (TWBlockLexer.parse_block_quote): New method. (TWBlockLexer.__init__): Update method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_quote): New test. * tests/data/blexer-blockquote.md: New file.
* md_tw.py: Add TWBlockLexer._process_list_item.rsiddharth2018-01-021-0/+66
| | | | | | | | * md_tw.py (TWBlockLexer._process_list_item): New method * tests/test_md_tw.py (TestTWBlockLexer.test_parse_list_block): New test. * tests/data/blexer-lists.md: New file.
* md_tw.py: Add TWBlockLexer.parse_hrule.rsiddharth2018-01-021-0/+19
| | | | | | | | * md_tw.py (TWBlockLexer.parse_hrule): New method * tests/test_md_tw.py (TestTWBlockLexer.test_parse_hrule): New test. * tests/data/blexer-hrules.md: New file.
* md_tw.py: Add TWBlockLexer.parse_lheading.rsiddharth2018-01-021-0/+13
| | | | | | | | * md_tw.py (TWBlockLexer.parse_lheading): New method. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_lheading): New method. * tests/data/blexer-lheading.md: New file.
* md_tw: Add TWBlockLexer.parse_heading.rsiddharth2018-01-021-0/+11
| | | | | | | | * md_tw.py (TWBlockLexer.parse_heading): New method. * tests/data/blexer-heading.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_heading): New test.
* md_tw.py: Add `TWBlockLexer.parse_fences`.rsiddharth2018-01-021-0/+12
| | | | | | * md_tw.py (TWBlockLexer.parse_fences): New method. * tests/data/blexer-fences.md: New file. * tests/test_md_tw.py (test_parse_fences): New test.
* md_tw.py: Add `TWBlockLexer.parse_block_code`.rsiddharth2018-01-021-0/+10
| | | | | | | | | | * md_tw.py (TWBlockLexer.parse_block_code): New method. * tests/test_md_tw.py (TestTWBlockLexer._parse) (TestTWBlockLexer._validate): New private methods. (TestTWBlockLexer.test_parse_block_code): New test. * tests/data/blexer-block-code.md: New file.
* md_tw.py: Add Text Wrap classes (derived from mistune' classes).rsiddharth2017-07-244-0/+214
* md_tw.py (TWBlockLexer, TWInlineLexer, TWRenderer) (TWMarkdown): New classes. * tests/data/paragraphs-with-inline-wrapped.md: New file. * tests/data/paragraphs-with-inline.md: New file. * tests/data/paragraphs-wrapped.md: New file. * tests/data/paragraphs.md: New file. * tests/test_md_tw.py (TestTWBlockLexer, TestTWInlineLexer, TestTWRenderer, TestTWMarkdown) (TestTextWrapParagraphs): New test classes.