diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-10 01:42:30 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-10 01:42:30 +0000 |
commit | 834a7628d2b005d41ea0d1b1818e8908e96dd742 (patch) | |
tree | 4f5b0b1e763991ae9db22df08dfa50da5f4df936 /src/ooxml/testcases/org/apache/poi/xslf | |
parent | 9c358836b4efe0b575c37d198a9970c2cf3b1ea0 (diff) | |
download | poi-834a7628d2b005d41ea0d1b1818e8908e96dd742.tar.gz poi-834a7628d2b005d41ea0d1b1818e8908e96dd742.zip |
Sonar fixes
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xslf')
31 files changed, 31 insertions, 31 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java b/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java index 7dc7ed7876..307348f011 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java @@ -27,7 +27,7 @@ import org.apache.xmlbeans.XmlObject; import org.junit.jupiter.api.Test; // aim is to get these classes loaded and included in poi-ooxml-lite.jar -public class TestNecessaryOOXMLClasses { +class TestNecessaryOOXMLClasses { @Test void testProblemClasses() { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java index 0f27f9d56c..d4d44a836b 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java @@ -112,7 +112,7 @@ import org.junit.jupiter.api.function.ThrowingSupplier; import org.openxmlformats.schemas.drawingml.x2006.main.CTOuterShadowEffect; import org.openxmlformats.schemas.presentationml.x2006.main.CTShape; -public class TestXSLFBugs { +class TestXSLFBugs { private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance(); private static boolean xslfOnly; diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java index c15e5b7be9..1d948dc6ee 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java @@ -42,7 +42,7 @@ import org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListE import static org.junit.jupiter.api.Assertions.*; -public class TestXSLFSlideShow { +class TestXSLFSlideShow { private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance(); private OPCPackage pack; diff --git a/src/ooxml/testcases/org/apache/poi/xslf/extractor/TestXSLFPowerPointExtractor.java b/src/ooxml/testcases/org/apache/poi/xslf/extractor/TestXSLFPowerPointExtractor.java index 08fb36ac84..5e5f0ed4cb 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/extractor/TestXSLFPowerPointExtractor.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/extractor/TestXSLFPowerPointExtractor.java @@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test; /** * Tests for XSLFPowerPointExtractor */ -public class TestXSLFPowerPointExtractor { +class TestXSLFPowerPointExtractor { private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance(); /** diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java index b383faac23..4226b28095 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java @@ -41,7 +41,7 @@ import org.junit.jupiter.params.provider.MethodSource; * Test class for testing PPTX2PNG utility which renders .ppt and .pptx slideshows */ @SuppressWarnings("ConstantConditions") -public class TestPPTX2PNG { +class TestPPTX2PNG { private static boolean xslfOnly; private static final POIDataSamples samples = POIDataSamples.getSlideShowInstance(); private static final File basedir = null; diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXMLSlideShow.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXMLSlideShow.java index 6f6543d021..520f62fb04 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXMLSlideShow.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXMLSlideShow.java @@ -37,7 +37,7 @@ import org.openxmlformats.schemas.presentationml.x2006.main.CTNotesMasterIdListE import org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry; import org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry; -public class TestXMLSlideShow extends BaseTestSlideShow<XSLFShape, XSLFTextParagraph> { +class TestXMLSlideShow extends BaseTestSlideShow<XSLFShape, XSLFTextParagraph> { private OPCPackage pack; @Override diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java index 784f24dce1..330f6629e7 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFAutoShape.java @@ -36,7 +36,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties import org.openxmlformats.schemas.drawingml.x2006.main.STTextStrikeType; import org.openxmlformats.schemas.drawingml.x2006.main.STTextUnderlineType; -public class TestXSLFAutoShape { +class TestXSLFAutoShape { @Test void testTextBodyProperies() throws IOException { XMLSlideShow ppt = new XMLSlideShow(); diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFBackground.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFBackground.java index f2a48f6079..907a37a80d 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFBackground.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFBackground.java @@ -26,7 +26,7 @@ import java.io.IOException; import static org.junit.jupiter.api.Assertions.*; -public class TestXSLFBackground { +class TestXSLFBackground { @Test void testNoFillBackground() throws IOException { XMLSlideShow pptx = new XMLSlideShow(); diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFChart.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFChart.java index 000ab86438..c9608359bb 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFChart.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFChart.java @@ -61,7 +61,7 @@ import org.junit.jupiter.api.Test; /** * a modified version from POI-examples */ -public class TestXSLFChart { +class TestXSLFChart { @Test void testFillPieChartTemplate() throws IOException { XMLSlideShow pptx = XSLFTestDataSamples.openSampleDocument("pie-chart.pptx"); diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFColor.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFColor.java index b73cbc11ec..a872ecca1b 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFColor.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFColor.java @@ -32,7 +32,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.STPresetColorVal; import org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal; import org.openxmlformats.schemas.drawingml.x2006.main.STSystemColorVal; -public class TestXSLFColor { +class TestXSLFColor { @Test void testGetters() { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFConnectorShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFConnectorShape.java index 5b6d5eee9e..d7afa7ef0b 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFConnectorShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFConnectorShape.java @@ -38,7 +38,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.STLineEndWidth; import org.openxmlformats.schemas.drawingml.x2006.main.STShapeType; import org.openxmlformats.schemas.presentationml.x2006.main.CTConnector; -public class TestXSLFConnectorShape { +class TestXSLFConnectorShape { @Test void testLineDecorations() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java index 04ecad53ce..02640c0efe 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java @@ -55,7 +55,7 @@ import org.openxmlformats.schemas.presentationml.x2006.main.STTLTimeNodeType; * Reimplement and test examples classes so the necessary XmlBeans schema objects are included * in the lite schema */ -public class TestXSLFExamples { +class TestXSLFExamples { @Test void LinkVideoToPptx() throws IOException, URISyntaxException { String videoFileName = "file_example_MP4_640_3MG.mp4"; diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFFreeformShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFFreeformShape.java index 3972041508..6f57d11790 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFFreeformShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFFreeformShape.java @@ -36,7 +36,7 @@ import java.io.IOException; import static org.apache.poi.xslf.usermodel.TestXSLFSimpleShape.getSpPr; import static org.junit.jupiter.api.Assertions.assertEquals; -public class TestXSLFFreeformShape { +class TestXSLFFreeformShape { @Test void testSetPath() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFGroupShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFGroupShape.java index ae0be875d6..547da5f71c 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFGroupShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFGroupShape.java @@ -26,7 +26,7 @@ import java.awt.geom.Rectangle2D; import org.apache.poi.xslf.XSLFTestDataSamples; import org.junit.jupiter.api.Test; -public class TestXSLFGroupShape { +class TestXSLFGroupShape { @Test void testCreateShapes() throws Exception { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java index 4162690a71..90fcf71568 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFHyperlink.java @@ -30,7 +30,7 @@ import org.apache.poi.openxml4j.opc.TargetMode; import org.apache.poi.xslf.XSLFTestDataSamples; import org.junit.jupiter.api.Test; -public class TestXSLFHyperlink { +class TestXSLFHyperlink { @Test void testRead() throws IOException{ diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFNotes.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFNotes.java index dec1101951..9b5efa3cf2 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFNotes.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFNotes.java @@ -26,7 +26,7 @@ import org.apache.poi.sl.usermodel.Placeholder; import org.apache.poi.xslf.XSLFTestDataSamples; import org.junit.jupiter.api.Test; -public class TestXSLFNotes { +class TestXSLFNotes { @Test void createNewNote() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFPictureShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFPictureShape.java index 4d0c05b1b6..b4bd226083 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFPictureShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFPictureShape.java @@ -45,7 +45,7 @@ import org.apache.poi.xslf.util.PPTX2PNG; import org.junit.jupiter.api.Test; import org.openxmlformats.schemas.presentationml.x2006.main.CTPicture; -public class TestXSLFPictureShape { +class TestXSLFPictureShape { private static POIDataSamples _slTests = POIDataSamples.getSlideShowInstance(); @Test diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShape.java index a426640c74..116eddac13 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShape.java @@ -27,7 +27,7 @@ import org.apache.poi.xslf.XSLFTestDataSamples; import org.junit.jupiter.api.Test; import org.openxmlformats.schemas.drawingml.x2006.main.STTextUnderlineType; -public class TestXSLFShape { +class TestXSLFShape { @Test void testReadTextShapes() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShapeContainer.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShapeContainer.java index a7b2f494d5..2f5b57161f 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShapeContainer.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFShapeContainer.java @@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test; /** * test common operations on containers of shapes (sheets and groups of shapes) */ -public class TestXSLFShapeContainer { +class TestXSLFShapeContainer { void verifyContainer(XSLFShapeContainer container) { container.clear(); diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSheet.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSheet.java index f7526f1bb0..cd467554e3 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSheet.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSheet.java @@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test; * * @author Yegor Kozlov */ -public class TestXSLFSheet { +class TestXSLFSheet { @Test void testCreateShapes() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java index 4b2f777abe..c25e822538 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java @@ -47,7 +47,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.STLineCap; import org.openxmlformats.schemas.drawingml.x2006.main.STPresetLineDashVal; import org.openxmlformats.schemas.drawingml.x2006.main.STShapeType; -public class TestXSLFSimpleShape { +class TestXSLFSimpleShape { @Test void testLineStyles() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlide.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlide.java index 08e5ae9262..3b83355369 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlide.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlide.java @@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test; /** * @author Yegor Kozlov */ -public class TestXSLFSlide { +class TestXSLFSlide { @Test void testReadShapes() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlideShow.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlideShow.java index 9e6d00e2af..7e47a24b0a 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlideShow.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlideShow.java @@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test; /** * @author Yegor Kozlov */ -public class TestXSLFSlideShow { +class TestXSLFSlideShow { @Test void testCreateSlide() throws IOException { XMLSlideShow ppt = new XMLSlideShow(); diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java index a9c7e2220a..cbbe738406 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java @@ -47,7 +47,7 @@ import org.junit.jupiter.api.Test; import org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell; import org.openxmlformats.schemas.presentationml.x2006.main.CTGraphicalObjectFrame; -public class TestXSLFTable { +class TestXSLFTable { @Test void testResize() throws Exception { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableRow.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableRow.java index 3e9b817052..4c1109e519 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableRow.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableRow.java @@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test; import org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell; import org.openxmlformats.schemas.drawingml.x2006.main.CTTableRow; -public class TestXSLFTableRow { +class TestXSLFTableRow { private static XMLSlideShow ppt; private static XSLFTable tbl; diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableStyles.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableStyles.java index eda61ee6d2..f1232de7cd 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableStyles.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTableStyles.java @@ -23,7 +23,7 @@ import java.io.IOException; import org.junit.jupiter.api.Test; -public class TestXSLFTableStyles { +class TestXSLFTableStyles { @Test void testRead() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextBox.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextBox.java index 44969a3026..04fa9551d1 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextBox.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextBox.java @@ -28,7 +28,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties /** * @author Yegor Kozlov */ -public class TestXSLFTextBox { +class TestXSLFTextBox { @Test void testPlaceholder() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java index d6d200871c..d848ed8e65 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java @@ -41,7 +41,7 @@ import org.junit.jupiter.api.Test; /** * @author Yegor Kozlov */ -public class TestXSLFTextParagraph { +class TestXSLFTextParagraph { // private static POILogger _logger = POILogFactory.getLogger(XSLFTextParagraph.class); static class DrawTextParagraphProxy extends DrawTextParagraph { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextRun.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextRun.java index ae4ab6ceb1..783e8abe4d 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextRun.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextRun.java @@ -39,7 +39,7 @@ import org.openxmlformats.schemas.presentationml.x2006.main.CTShape; /** * @author Yegor Kozlov */ -public class TestXSLFTextRun { +class TestXSLFTextRun { @Test void testRunProperties() throws IOException { diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextShape.java index 6d455e7484..372e0216f4 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextShape.java @@ -52,7 +52,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.STTextAlignType; import org.openxmlformats.schemas.presentationml.x2006.main.CTPlaceholder; import org.openxmlformats.schemas.presentationml.x2006.main.STPlaceholderType; -public class TestXSLFTextShape { +class TestXSLFTextShape { private static boolean xslfOnly; @BeforeAll diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTheme.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTheme.java index 2fbeceb0ba..54f66f6b8b 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTheme.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTheme.java @@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test; * * @author Yegor Kozlov */ -public class TestXSLFTheme { +class TestXSLFTheme { @Test void testRead(){ XMLSlideShow ppt = XSLFTestDataSamples.openSampleDocument("themes.pptx"); |