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. 
 -Vincent
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs