Hi,

> May be override the tearDown() method and cleanup the file? But I'm
> > not sure
> > if this is possible with the way rendering tests are done.
>
> No, no.
>
> There are 2 options:
> - Best: Do not create an image. Just verify that jfreechart is called
> and verify where it would create the image . To be done with some mocks.
> - Not as good: pass the location from the pom.xml. Actually it's
> already passed by surefire so you just need to retrieve it as a system
> property.


Fixed by using "java.io.tmpdir" system property.

Thanks.

- Asiri


>
>
> -Vincent
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to