From 6449c03a531eed581d93882c88e2ad317f4a05cd Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 30 Jan 2021 18:42:08 +0000 Subject: Adjust integration-test slightly for running mass-regression-tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886062 13f79535-47bb-0310-9956-ffa450edef68 --- src/integrationtest/org/apache/poi/stress/BaseIntegrationTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/integrationtest/org/apache/poi/stress/BaseIntegrationTest.java b/src/integrationtest/org/apache/poi/stress/BaseIntegrationTest.java index 32049f11e8..5d63d1f5a1 100644 --- a/src/integrationtest/org/apache/poi/stress/BaseIntegrationTest.java +++ b/src/integrationtest/org/apache/poi/stress/BaseIntegrationTest.java @@ -29,7 +29,6 @@ import java.util.zip.ZipException; import org.apache.poi.EncryptedDocumentException; import org.apache.poi.OldFileFormatException; import org.apache.poi.poifs.filesystem.OfficeXmlFileException; -import org.junit.jupiter.api.Test; /** * This class is used for mass-regression testing via a @@ -49,7 +48,10 @@ public class BaseIntegrationTest { this.handler = handler; } - void test() throws Exception { + /** + * Keep this public so it can be used by the regression-tests + */ + public void test() throws Exception { assertNotNull( handler, "Unknown file extension for file: " + file ); testOneFile(new File(rootDir, file)); } -- cgit v1.2.3