Also replace for JUnit 5 in comments

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2020-12-30 21:39:56 +00:00
parent 0172ec3d50
commit 6a7003ff4f
5 changed files with 6 additions and 7 deletions

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;

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];

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

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();

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();