From cc452998dc1af441cf3f9c5d0c7287cb5de48c4a Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sat, 30 May 2009 22:29:56 -0400 Subject: Initial implementation of nose testing. Still some cleanup to do, but this shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like. --- tests/extensions-x-footnotes/test.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/extensions-x-footnotes/test.cfg (limited to 'tests/extensions-x-footnotes') diff --git a/tests/extensions-x-footnotes/test.cfg b/tests/extensions-x-footnotes/test.cfg new file mode 100644 index 0000000..a5f0818 --- /dev/null +++ b/tests/extensions-x-footnotes/test.cfg @@ -0,0 +1,2 @@ +[DEFAULT] +extensions=footnotes -- cgit v1.2.3 From 8b430d251b2518fa3303d7027f50268e0254b7a1 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sat, 30 May 2009 22:31:55 -0400 Subject: Moves tests to a subdir of the markdown lib. --- tests/extensions-x-footnotes/footnote.html | 29 ------------------------- tests/extensions-x-footnotes/footnote.txt | 14 ------------ tests/extensions-x-footnotes/named_markers.html | 24 -------------------- tests/extensions-x-footnotes/named_markers.txt | 9 -------- tests/extensions-x-footnotes/test.cfg | 2 -- 5 files changed, 78 deletions(-) delete mode 100644 tests/extensions-x-footnotes/footnote.html delete mode 100644 tests/extensions-x-footnotes/footnote.txt delete mode 100644 tests/extensions-x-footnotes/named_markers.html delete mode 100644 tests/extensions-x-footnotes/named_markers.txt delete mode 100644 tests/extensions-x-footnotes/test.cfg (limited to 'tests/extensions-x-footnotes') diff --git a/tests/extensions-x-footnotes/footnote.html b/tests/extensions-x-footnotes/footnote.html deleted file mode 100644 index 6556dab..0000000 --- a/tests/extensions-x-footnotes/footnote.html +++ /dev/null @@ -1,29 +0,0 @@ -

This is the body with a footnote1 or two2 or more3 4.

-
-
-
    -
  1. -

    Footnote that ends with a list:

    -
      -
    • item 1
    • -
    • item 2
    • -
    -

    -
  2. -
  3. -
    -

    This footnote is a blockquote. -

    -
    -

    -
  4. -
  5. -

    A simple oneliner. - 

    -
  6. -
  7. -

    A footnote with multiple paragraphs.

    -

    Paragraph two. 

    -
  8. -
-
\ No newline at end of file diff --git a/tests/extensions-x-footnotes/footnote.txt b/tests/extensions-x-footnotes/footnote.txt deleted file mode 100644 index 07188d0..0000000 --- a/tests/extensions-x-footnotes/footnote.txt +++ /dev/null @@ -1,14 +0,0 @@ -This is the body with a footnote[^1] or two[^2] or more[^3] [^4]. - -[^1]: Footnote that ends with a list: - - * item 1 - * item 2 - -[^2]: > This footnote is a blockquote. - -[^3]: A simple oneliner. - -[^4]: A footnote with multiple paragraphs. - - Paragraph two. diff --git a/tests/extensions-x-footnotes/named_markers.html b/tests/extensions-x-footnotes/named_markers.html deleted file mode 100644 index 6996b5f..0000000 --- a/tests/extensions-x-footnotes/named_markers.html +++ /dev/null @@ -1,24 +0,0 @@ -

This is the body with footnotes1 -that have named2 markers and -oddly3 numbered4 markers.

-
-
-
    -
  1. -

    Footnote marked foo. - 

    -
  2. -
  3. -

    This one is marked bar. - 

    -
  4. -
  5. -

    A numbered footnote. - 

    -
  6. -
  7. -

    The last one. - 

    -
  8. -
-
\ No newline at end of file diff --git a/tests/extensions-x-footnotes/named_markers.txt b/tests/extensions-x-footnotes/named_markers.txt deleted file mode 100644 index d246524..0000000 --- a/tests/extensions-x-footnotes/named_markers.txt +++ /dev/null @@ -1,9 +0,0 @@ -This is the body with footnotes[^foo] -that have named[^bar] markers and -oddly[^56] numbered[^99] markers. - -[^foo]: Footnote marked ``foo``. -[^bar]: This one is marked *bar*. -[^56]: A __numbered__ footnote. -[^99]: The last one. - diff --git a/tests/extensions-x-footnotes/test.cfg b/tests/extensions-x-footnotes/test.cfg deleted file mode 100644 index a5f0818..0000000 --- a/tests/extensions-x-footnotes/test.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -extensions=footnotes -- cgit v1.2.3