SF.net SVN: docutils:[9739 ] trunk/docutils/test/funct ional/tests/standalone_xml_x ml.py

milde--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9739
          http://sourceforge.net/p/docutils/code/9739
Author:   milde
Date:     2024-06-06 14:02:27 +0000 (Thu, 06 Jun 2024)
Log Message:
-----------
xml-parser: Add functional test (round-trip)

Test the XML parser with the output of the XML writer.
Goal is a round-trip without changes (under reasonable conditions).

Work in progress, still fails.

Added Paths:
-----------
    trunk/docutils/test/functional/tests/standalone_xml_xml.py

Added: trunk/docutils/test/functional/tests/standalone_xml_xml.py
===================================================================
--- trunk/docutils/test/functional/tests/standalone_xml_xml.py	                        (rev 0)
+++ trunk/docutils/test/functional/tests/standalone_xml_xml.py	2024-06-06 14:02:27 UTC (rev 9739)
@@ -0,0 +1,13 @@
+# Test the Docutils XML parser
+#
+# Source is the output sample of the XML writer test.
+# We expect a round-trip without changes.
+
+# Source and destination file names
+test_source = '../expected/standalone_rst_docutils_xml.xml'
+test_destination = 'standalone_rst_docutils_xml.xml'
+
+# Keyword parameters passed to publish_file()
+parser_name = 'xml'
+writer_name = 'xml'
+settings_overrides = {'indents': True}


Property changes on: trunk/docutils/test/functional/tests/standalone_xml_xml.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.