You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ahmet Celik (JIRA)" <ji...@apache.org> on 2016/08/16 04:59:22 UTC

[jira] [Comment Edited] (CONFIGURATION-638) After a few unit tests, a few newly created directories not cleaned completely.

    [ https://issues.apache.org/jira/browse/CONFIGURATION-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422162#comment-15422162 ] 

Ahmet Celik edited comment on CONFIGURATION-638 at 8/16/16 4:58 AM:
--------------------------------------------------------------------

Here I attached patch file which adds after method for JUnit test classes to clean those folders and files.


was (Author: ahmetcelik):
Here I attached patch file which adds after method JUnit test classes to clean those folders and files.

> 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
>
>   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)