Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-115

Migrated tests to JUnit4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • None
    • None
    • Revision: 1225816

    Description

      I migrated all plain tests to JUnit4-style and removed some typos or minor errors.

      • Needed to adapt 2 Junit4 tests that failed when building the whole project with
        Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
        Maven home: /home/me/software/maven
        Java version: 1.7.0_02, vendor: Oracle Corporation. The subproject apache-rat-core built fine but errors appeared when mvn clean install ran from the top directory.
      • replaced loops with JDK5 syntax
      • tests of static methods need no object instantiations

      Attachments

        1. RAT115-migrateToJunit4
          83 kB
          Philipp Ottlinger

        Activity

          People

            robertburrelldonkin Robert Burrell Donkin
            pottlinger Philipp Ottlinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified