Browse Source

Also replace for JUnit 5 in comments

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884956 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_0_0
Dominik Stadler 3 years ago
parent
commit
6a7003ff4f

+ 0
- 1
src/ooxml/testcases/org/apache/poi/ss/tests/TestWorkbookFactory.java View File

@@ -22,7 +22,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

import java.io.ByteArrayInputStream;
import java.io.File;

+ 2
- 2
src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java View File

@@ -60,7 +60,7 @@ public class TestHemfPicture {

/*
@Test
@Ignore("Only for manual tests")
@Disabled("Only for manual tests")
public void paintSingle() throws Exception {
File fileIn = new File("tmp/emfs/govdocs1/844/844795.ppt_2.emf");

@@ -82,7 +82,7 @@ public class TestHemfPicture {

/*
@Test
@Ignore("Only for manual tests - need to add org.tukaani:xz:1.8 for this to work")
@Disabled("Only for manual tests - need to add org.tukaani:xz:1.8 for this to work")
public void paintMultiple() throws Exception {
Pattern fileExt = Pattern.compile("(?i)^(.+/)*(.+)\\.(emf|wmf)$");
final byte[] buf = new byte[50_000_000];

+ 1
- 1
src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestFontRendering.java View File

@@ -51,7 +51,7 @@ import org.junit.jupiter.api.Test;
public class TestFontRendering {
private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance();

// @Ignore2("This fails on some systems because fonts are rendered slightly different")
// @Disabled2("This fails on some systems because fonts are rendered slightly different")
@Test
public void bug55902mixedFontWithChineseCharacters() throws IOException, FontFormatException {
// font files need to be downloaded first via

+ 1
- 1
src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java View File

@@ -64,7 +64,7 @@ public class TestBiffViewer extends BaseTestIteratingXLS {
}

// @Test
// @Ignore("only used for manual tests")
// @Disabled("only used for manual tests")
// @SuppressWarnings("java:S2699")
// public void testOneFile() throws Exception {
// POIDataSamples samples = POIDataSamples.getSpreadSheetInstance();

+ 2
- 2
src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java View File

@@ -297,7 +297,7 @@ public abstract class BaseTestSheetShiftRows {
wb.close();
}

//@Ignore("bug 56454: Incorrectly handles merged regions that do not contain column 0")
//@Disabled("bug 56454: Incorrectly handles merged regions that do not contain column 0")
@Test
public final void shiftWithMergedRegions_bug56454() throws IOException {
Workbook wb = _testDataProvider.createWorkbook();
@@ -597,7 +597,7 @@ public abstract class BaseTestSheetShiftRows {
read.close();
}

//@Ignore("bug 56454: Incorrectly handles merged regions that do not contain column 0")
//@Disabled("bug 56454: Incorrectly handles merged regions that do not contain column 0")
@Test
public void shiftRowsWithMergedRegionsThatDoNotContainColumnZero() throws IOException {
Workbook wb = _testDataProvider.createWorkbook();

Loading…
Cancel
Save