|
t/integration/01-view_page.t
|
- 1..7
- not ok 1 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, View specific page
- ok 2 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, View unexisting page
- ok 3 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, Log in page
- ok 4 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, Log out page
- ok 5 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, Recent changes
- ok 6 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, All pages
- ok 7 - Text::Markup::Wiki::MediaWiki, CleanAndSoft, All pages, specific tag
- # Looks like you failed 1 tests of 7
|
22.71s |
85.7% |
|
t/cgi/01-cgi.t
|
- 1..23
- ok 1 - We use CGI and we are still alive
- ok 2 - Instant it
- ok 3 - ...still
- ok 4 - Parse param: test=
- ok 5 - Parse param: test=1
- ok 6 - Parse param: test=2¶ms=2
- ok 7 - Parse param: test=3¶ms=3&words=first+second
- ok 8 - Parse param: test=4¶ms=3&words=first+%41+second
- ok 9 - Parse param: test=5¶ms=3&words=first%0Asecond
- ok 10 - Parse param: test=foo&test=bar
- ok 11 - Parse param: test=2;params=2
- ok 12 - Parse param: test=3;params=3;words=first+second
- ok 13 - Parse param: test=4;params=3&words=first+%41+second
- ok 14 - Parse param (keywords): foo
- ok 15 - Parse param (keywords): foo+bar+her
- ok 16 - Add kv: :key1<val>
- ok 17 - Add kv: :key2<val>
- ok 18 - Add kv: :key1<val2>
- ok 19 - Add kv: :key3<4>
- ok 20 - Add kv: :key4<4.1>
- ok 21 - Test param
- ok 22 - Parse cookies: foo=bar
- ok 23 - Parse cookies: foo=bar; bar=12.20
|
6.63s |
100.0% |
|
t/config.t
|
- 1..3
- ok 1 - find skin in Config
- ok 2 - find web_root in Config
- ok 3 - find server_root in Config
|
1.89s |
100.0% |
|
t/uri/01.t
|
- 1..28
- ok 1 - We use URI and we are still alive
- ok 2 - scheme
- ok 3 - host
- ok 4 - port
- ok 5 - path
- ok 6 - query
- ok 7 - frag
- ok 8 - chunks
- ok 9 - first chunk
- ok 10 - second chunk
- ok 11 - Complete path stringification
- ok 12 - scheme
- ok 13 - host
- ok 14 - https://eXAMplE.COM stringifies to https://example.com
- ok 15 - chunks from absolute path
- ok 16 - absolute path
- ok 17 - not relative path
- ok 18 - chunks from relative path
- ok 19 - relative path
- ok 20 - not absolute path
- ok 21 - first chunk
- ok 22 - second chunk
- ok 23 - last chunk
- ok 24 - .chunks return [''] for empty path
- ok 25 - http://foo.com has an absolute path
- ok 26 - http://foo.com does not have a relative path
- ok 27 - <> removed from str
- ok 28 - "" removed from str
|
3.49s |
100.0% |
|
t/markup/minimal/04-paragraphs.t
|
- 1..1
- ok 1 - paragraphs are turned into separate <p> blocks
|
2.74s |
100.0% |
|
t/markup/minimal/03-escaping.t
|
- 1..4
- ok 1 - < -> <
- ok 2 - > -> >
- ok 3 - & -> &
- ok 4 - ' -> '
|
3.21s |
100.0% |
|
t/markup/minimal/02-normal-text.t
|
- 1..1
- ok 1 - normal text goes through unchanged
|
2.38s |
100.0% |
|
t/markup/minimal/05-headings.t
|
- 1..1
- ok 1 - mixing paragraphs and headings works
|
2.65s |
100.0% |
|
t/markup/minimal/01-use.t
|
- 1..1
- ok 1 - use Text::Markup::Wiki::Minimal
|
2.13s |
100.0% |
|
t/markup/minimal/06-links.t
|
- 1..11
- ok 1 - link conversion works
- ok 2 - link conversion works
- ok 3 - link conversion works
- ok 4 - malformed link I
- ok 5 - malformed link II
- ok 6 - My_Page
- ok 7 - named link
- ok 8 - named external link
- ok 9 - named external link with digets and dot
- ok 10 - named (long name) external link
- ok 11 - mailto
|
5.75s |
100.0% |
|
t/markup/mediawiki/07-italic-and-bold.t
|
- 1..14
- ok 1 - italic text works
- ok 2 - malformed italic I
- ok 3 - malformed italic II
- ok 4 - bold text works
- ok 5 - malformed bold I
- ok 6 - malformed bold II
- ok 7 - italic/bold text works
- ok 8 - nested italic/bold I
- ok 9 - nested italic/bold II
- ok 10 - malformed italic/bold I
- ok 11 - malformed italic/bold II
- ok 12 - mis-nested italic/bold I
- ok 13 - mis-nested italic/bold II
- ok 14 - mis-nested italic/bold III
|
5.40s |
100.0% |
|
t/markup/mediawiki/12-unordered-lists.t
|
- 1..4
- ok 1 - an ordinary bullet list
- ok 2 - an empty line creates a new list
- ok 3 - text before and after without empty lines
- ok 4 - text before and after with empty lines
|
3.13s |
100.0% |
|
t/markup/mediawiki/04-paragraphs.t
|
- 1..1
- ok 1 - paragraphs are turned into separate <p> blocks
|
5.34s |
100.0% |
|
t/markup/mediawiki/03-escaping.t
|
- 1..4
- ok 1 - <
- ok 2 - >
- ok 3 - &
- ok 4 - '
|
5.17s |
100.0% |
|
t/markup/mediawiki/02-normal-text.t
|
- 1..1
- ok 1 - normal text goes through unchanged
|
3.86s |
100.0% |
|
t/markup/mediawiki/09-line-breaks.t
|
- 1..2
- not ok 1 - <br/> line breaks work# TODO not yet implemented
- # got: <p>a<br/>b<br/>c</p>
- # expected: <p>a<br/>b<br/>c</p>
- not ok 2 - <br> line breaks work# TODO not yet implemented
- # got: <p>a<br>b<br>c</p>
- # expected: <p>a<br/>b<br/>c</p>
|
4.00s |
100.0% |
|
t/markup/mediawiki/05-headings.t
|
- 1..4
- ok 1 - mixing paragraphs and headings works
- ok 2 - really mixing paragraphs and headings works I
- ok 3 - really mixing paragraphs and headings works II
- ok 4 - really mixing paragraphs and headings works III
|
6.85s |
100.0% |
|
t/markup/mediawiki/27-entities.t
|
- 1..1
- ok 1 - — is handled
|
3.15s |
100.0% |
|
t/markup/mediawiki/13-numbered-lists.t
|
- 1..4
- ok 1 - an ordinary numbered list
- ok 2 - an empty line creates a new list
- ok 3 - text before and after without empty lines
- ok 4 - text before and after with empty lines
|
5.39s |
100.0% |
|
t/markup/mediawiki/01-use.t
|
- 1..1
- ok 1 - Text::Markup::Wiki::MediaWiki can be use:d
|
3.57s |
100.0% |
|
t/markup/mediawiki/15-mixed-lists.t
|
- 1..3
- not ok 1 - a list inside a list# TODO not implemented yet
- # got: <ul>
- <li>a</li>
- <li>* a1</li>
- <li>b</li>
- </ul>
- # expected: <ul>
- <li>a
- <ul>
- <li>a1</li>
- </ul>
- </li>
- <li>b</li>
- </ul>
- not ok 2 - a definition list inside a bullet list# TODO not implemented yet
- # got: <ul>
- <li>a</li>
- <li>; a1: a2</li>
- <li>b</li>
- </ul>
- # expected: <ul>
- <li>a
- <dl>
- <dt>a1</dt>
- <dd>a2</dd>
- </dl>
- </li>
- <li>b</li>
- </ul>
- not ok 3 - deep nesting# TODO not implemented yet
- # got: <ul>
- <li>:##; OH HAI</li>
- </ul>
- # expected: <ul>
- <li>
- <dl>
- <dt>
- <ol>
- <li>
- <ol>
- <li>
- <dl>
- <dd>OH HAI</dd>
- </dl>
- </ol>
- </ol>
- </dl>
- </ul>
|
4.57s |
100.0% |
|
t/markup/mediawiki/14-definition-lists.t
|
- 1..5
- not ok 1 - an ordinary definition list# TODO not implemented yet
- # got: <p>; a: b ; c: d</p>
- # expected: <dl>
- <dt>a</dt>
- <dd>b</dd>
- <dt>b</dt>
- <dd>c</dt>
- </dl>
- not ok 2 - definition list, values are on separate lines# TODO not implemented yet
- # got: <p>; a : b ; c : d</p>
- # expected: <dl>
- <dt>a</dt>
- <dd>b</dd>
- <dt>b</dt>
- <dd>c</dt>
- </dl>
- not ok 3 - an empty line creates a new list# TODO not implemented yet
- # got: <p>; a</p>
- <p>: c</p>
- # expected: <dl>
- <dt>a</dt>
- </dl>
- <dl>
- <dd>c</dd>
- </dl>
- not ok 4 - text before and after without empty lines# TODO not implemented yet
- # got: <p>foo ; a : b bar</p>
- # expected: <p>foo</p>
- <dl>
- <dt>a</dt>
- <dd>b</dd>
- </dl>
- <p>bar</p>
- not ok 5 - text before and after with empty lines# TODO not implemented yet
- # got: <p>foo</p>
- <p>; a : b</p>
- <p>bar</p>
- # expected: <p>foo</p>
- <dl>
- <dt>a</dt>
- <dd>b</dd>
- </dl>
- <p>bar</p>
|
5.83s |
100.0% |
|
t/markup/mediawiki/06-links.t
|
- 1..10
- ok 1 - [[link]] conversion works
- ok 2 - [[ link ]] conversion works
- ok 3 - no link maker, no conversion
- ok 4 - malformed link I
- ok 5 - malformed link II
- ok 6 - malformed link III
- ok 7 - external link I
- ok 8 - external link I with whatespaces
- ok 9 - external link II
- ok 10 - no extlink maker, no conversion
|
9.22s |
100.0% |
|
t/markup/mediawiki/08-formatting-and-links.t
|
- 1..6
- not ok 1 - italic text in a link# TODO not yet implemented
- # got: <p>a[http://example.com b''c''d]e</p>
- # expected: <p>a<a href="http://example.com">b<i>c</i>d</a>e</p>
- not ok 2 - mismatched italic text in a link# TODO not yet implemented
- # got: <p>a[http://example.com b''c]d</p>
- # expected: <p>a<a href="http://example.com">b<i>c</i></a>d</p>
- not ok 3 - mismatched italic/bold text in a link# TODO not yet implemented
- # got: <p>a[http://example.com b''''c]d</p>
- # expected: <p>a<a href="http://example.com">b<i><b>c</b></i></a>d</p>
- not ok 4 - mismatched bold/italic text in a link# TODO not yet implemented
- # got: <p>a[http://example.com b'''c''d]e</p>
- # expected: <p>a<a href="http://example.com">b<b>c<i>d</i></b></a>e</p>
- not ok 5 - in-link italic markers ignored if italic already active outside I# TODO not yet implemented
- # got: <p>a<i>b[http://example.com c''d]e</i></p>
- # expected: <p>a<i>b<a href="http://example.com">cd</a>e</i></p>
- not ok 6 - in-link italic markers ignored if italic already active outside II# TODO not yet implemented
- # got: <p>a<i>b[http://example.com c''d''e]f</i></p>
- # expected: <p><p>a<i>b<a href="http://example.com">cde</a>f</i></p></p>
|
6.95s |
100.0% |
|
t/dispatcher/05-junctions.t
|
- 1..4
- ok 1 - Pattern with Junction (foo|bar) foo
- ok 2 - Pattern with Junction (foo|bar) bar
- ok 3 - Pattern with Junction (foo/a|b) a
- ok 4 - Pattern with Junction (foo/a|b) b
|
4.34s |
100.0% |
|
t/dispatcher/02-add_rules.t
|
- 1..5
- ok 1 - add list of rules, get the number added back
- ok 2 - Dispatch rule ['foo']
- ok 3 - Dispatch rule /\d+/
- ok 4 - Dispatch ['foo', 'bar']
- ok 5 - Dispatch ['boo']
|
5.72s |
100.0% |
|
t/dispatcher/03-whatever.t
|
- 1..5
- ok 1 - Pattern *
- ok 2 - Pattern */*
- ok 3 - Pattern foo/*
- ok 4 - Pattern foo/*/*
- ok 5 - Pattern foo/*/bar
|
5.96s |
100.0% |
|
t/dispatcher/06-set-param.t
|
- 1..4
- ok 1 - Pattern set controller
- ok 2 - Pattern set controller and action
- ok 3 - Test within Rule
- ok 4 - Pattern set controller and action
|
4.32s |
100.0% |
|
t/dispatcher/04-regex.t
|
- 1..6
- ok 1 - Pattern with regex w+, put Match in args
- ok 2 - Dispatch ['foo', '50'] to last matched Rule
- ok 3 - Pattern with regex \d, put Match in args
- ok 4 - Pattern with regexp in the middle (foo/\d+/bar)
- ok 5 - Pattern with two regexs
- ok 6 - Pattern with regexp and junction
|
6.37s |
100.0% |
|
t/dispatcher/01-basics.t
|
- 1..8
- ok 1 - We use Dispatcher and we are still alive
- ok 2 - We use Dispatcher::Rule and we are still alive
- ok 3 - .add adds only complete Rule objects
- ok 4 - Pattern ['']
- ok 5 - .add(@pattern, $code) -- shortcut for fast add Rule object
- ok 6 - Dispatcher return False if can`t find matched Rule and do not have default
- ok 7 - Dispatch to Rule ['foo', 'bar'])
- ok 8 - Dispatch to default, when have no matched Rule
|
4.86s |
100.0% |
|
t/impatience/test-is_deeply.t
|
- 1..14
- ok 1 - Two empty hashes
- ok 2 - Two empty Array
- ok 3 - Empty Array and empty Hash
- ok 4 - Plain Hash and empty Hash
- ok 5 - Plain Hash and empty Array
- ok 6 - Plain Array and empty Hash
- ok 7 - Plain Array and empty Array
- ok 8 - Two equal plain hashes
- ok 9 - Two not equal plain hashes
- ok 10 - Two not equal hashes
- ok 11 - Hash and Array
- ok 12 - Two equal hashes with two key
- ok 13 - Two not equal hashes with two key
- ok 14 - {key2 => ["val", undef]}
|
7.77s |
100.0% |
|
t/tags/update_tags.t
|
- 1..8
- ok 1 - Simple tag counting
- ok 2 - Simple tag indexing
- ok 3 - Tag count after addition and removal
- ok 4 - Tag index after add and remove
- ok 5 - Tag count after adding another page
- ok 6 - Tags index after adding another page
- ok 7 - Tag count after saving a page without changes
- ok 8 - Tag index after save page without changes
|
16.03s |
100.0% |
|
t/tags/norm.t
|
- 1..1
- ok 1 - Normalize: [2, 5, 6, 14]
|
4.99s |
100.0% |
|
t/tags/norm_counts.t
|
- 1..3
- ok 1 - With empty tags_count norm_counts produce empty Hash
- ok 2 - Normalize all from: {"foo" => 5, "bar" => 5, "baz" => 2, "her" => 1}
- ok 3 - Normalize foo and baz from: {"foo" => 5, "bar" => 5, "baz" => 2, "her" => 1}
|
6.66s |
100.0% |
|
t/tags/parser.t
|
- 1..11
- ok 1 - Parse tags: "foo"
- ok 2 - Parse tags: "foo,bar"
- ok 3 - Parse tags: "foo, bar"
- ok 4 - Parse tags: "foo, bar ,her"
- ok 5 - Parse tags: "foo\n"
- ok 6 - Parse tags: "foo , bar , her"
- ok 7 - Parse tags: "Foo"
- ok 8 - Parse tags: "foo, BAR"
- ok 9 - Parse tags: "foo, foo, bar, bar, bar"
- ok 10 - Parse tags: "foo, bar."
- ok 11 - Parse tags: "foo. bar. Perl 6"
|
6.74s |
100.0% |
|
t/utils/get_period.t
|
- 1..9
- ok 1 - Return 0 days when period < 24 hour
- ok 2 - Return 0 hour when period < hour
- ok 3 - Return 2 min when period 121 sec
- ok 4 - Return 0 days when period < 24 hour
- ok 5 - Return 1 hour when period > 1 hour (5501)
- ok 6 - Return 3 min when period 5501 sec
- ok 7 - Return number of days
- ok 8 - Return hours
- ok 9 - Return mins
|
4.87s |
100.0% |
|
t/utils/r_remove.t
|
- 1..2
- ok 1 - r_remove do nothing with string without \r
- ok 2 - r_remove remove \r
|
3.59s |
100.0% |
|
t/storage/modification.t
|
- 1..5
- ok 1 - write_modification returns an id
- ok 2 - read modification data -- Page
- ok 3 - read modification data -- Text
- ok 4 - read modification data -- Author
- ok 5 - read time, and it <= now
|
5.33s |
100.0% |
|
t/storage/save_page.t
|
- 1..1
- ok 1 - Read clear index
|
4.66s |
100.0% |
|
t/storage/index.t
|
- 1..4
- ok 1 - Read clear index
- ok 2 - Add to index one page
- ok 3 - Add to index another page
- ok 4 - Do not add to index page doubble
|
6.53s |
100.0% |