diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-02-20 21:31:48 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-02-20 21:31:48 +0000 |
| commit | e38ff0294caff75c070ff48a3c5367eb74a532cc (patch) | |
| tree | 6bc6500641003395ffb063e71a1f14b7ad131dd9 /test/functional | |
| parent | aee7249b1362bfda8e375f8419db0d7e66d7dcd5 (diff) | |
| download | docutils-e38ff0294caff75c070ff48a3c5367eb74a532cc.tar.gz | |
note that references with embedded target URIs have been referenced (implicitly); enable INFO-level system messages in pseudo-XML functional test
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7363 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/functional')
| -rw-r--r-- | test/functional/expected/standalone_rst_pseudoxml.txt | 33 | ||||
| -rw-r--r-- | test/functional/tests/standalone_rst_pseudoxml.py | 4 |
2 files changed, 37 insertions, 0 deletions
diff --git a/test/functional/expected/standalone_rst_pseudoxml.txt b/test/functional/expected/standalone_rst_pseudoxml.txt index 2170de860..f571c34e0 100644 --- a/test/functional/expected/standalone_rst_pseudoxml.txt +++ b/test/functional/expected/standalone_rst_pseudoxml.txt @@ -616,6 +616,9 @@ <list_item> <paragraph> Four + <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Enumerated list start value not ordinal-1: "3" (ordinal 3) <enumerated_list enumtype="upperalpha" prefix="" start="3" suffix="."> <list_item> <paragraph> @@ -623,6 +626,9 @@ <list_item> <paragraph> D + <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Enumerated list start value not ordinal-1: "C" (ordinal 3) <enumerated_list enumtype="lowerroman" prefix="" start="3" suffix="."> <list_item> <paragraph> @@ -630,6 +636,9 @@ <list_item> <paragraph> iv + <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Enumerated list start value not ordinal-1: "iii" (ordinal 3) <section ids="definition-lists" names="definition\ lists"> <title auto="1" refid="id43"> <generated classes="sectnum"> @@ -1123,6 +1132,9 @@ <generated classes="sectnum"> 2.13.2 Duplicate Target Names + <system_message backrefs="id21" level="1" line="438" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Duplicate implicit target name: "duplicate target names". <paragraph> Since there are two "Duplicate Target Names" section headers, we cannot uniquely refer to either of them by name. If we try to (like @@ -2044,3 +2056,24 @@ <system_message backrefs="id90" ids="id89" level="3" line="440" source="functional/input/data/standard.txt" type="ERROR"> <paragraph> Duplicate target name, cannot be used as a unique reference: "duplicate target names". + <system_message level="1" line="163" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "target" is not referenced. + <system_message level="1" line="405" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "another-target" is not referenced. + <system_message level="1" line="473" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "image-target-1" is not referenced. + <system_message level="1" line="474" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "image-target-2" is not referenced. + <system_message level="1" line="475" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "image-target-3" is not referenced. + <system_message level="1" line="632" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "docutils" is not referenced. + <system_message level="1" line="753" source="functional/input/data/standard.txt" type="INFO"> + <paragraph> + Hyperlink target "hyperlink targets" is not referenced. diff --git a/test/functional/tests/standalone_rst_pseudoxml.py b/test/functional/tests/standalone_rst_pseudoxml.py index 7f9b06f04..4e4821b0c 100644 --- a/test/functional/tests/standalone_rst_pseudoxml.py +++ b/test/functional/tests/standalone_rst_pseudoxml.py @@ -6,3 +6,7 @@ test_destination = "standalone_rst_pseudoxml.txt" # Keyword parameters passed to publish_file. writer_name = "pseudoxml" + +# Settings +# enable INFO-level system messages in this test: +settings_overrides['report_level'] = 1 |
