[Xmlgraphics-fop Wiki] Update of "HowToCreateLayoutEngine Tests" by MatthiasReischenbacher
Apache Wiki <[email protected]>
| Newsgroups | gmane.text.xml.fop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.
The "HowToCreateLayoutEngineTests" page has been changed by MatthiasReischenbacher:
https://wiki.apache.org/xmlgraphics-fop/HowToCreateLayoutEngineTests?action=diff&rev1=14&rev2=15
* {{{-Dxfop.layoutengine.single=inline_border_padding_block_nested_1.xml}}}
+ === Run layout tests with Maven ===
+
+ * Open command line inside {{{fop-core}}} module folder
+ * Execute the following command: {{{mvn test:surefire -Dtest=LayoutEngineTestSuite}}}
+ * or execute only a single test: {{{mvn test:surefire -Dtest=LayoutEngineTestSuite -Dfop.layoutengine.single=inline_border_padding_block_nested_1.xml}}}
+
- How does it work?
+ == How does it work? ==
The tests are basically XML files with a predefined structure. Here's the raw structure: