commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Celik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONFIGURATION-638) After a few unit tests, a few newly created directories not cleaned completely.
Date Mon, 22 Aug 2016 05:52:20 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ahmet Celik updated CONFIGURATION-638:
--------------------------------------
    Attachment: config.patch

I changed tests to use  {{TemporaryFolder}} with {{@Rule}} annotation like in some newer tests.


> After a few unit tests, a few newly created directories not cleaned completely.
> -------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-638
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-638
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: Ahmet Celik
>            Priority: Minor
>         Attachments: cleaning.patch, config.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message