Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-184

Adding ODFDOM Wiki examples to tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • odfdom-0.8.7
    • odfdom-0.8.8
    • java
    • None
    • Operating System: All
      Platform: All
    • 297

    Description

      To guarantee that our ODFDOM wiki code examples are full functional, I have added them to org.odftoolkit.odfdom.dom.example.WikiExampleTest.

      Whenever the source of this class changes due to an API change, the developer/reviewer should make sure that the Wiki was update (perhaps with a source line comment how the last release used the example code).

      They are not being executed during test using @Ignore.

      Note:
      Two minor refactorings, I have moved the ignored style attribute validation from
      org.odftoolkit.odfdom.dom.example.AttrTest
      to
      org.odftoolkit.odfdom.dom.example.StyleExamplesTest

      and simplified a method in OdfPackage (please see diff).

      Attachments

        Activity

          People

            svanteschubert@odftoolkit.org Svante Schubert
            svanteschubert@odftoolkit.org Svante Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: