Browse Source

Fix URL for test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855155 13f79535-47bb-0310-9956-ffa450edef68
pull/143/head
Dominik Stadler 5 years ago
parent
commit
83381a8b11
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

+ 2
- 1
src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java View File

@@ -2932,7 +2932,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls");

// Get structure from webservice
String urlString = "http://poi.apache.org/resources/images/project-logo.jpg";
String urlString = "http://poi.apache.org/images/project-header.png";
URL structURL = new URL(urlString);
BufferedImage bimage;
try {
@@ -2978,6 +2978,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
assertEquals(CellType.FORMULA, cell.getCellType());
assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula());
assertEquals("", cell.getStringCellValue());
//noinspection deprecation
cell.setCellType(CellType.STRING);

assertEquals(CellType.BLANK, cell.getCellType());

Loading…
Cancel
Save