#283 refactoring unit test for builtin methods

Refactored the unit tests for builtin methods in its own mappers.
Fixed one superfluous import (Date in StringToXmlGregorianCalendar).
Yes.. That would certainly be handy :smile: .. 



On 19 aug. 2014, at 19:33, Andreas Gudian <notifications@github.com> wrote:

> In processor/src/test/java/org/mapstruct/ap/testutil/runner/CompilingStatement.java:
> 
> > @@ -343,18 +343,18 @@ private void createOutputDirs() {
> >      }
> >  
> >      private void deleteDirectory(File path) {
> > -        if ( path.exists() ) {
> > -            File[] files = path.listFiles();
> > -            for ( int i = 0; i < files.length; i++ ) {
> > -                if ( files[i].isDirectory() ) {
> > -                    deleteDirectory( files[i] );
> > -                }
> > -                else {
> > -                    files[i].delete();
> > -                }
> > -            }
> > -        }
> > -        path.delete();
> > +//        if ( path.exists() ) {
> Next time, maybe just add a VM Argument that you can use when launching the tests in your IDE... 
> 
> —
> Reply to this email directly or view it on GitHub.
>