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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      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. config.patch
          7 kB
          Ahmet Celik
        2. cleaning.patch
          3 kB
          Ahmet Celik

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              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