Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-638

After a few unit tests, a few newly created directories not cleaned completely.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • None

    Description

      After a few unit tests, created folders and files are not deleted. It's a bad practice in software engineering, because disk shouldn't be polluted.

      After execution of the test class 'org.apache.commons.configuration2.TestDynamicCombinedConfiguration' , 'target/test-classes/testwrite' folder isn't deleted recursively.
      After execution of the test class 'org.apache.commons.configuration2.TestPropertiesConfiguration', 'target/sharp#1.properties' and 'target/testsave-custom-url.properties' files aren't deleted.
      After execution of the class 'org.apache.commons.configuration2.TestXMLConfiguration', 'target/testsample2.xml' file isn't deleted.

      Attachments

        1. cleaning.patch
          3 kB
          Ahmet Celik
        2. config.patch
          7 kB
          Ahmet Celik

        Activity

          People

            Unassigned Unassigned
            ahmetcelik Ahmet Celik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified