Bug 57355: Fix test-compilation casued by moving the code to the base-test-class

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2014-12-16 11:18:21 +00:00
parent 51308cd422
commit 6168a7999c

View File

@ -28,10 +28,10 @@ import java.io.IOException;
import javax.imageio.ImageIO;
import org.apache.poi.hssf.HSSFITestDataProvider;
import org.apache.poi.ss.ITestDataProvider;
import org.apache.poi.ss.util.ImageUtils;
import org.apache.poi.util.Units;
import org.apache.poi.xssf.XSSFITestDataProvider;
import org.junit.Test;
/**
@ -108,7 +108,7 @@ public abstract class BaseTestPicture {
Drawing drawing = sheet.createDrawingPatriarch();
CreationHelper createHelper = wb.getCreationHelper();
final byte[] bytes = XSSFITestDataProvider.instance.getTestDataFileContent("logoKarmokar4.png");
final byte[] bytes = HSSFITestDataProvider.instance.getTestDataFileContent("logoKarmokar4.png");
row.setHeightInPoints(getImageSize(bytes).y);