import org.apache.poi.sl.usermodel.PictureData.PictureType;
import org.apache.poi.sl.usermodel.Slide;
import org.apache.poi.sl.usermodel.SlideShow;
+import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
public final class TestPicture {
private static POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
+ @BeforeClass
+ public static void disableImageIOCache() {
+ ImageIO.setUseCache(false);
+ }
+
/**
* Test that the reference count of a blip is incremented every time the picture is inserted.
* This is important when the same image appears multiple times in a slide show.