poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1645922 - /poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java
Date Tue, 16 Dec 2014 11:18:21 GMT
Author: centic
Date: Tue Dec 16 11:18:21 2014
New Revision: 1645922

URL: http://svn.apache.org/r1645922
Log:
Bug 57355: Fix test-compilation casued by moving the code to the base-test-class

Modified:
    poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java

Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java?rev=1645922&r1=1645921&r2=1645922&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestPicture.java Tue Dec 16 11:18:21
2014
@@ -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);
    



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message