Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1986

[PATCH] Build.xml simplification and JUnit regex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 1.0
    • None
    • unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 52136

    Description

      This patch changes the build.xml file to reduce some of the code-duplication. It also introduces a regex for finding the Junit test files, the reason I've done this is because some of the tests were being ignored because they didn't appear in a TestSuite. I also think the output produced by junit on the command line more readable.

      However, in order to use a regex (**/*TestCase.java), this means that any class in the test file that isn't intended to run (helper files or abstract classes) cannot be called *TestCase.java. I think that's a fairly well established tradition.

      Attachments

        1. junit-regex.patch
          324 kB
          Mehdi Houshmand

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            med1985@gmail.com Mehdi Houshmand
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: