Enable some tests that are ignored, actually run green and did not have any comment why they were ignored in the first place
Fix some compiler warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c508d89b0
commit
b989e4f5a8
@ -355,7 +355,7 @@ public class TestXWPFWordExtractor extends TestCase {
|
||||
|
||||
for (String targ : targs) {
|
||||
boolean hit = false;
|
||||
if (s.indexOf(targ) > -1) {
|
||||
if (s.contains(targ)) {
|
||||
hit = true;
|
||||
hits++;
|
||||
}
|
||||
|
@ -28,7 +28,6 @@ import java.math.BigInteger;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.poi.xwpf.XWPFTestDataSamples;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture;
|
||||
import org.openxmlformats.schemas.drawingml.x2006.picture.PicDocument;
|
||||
@ -61,7 +60,6 @@ public final class TestXWPFParagraph {
|
||||
* @throws IOException
|
||||
*/
|
||||
@Test
|
||||
@Ignore
|
||||
public void testHeaderParagraph() throws IOException {
|
||||
XWPFDocument xml = XWPFTestDataSamples.openSampleDocument("ThreeColHead.docx");
|
||||
|
||||
@ -84,7 +82,6 @@ public final class TestXWPFParagraph {
|
||||
* @throws IOException
|
||||
*/
|
||||
@Test
|
||||
@Ignore
|
||||
public void testDocumentParagraph() throws IOException {
|
||||
XWPFDocument xml = XWPFTestDataSamples.openSampleDocument("ThreeColHead.docx");
|
||||
List<XWPFParagraph> ps = xml.getParagraphs();
|
||||
|
Loading…
Reference in New Issue
Block a user