]> source.dussan.org Git - poi.git/commitdiff
Add a disabled test to run one single file from the stress-test-documents
authorDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:18 +0000 (15:12 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:18 +0000 (15:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889202 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/ooxml/TestTriggerCoverage.java

index 7745125ea4aef8d4f9b9e85bc39cc00a91cbb828..8b894f358e3e5f8811d1e86363e0fb6555466f6a 100644 (file)
@@ -30,6 +30,8 @@ import org.apache.poi.xslf.usermodel.XMLSlideShow;
 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
 import org.apache.poi.xwpf.usermodel.XWPFDocument;
 import org.junit.jupiter.api.Assumptions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.Arguments;
 import org.junit.jupiter.params.provider.MethodSource;
@@ -164,4 +166,10 @@ class TestTriggerCoverage {
             img.flush();
         }
     }
+
+    @Disabled("Only used for running a single file")
+    @Test
+    public void test() throws Exception {
+        testFile(new File("test-data/integration/stress025.docx"));
+    }
 }