You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/01/09 15:49:37 UTC
svn commit: r1885302 [1/4] - in /poi/trunk/src:
multimodule/scratchpad/test9/ scratchpad/testcases/org/apache/poi/hdgf/
scratchpad/testcases/org/apache/poi/hdgf/chunks/
scratchpad/testcases/org/apache/poi/hdgf/extractor/
scratchpad/testcases/org/apache...
Author: kiwiwings
Date: Sat Jan 9 15:49:35 2021
New Revision: 1885302
URL: http://svn.apache.org/viewvc?rev=1885302&view=rev
Log:
Sonar fixes
JUnit5 test classes and methods should have default package visibility
Modified:
poi/trunk/src/multimodule/scratchpad/test9/module-info.class
poi/trunk/src/multimodule/scratchpad/test9/module-info.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFLZW.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/chunks/TestChunks.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/pointers/TestPointerFactory.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBasics.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestAttachments.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestBugs.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestCompressedRTF.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestHMEFMessage.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestTNEFAttributes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/TestHPBFDocument.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestEscherParts.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestPOIDocumentScratchpad.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWrite.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestRecordCounts.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/BasePPTIteratingTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPDrawingTextListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPTXMLDump.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTTextListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideAndNotesAtomListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideIdListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowDumper.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestTextStyleListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestCruddyExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestFreeform.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHeadersFooters.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestHyperlink.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestLine.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestMovieShape.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestOleEmbedding.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestPPFont.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSetBoldItalic.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestShapes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSheet.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlideChangeNotes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlideMaster.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlides.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestTextRunReWrite.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestAnimationInfoAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestCString.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestColorSchemeAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000Atom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocument.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocumentAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExControl.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExHyperlink.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExHyperlinkAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExMediaAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExObjList.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExObjListAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExOleObjAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExOleObjStg.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestExVideoContainer.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestFontCollection.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestHeadersFootersAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestHeadersFootersContainer.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestInteractiveInfo.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestInteractiveInfoAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestNotesAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordContainer.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestRecordTypes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestSlideAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestSlidePersistAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestSound.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestStyleTextPropAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTextBytesAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTextCharsAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTextHeaderAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTextRulerAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTextSpecInfoAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxInteractiveInfoAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestUserEditAtom.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestCounts.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestHSLFSlideShowFactory.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestMostRecentRecords.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestNotesText.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestNumberedList.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestNumberedList2.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestNumberedList3.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestReOrderingSlides.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRecordSetup.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSheetText.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSlideOrdering.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSoundData.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestTextRun.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/util/TestSystemTimeUtils.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/Test7BitCodepage.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestBlankFileRead.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestExtractEmbeddedMSG.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestFileWithAttachmentsRead.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestFixedSizedProperties.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestMessageSubmissionChunk.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestMessageSubmissionChunkY2KRead.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestNameIdChunks.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestOutlook30FileRead.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/TestSimpleFileRead.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/datatypes/TestChunkData.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/datatypes/TestMAPIProperty.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/datatypes/TestSorters.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/datatypes/TestTypes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/extractor/TestOutlookTextExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/parsers/TestPOIFSChunkParser.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/converter/TestExcelConverterSuite.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwmf/TestHwmfParsing.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/TestFieldsTables.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFRangeParts.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/AbstractWordUtilsTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestNumberFormatter.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToTextConverter.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/PlfLfoTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestBookmarksTables.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestCHPBinTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFileInformationBlock.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestFontTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestListTables.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestNotesTables.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPAPBinTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPlexOfCps.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestRevisionMarkAuthorTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSavedByTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSectionTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestStyleSheet.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestTextPieceTable.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/types/LFOLVLBaseAbstractTypeTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/types/LVLFAbstractTypeTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/sprm/TableSprmUncompressorTest.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/sprm/TestSprms.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBorderCode.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBug46610.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBug47563.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBug49820.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBug50075.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHeaderStories.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestLists.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestOfficeDrawings.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestPictures.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeDelete.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeInsertion.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeProperties.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeReplacement.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeSymbols.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestTableRow.java
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/util/TestLittleEndianCP950Reader.java
Modified: poi/trunk/src/multimodule/scratchpad/test9/module-info.class
URL: http://svn.apache.org/viewvc/poi/trunk/src/multimodule/scratchpad/test9/module-info.class?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
Binary files - no diff available.
Modified: poi/trunk/src/multimodule/scratchpad/test9/module-info.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/multimodule/scratchpad/test9/module-info.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/multimodule/scratchpad/test9/module-info.java (original)
+++ poi/trunk/src/multimodule/scratchpad/test9/module-info.java Sat Jan 9 15:49:35 2021
@@ -85,6 +85,59 @@ module org.apache.poi.scratchpad {
exports org.apache.poi.hwmf to org.junit.platform.commons;
exports org.apache.poi.hwpf.util to org.junit.platform.commons;
- opens org.apache.poi.hwpf.model to org.mockito;
- opens org.apache.poi.hwpf.model.types to org.mockito;
+ opens org.apache.poi.hwpf.model to org.mockito, org.junit.platform.commons;
+ opens org.apache.poi.hwpf.model.types to org.mockito, org.junit.platform.commons;
+
+ opens org.apache.poi.hmef to org.junit.platform.commons;
+ opens org.apache.poi.hmef.dev to org.junit.platform.commons;
+ opens org.apache.poi.hmef.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hmef.attribute to org.junit.platform.commons;
+ opens org.apache.poi.hdgf to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.dev to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.streams to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.pointers to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.exceptions to org.junit.platform.commons;
+ opens org.apache.poi.hdgf.chunks to org.junit.platform.commons;
+ opens org.apache.poi.hwpf to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.dev to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.sprm to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.converter to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.usermodel to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.model.io to org.junit.platform.commons;
+ opens org.apache.poi.hwpf.util to org.junit.platform.commons;
+ opens org.apache.poi.hwmf to org.junit.platform.commons;
+ opens org.apache.poi.hwmf.record to org.junit.platform.commons;
+ opens org.apache.poi.hwmf.draw to org.junit.platform.commons;
+ opens org.apache.poi.hwmf.usermodel to org.junit.platform.commons;
+ opens org.apache.poi.extractor.ole2 to org.junit.platform.commons;
+ opens org.apache.poi.hpbf to org.junit.platform.commons;
+ opens org.apache.poi.hpbf.dev to org.junit.platform.commons;
+ opens org.apache.poi.hpbf.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hpbf.model to org.junit.platform.commons;
+ opens org.apache.poi.hpbf.model.qcbits to org.junit.platform.commons;
+ opens org.apache.poi.hslf to org.junit.platform.commons;
+ opens org.apache.poi.hslf.dev to org.junit.platform.commons;
+ opens org.apache.poi.hslf.record to org.junit.platform.commons;
+ opens org.apache.poi.hslf.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hslf.exceptions to org.junit.platform.commons;
+ opens org.apache.poi.hslf.usermodel to org.junit.platform.commons;
+ opens org.apache.poi.hslf.blip to org.junit.platform.commons;
+ opens org.apache.poi.hslf.model to org.junit.platform.commons;
+ opens org.apache.poi.hslf.model.textproperties to org.junit.platform.commons;
+ opens org.apache.poi.hslf.util to org.junit.platform.commons;
+ opens org.apache.poi.hssf.converter to org.junit.platform.commons;
+ opens org.apache.poi.hsmf to org.junit.platform.commons;
+ opens org.apache.poi.hsmf.dev to org.junit.platform.commons;
+ opens org.apache.poi.hsmf.datatypes to org.junit.platform.commons;
+ opens org.apache.poi.hsmf.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hsmf.exceptions to org.junit.platform.commons;
+ opens org.apache.poi.hsmf.parsers to org.junit.platform.commons;
+ opens org.apache.poi.hemf.record.emf to org.junit.platform.commons;
+ opens org.apache.poi.hemf.record.emfplus to org.junit.platform.commons;
+ opens org.apache.poi.hemf.hemfplus.extractor to org.junit.platform.commons;
+ opens org.apache.poi.hemf.draw to org.junit.platform.commons;
+ opens org.apache.poi.hemf.usermodel to org.junit.platform.commons;
+
}
\ No newline at end of file
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFCore.java Sat Jan 9 15:49:35 2021
@@ -47,12 +47,12 @@ public final class TestHDGFCore {
}
@Test
- public void testCreate() throws Exception {
+ void testCreate() throws Exception {
hdgf = new HDGFDiagram(fs);
}
@Test
- public void testTrailer() throws Exception {
+ void testTrailer() throws Exception {
hdgf = new HDGFDiagram(fs);
assertNotNull(hdgf);
assertNotNull(hdgf.getTrailerStream());
@@ -80,7 +80,7 @@ public final class TestHDGFCore {
* break with a negative chunk length
*/
@Test
- public void testNegativeChunkLength() throws Exception {
+ void testNegativeChunkLength() throws Exception {
fs = new POIFSFileSystem(_dgTests.openResourceAsStream("NegativeChunkLength.vsd"));
hdgf = new HDGFDiagram(fs);
@@ -106,7 +106,7 @@ public final class TestHDGFCore {
}
@Test
- public void testV5() throws Exception {
+ void testV5() throws Exception {
fs = new POIFSFileSystem(_dgTests.openResourceAsStream("v5_Connection_Types.vsd"));
hdgf = new HDGFDiagram(fs);
@@ -119,7 +119,7 @@ public final class TestHDGFCore {
}
@Test
- public void testV6NonUtf16LE() throws Exception {
+ void testV6NonUtf16LE() throws Exception {
fs = new POIFSFileSystem(_dgTests.openResourceAsStream("v6-non-utf16le.vsd"));
hdgf = new HDGFDiagram(fs);
@@ -132,7 +132,7 @@ public final class TestHDGFCore {
}
@Test
- public void testUtf16LE() throws Exception {
+ void testUtf16LE() throws Exception {
fs = new POIFSFileSystem(_dgTests.openResourceAsStream("Test_Visio-Some_Random_Text.vsd"));
hdgf = new HDGFDiagram(fs);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFLZW.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFLZW.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFLZW.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/TestHDGFLZW.java Sat Jan 9 15:49:35 2021
@@ -113,7 +113,7 @@ public final class TestHDGFLZW {
};
@Test
- public void testCounts() throws Exception {
+ void testCounts() throws Exception {
assertEquals(339, testTrailerComp.length);
assertEquals(632, testTrailerDecomp.length);
@@ -134,7 +134,7 @@ public final class TestHDGFLZW {
}
@Test
- public void testDecompress() throws Exception {
+ void testDecompress() throws Exception {
assertEquals(339, testTrailerComp.length);
assertEquals(632, testTrailerDecomp.length);
@@ -152,7 +152,7 @@ public final class TestHDGFLZW {
* on the best way to compress it
*/
@Test
- public void testCompressMini() throws Exception {
+ void testCompressMini() throws Exception {
// first 11 bytes compressed = 12 bytes uncompressed
byte[] sourceDecomp = Arrays.copyOf(testTrailerDecomp, 12);
@@ -176,7 +176,7 @@ public final class TestHDGFLZW {
* Tests that we can do several mask pages
*/
@Test
- public void testCompressMidi() throws Exception {
+ void testCompressMidi() throws Exception {
// First 12 -> 11
// Next 32 -> 13
byte[] sourceDecomp = Arrays.copyOf(testTrailerDecomp, 44);
@@ -196,7 +196,7 @@ public final class TestHDGFLZW {
}
@Test
- public void testCompressFull() throws Exception {
+ void testCompressFull() throws Exception {
assertEquals(339, testTrailerComp.length);
assertEquals(632, testTrailerDecomp.length);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/chunks/TestChunks.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/chunks/TestChunks.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/chunks/TestChunks.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/chunks/TestChunks.java Sat Jan 9 15:49:35 2021
@@ -45,7 +45,7 @@ public final class TestChunks {
}
@Test
- public void testChunkHeaderA() {
+ void testChunkHeaderA() {
ChunkHeader h = ChunkHeader.createChunkHeader(11, data_a, 0);
assertTrue(h instanceof ChunkHeaderV11);
@@ -63,7 +63,7 @@ public final class TestChunks {
}
@Test
- public void testChunkHeaderB() {
+ void testChunkHeaderB() {
ChunkHeader h = ChunkHeader.createChunkHeader(11, data_b, 0);
assertTrue(h instanceof ChunkHeaderV11);
@@ -81,7 +81,7 @@ public final class TestChunks {
}
@Test
- public void testOneChunk() throws Exception {
+ void testOneChunk() throws Exception {
ChunkFactory cf = new ChunkFactory(11);
cf.createChunk(data_a, 0);
cf.createChunk(data_b, 0);
@@ -114,7 +114,7 @@ public final class TestChunks {
}
@Test
- public void testAnotherChunk() throws Exception {
+ void testAnotherChunk() throws Exception {
ChunkFactory cf = new ChunkFactory(11);
// Go for the 2nd chunk in the stream
@@ -151,7 +151,7 @@ public final class TestChunks {
}
@Test
- public void testManyChunks() throws Exception {
+ void testManyChunks() throws Exception {
ChunkFactory cf = new ChunkFactory(11);
Chunk chunk;
int offset = 0;
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/extractor/TestVisioExtractor.java Sat Jan 9 15:49:35 2021
@@ -38,7 +38,7 @@ public final class TestVisioExtractor {
* Test the 3 different ways of creating one
*/
@Test
- public void testCreation() throws IOException {
+ void testCreation() throws IOException {
VisioTextExtractor extractor1 = openExtractor(defFilename);
assertNotNull(extractor1);
assertNotNull(extractor1.getAllText());
@@ -71,7 +71,7 @@ public final class TestVisioExtractor {
}
@Test
- public void testExtraction() throws Exception {
+ void testExtraction() throws Exception {
VisioTextExtractor extractor = openExtractor(defFilename);
// Check the array fetch
@@ -92,7 +92,7 @@ public final class TestVisioExtractor {
}
@Test
- public void testProblemFiles() throws Exception {
+ void testProblemFiles() throws Exception {
String[] files = {
"44594.vsd", "44594-2.vsd",
"ShortChunk1.vsd", "ShortChunk2.vsd", "ShortChunk3.vsd",
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/pointers/TestPointerFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/pointers/TestPointerFactory.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/pointers/TestPointerFactory.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/pointers/TestPointerFactory.java Sat Jan 9 15:49:35 2021
@@ -52,13 +52,13 @@ public final class TestPointerFactory {
};
@Test
- public void testCreateV4() {
+ void testCreateV4() {
PointerFactory pf = new PointerFactory(4);
assertThrows(IllegalArgumentException.class, () -> pf.createPointer(new byte[]{}, 0));
}
@Test
- public void testCreateV5() {
+ void testCreateV5() {
PointerFactory pf = new PointerFactory(5);
Pointer a = pf.createPointer(vp5_a, 0);
@@ -78,7 +78,7 @@ public final class TestPointerFactory {
}
@Test
- public void testCreateV6() {
+ void testCreateV6() {
PointerFactory pf = new PointerFactory(6);
Pointer a = pf.createPointer(vp6_a, 0);
@@ -135,7 +135,7 @@ public final class TestPointerFactory {
}
@Test
- public void testCreateV6FromMid() {
+ void testCreateV6FromMid() {
PointerFactory pf = new PointerFactory(11);
// Create a from part way down the byte stream
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBasics.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBasics.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBasics.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBasics.java Sat Jan 9 15:49:35 2021
@@ -56,7 +56,7 @@ public final class TestStreamBasics exte
@Test
- public void testCompressedStream() {
+ void testCompressedStream() {
// Create a fake pointer
Pointer ptr = new TestPointer(true, 0, compressedStream.length, -1, (short)-1);
// Now the stream
@@ -80,7 +80,7 @@ public final class TestStreamBasics exte
}
@Test
- public void testUncompressedStream() {
+ void testUncompressedStream() {
// Create a fake pointer
Pointer ptr = new TestPointer(false, 0, uncompressedStream.length, -1, (short)-1);
// Now the stream
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamBugs.java Sat Jan 9 15:49:35 2021
@@ -55,7 +55,7 @@ public final class TestStreamBugs extend
}
@Test
- public void testGetTrailer() {
+ void testGetTrailer() {
Pointer trailerPointer = ptrFactory.createPointer(contents, 0x24);
Stream.createStream(trailerPointer, contents, chunkFactory, ptrFactory);
}
@@ -67,7 +67,7 @@ public final class TestStreamBugs extend
}
@Test
- public void testGetChildren() {
+ void testGetChildren() {
Pointer trailerPointer = ptrFactory.createPointer(contents, 0x24);
TrailerStream trailer = (TrailerStream)
Stream.createStream(trailerPointer, contents, chunkFactory, ptrFactory);
@@ -103,7 +103,7 @@ public final class TestStreamBugs extend
}
@Test
- public void testOpen() throws IOException {
+ void testOpen() throws IOException {
new HDGFDiagram(filesystem).close();
}
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hdgf/streams/TestStreamComplex.java Sat Jan 9 15:49:35 2021
@@ -64,7 +64,7 @@ public final class TestStreamComplex ext
* Test creating the trailer, but not looking for children
*/
@Test
- public void testTrailer() {
+ void testTrailer() {
// Find the trailer
Pointer trailerPtr = ptrFactory.createPointer(contents, trailerPointerAt);
@@ -86,7 +86,7 @@ public final class TestStreamComplex ext
}
@Test
- public void testChunks() {
+ void testChunks() {
Pointer trailerPtr = ptrFactory.createPointer(contents, trailerPointerAt);
TrailerStream ts = (TrailerStream)
Stream.createStream(trailerPtr, contents, chunkFactory, ptrFactory);
@@ -107,7 +107,7 @@ public final class TestStreamComplex ext
}
@Test
- public void testStrings() {
+ void testStrings() {
Pointer trailerPtr = ptrFactory.createPointer(contents, trailerPointerAt);
TrailerStream ts = (TrailerStream)
Stream.createStream(trailerPtr, contents, chunkFactory, ptrFactory);
@@ -124,7 +124,7 @@ public final class TestStreamComplex ext
}
@Test
- public void testPointerToStrings() {
+ void testPointerToStrings() {
// The stream at 0x347f has strings
// The stream at 0x4312 has a pointer to 0x347f
// The stream at 0x44d3 has a pointer to 0x4312
@@ -169,7 +169,7 @@ public final class TestStreamComplex ext
}
@Test
- public void testTrailerContents() {
+ void testTrailerContents() {
Pointer trailerPtr = ptrFactory.createPointer(contents, trailerPointerAt);
TrailerStream ts = (TrailerStream)
Stream.createStream(trailerPtr, contents, chunkFactory, ptrFactory);
@@ -221,7 +221,7 @@ public final class TestStreamComplex ext
}
@Test
- public void testChunkWithText() {
+ void testChunkWithText() {
// Parent ChunkStream is at 0x7194
// This is one of the last children of the trailer
Pointer trailerPtr = ptrFactory.createPointer(contents, trailerPointerAt);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/TestHemfPlusExtractor.java Sat Jan 9 15:49:35 2021
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
public class TestHemfPlusExtractor {
@Test
- public void testBasic() throws Exception {
+ void testBasic() throws Exception {
//test header
EmfCommentDataPlus emfPlus = getCommentRecord("SimpleEMF_windows.emf", 0);
List<HemfPlusRecord> records = emfPlus.getRecords();
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hemf/usermodel/TestHemfPicture.java Sat Jan 9 15:49:35 2021
@@ -123,7 +123,7 @@ public class TestHemfPicture {
}
*/
@Test
- public void testBasicWindows() throws Exception {
+ void testBasicWindows() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("SimpleEMF_windows.emf")) {
HemfPicture pic = new HemfPicture(is);
HemfHeader header = pic.getHeader();
@@ -140,7 +140,7 @@ public class TestHemfPicture {
}
@Test
- public void testBasicMac() throws Exception {
+ void testBasicMac() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("SimpleEMF_mac.emf")) {
HemfPicture pic = new HemfPicture(is);
HemfHeader header = pic.getHeader();
@@ -176,7 +176,7 @@ public class TestHemfPicture {
}
@Test
- public void testMacText() throws Exception {
+ void testMacText() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("SimpleEMF_mac.emf")) {
HemfPicture pic = new HemfPicture(is);
@@ -208,7 +208,7 @@ public class TestHemfPicture {
}
@Test
- public void testWMFInsideEMF() throws Exception {
+ void testWMFInsideEMF() throws Exception {
byte[] wmfData = null;
try (InputStream is = ss_samples.openResourceAsStream("63327.emf")) {
@@ -237,7 +237,7 @@ public class TestHemfPicture {
}
@Test
- public void testWindowsText() throws Exception {
+ void testWindowsText() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("SimpleEMF_windows.emf")) {
HemfPicture pic = new HemfPicture(is);
double lastY = -1;
@@ -276,7 +276,7 @@ public class TestHemfPicture {
}
@Test
- public void testInfiniteLoopOnFile() throws Exception {
+ void testInfiniteLoopOnFile() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("61294.emf")) {
HemfPicture pic = new HemfPicture(is);
assertThrows(RecordFormatException.class, () -> pic.forEach(r -> {}));
@@ -284,7 +284,7 @@ public class TestHemfPicture {
}
@Test
- public void testInfiniteLoopOnByteArray() throws Exception {
+ void testInfiniteLoopOnByteArray() throws Exception {
try (InputStream is = ss_samples.openResourceAsStream("61294.emf")) {
ByteArrayOutputStream bos = new ByteArrayOutputStream();
IOUtils.copy(is, bos);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestAttachments.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestAttachments.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestAttachments.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestAttachments.java Sat Jan 9 15:49:35 2021
@@ -43,7 +43,7 @@ public final class TestAttachments {
* Check the file is as we expect
*/
@Test
- public void testCounts() {
+ void testCounts() {
// Should have 5 attachments
assertEquals(5, quick.getAttachments().size());
}
@@ -52,7 +52,7 @@ public final class TestAttachments {
* Check some basic bits about the attachments
*/
@Test
- public void testBasicAttachments() {
+ void testBasicAttachments() {
List<Attachment> attachments = quick.getAttachments();
// Word first
@@ -86,7 +86,7 @@ public final class TestAttachments {
* the right values for key things
*/
@Test
- public void testAttachmentDetails() {
+ void testAttachmentDetails() {
List<Attachment> attachments = quick.getAttachments();
assertEquals(5, attachments.size());
@@ -108,7 +108,7 @@ public final class TestAttachments {
* Ensure the attachment contents come back as they should do
*/
@Test
- public void testAttachmentContents() throws Exception {
+ void testAttachmentContents() throws Exception {
List<Attachment> attachments = quick.getAttachments();
assertContents("quick.doc", attachments.get(0));
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestBugs.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestBugs.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestBugs.java Sat Jan 9 15:49:35 2021
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
public class TestBugs {
@Test
- public void test52400ReadSimpleTNEF() throws IOException {
+ void test52400ReadSimpleTNEF() throws IOException {
HMEFMessage tnefDat = openSample("bug52400-winmail-simple.dat");
MAPIAttribute bodyHtml = tnefDat.getMessageMAPIAttribute(MAPIProperty.BODY_HTML);
assertNotNull(bodyHtml);
@@ -42,7 +42,7 @@ public class TestBugs {
}
@Test
- public void test52400ReadAttachedTNEF() throws IOException {
+ void test52400ReadAttachedTNEF() throws IOException {
HMEFMessage tnefDat = openSample("bug52400-winmail-with-attachments.dat");
MAPIAttribute bodyHtml = tnefDat.getMessageMAPIAttribute(MAPIProperty.BODY_HTML);
assertNotNull(bodyHtml);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestCompressedRTF.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestCompressedRTF.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestCompressedRTF.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestCompressedRTF.java Sat Jan 9 15:49:35 2021
@@ -47,7 +47,7 @@ public final class TestCompressedRTF {
* then decoding has no hope...
*/
@Test
- public void testQuickBasics() throws Exception {
+ void testQuickBasics() throws Exception {
HMEFMessage msg;
try (InputStream is = _samples.openResourceAsStream("quick-winmail.dat")) {
msg = new HMEFMessage(is);
@@ -108,7 +108,7 @@ public final class TestCompressedRTF {
* (1 flag byte + 8 codes)
*/
@Test
- public void testFirstBlock() throws Exception {
+ void testFirstBlock() throws Exception {
HMEFMessage msg;
try (InputStream is = _samples.openResourceAsStream("quick-winmail.dat")) {
msg = new HMEFMessage(is);
@@ -136,7 +136,7 @@ public final class TestCompressedRTF {
* (flag + 8 codes, flag + 8 codes)
*/
@Test
- public void testFirstTwoBlocks() throws Exception {
+ void testFirstTwoBlocks() throws Exception {
HMEFMessage msg;
try (InputStream is = _samples.openResourceAsStream("quick-winmail.dat")) {
msg = new HMEFMessage(is);
@@ -163,7 +163,7 @@ public final class TestCompressedRTF {
* TODO Fix what looks like a padding issue
*/
@Test
- public void testFull() throws Exception {
+ void testFull() throws Exception {
final HMEFMessage msg;
try (InputStream is = _samples.openResourceAsStream("quick-winmail.dat")) {
msg = new HMEFMessage(is);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestHMEFMessage.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestHMEFMessage.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestHMEFMessage.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/TestHMEFMessage.java Sat Jan 9 15:49:35 2021
@@ -46,7 +46,7 @@ public final class TestHMEFMessage {
private static final POIDataSamples _samples = POIDataSamples.getHMEFInstance();
@Test
- public void testCounts() throws Exception {
+ void testCounts() throws Exception {
HMEFMessage msg = openSample("quick-winmail.dat");
// Should have 4 attributes on the message
@@ -72,7 +72,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testBasicMessageAttributes() throws Exception {
+ void testBasicMessageAttributes() throws Exception {
HMEFMessage msg = openSample("quick-winmail.dat");
// Should have version, codepage, class and MAPI
@@ -103,7 +103,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testBasicMessageMAPIAttributes() throws Exception {
+ void testBasicMessageMAPIAttributes() throws Exception {
HMEFMessage msg = openSample("quick-winmail.dat");
assertEquals("This is a test message", msg.getSubject());
@@ -115,7 +115,7 @@ public final class TestHMEFMessage {
* can be correctly extracted
*/
@Test
- public void testMessageContents() throws Exception {
+ void testMessageContents() throws Exception {
HMEFMessage msg = openSample("quick-winmail.dat");
// Firstly by byte
@@ -135,7 +135,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testMessageSample1() throws Exception {
+ void testMessageSample1() throws Exception {
HMEFMessage msg = openSample("winmail-sample1.dat");
// Firstly by byte
@@ -157,7 +157,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testInvalidMessage() {
+ void testInvalidMessage() {
InputStream str = new ByteArrayInputStream(new byte[4]);
IllegalArgumentException ex = assertThrows(
IllegalArgumentException.class,
@@ -167,7 +167,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testNoData() throws Exception {
+ void testNoData() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
// Header
@@ -184,7 +184,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testInvalidLevel() throws Exception {
+ void testInvalidLevel() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
// Header
@@ -205,7 +205,7 @@ public final class TestHMEFMessage {
}
@Test
- public void testCustomProperty() throws IOException {
+ void testCustomProperty() throws IOException {
HMEFMessage msg = openSample("quick-winmail.dat");
// Should have non-standard properties with IDs 0xE28 and 0xE29
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestMAPIAttributes.java Sat Jan 9 15:49:35 2021
@@ -49,7 +49,7 @@ public final class TestMAPIAttributes {
* Test counts
*/
@Test
- public void testCounts() throws Exception {
+ void testCounts() throws Exception {
// Message should have 54
assertEquals(54, quick.getMessageMAPIAttributes().size());
@@ -61,7 +61,7 @@ public final class TestMAPIAttributes {
* Test various general ones
*/
@Test
- public void testBasics() throws Exception {
+ void testBasics() throws Exception {
// Try constructing two attributes
byte[] data = new byte[]{
// Level one, id 36867, type 6
@@ -130,7 +130,7 @@ public final class TestMAPIAttributes {
* Test String, Date and RTF ones
*/
@Test
- public void testTyped() throws Exception {
+ void testTyped() throws Exception {
MAPIAttribute attr;
// String
@@ -173,7 +173,7 @@ public final class TestMAPIAttributes {
* Check common ones via helper accessors
*/
@Test
- public void testCommon() throws Exception {
+ void testCommon() throws Exception {
assertEquals("This is a test message", quick.getSubject());
assertEquals("quick.doc", quick.getAttachments().get(0).getLongFilename());
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestTNEFAttributes.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestTNEFAttributes.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestTNEFAttributes.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/attribute/TestTNEFAttributes.java Sat Jan 9 15:49:35 2021
@@ -51,7 +51,7 @@ public final class TestTNEFAttributes {
* Test counts
*/
@Test
- public void testCounts() throws Exception {
+ void testCounts() throws Exception {
// The message should have 4 attributes
assertEquals(4, quick.getMessageAttributes().size());
@@ -65,7 +65,7 @@ public final class TestTNEFAttributes {
* Test the basics
*/
@Test
- public void testBasics() throws Exception {
+ void testBasics() throws Exception {
// An int one
assertEquals(
0x010000,
@@ -128,7 +128,7 @@ public final class TestTNEFAttributes {
* Test string based ones
*/
@Test
- public void testString() throws Exception {
+ void testString() throws Exception {
TNEFAttribute attr = quick.getAttachments().get(0).getAttribute(
TNEFProperty.ID_ATTACHTITLE
);
@@ -147,7 +147,7 @@ public final class TestTNEFAttributes {
* Test date based ones
*/
@Test
- public void testDate() throws Exception {
+ void testDate() throws Exception {
TNEFAttribute attr = quick.getAttachments().get(0).getAttribute(
TNEFProperty.ID_ATTACHMODIFYDATE
);
@@ -176,7 +176,7 @@ public final class TestTNEFAttributes {
* Test a bit of mapi
*/
@Test
- public void testMAPI() throws Exception {
+ void testMAPI() throws Exception {
// Message MAPI
TNEFAttribute attr = quick.getMessageAttribute(
TNEFProperty.ID_MAPIPROPERTIES
@@ -211,7 +211,7 @@ public final class TestTNEFAttributes {
* Test common ones via helpers
*/
@Test
- public void testCommon() throws Exception {
+ void testCommon() throws Exception {
assertEquals("This is a test message", quick.getSubject());
assertEquals("quick.doc", quick.getAttachments().get(0).getFilename());
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hmef/extractor/TestHMEFContentsExtractor.java Sat Jan 9 15:49:35 2021
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
public class TestHMEFContentsExtractor {
@Test
- public void TestMain() throws IOException {
+ void testMain() throws IOException {
POIDataSamples samples = POIDataSamples.getHMEFInstance();
File message = samples.getFile("quick-winmail.dat");
File outputDirectory = TempFile.createTempDirectory("quick-winmail-main");
@@ -58,7 +58,7 @@ public class TestHMEFContentsExtractor {
}
@Test
- public void TestExtractMessageBody_OutputStream() throws IOException {
+ void testExtractMessageBody_OutputStream() throws IOException {
POIDataSamples samples = POIDataSamples.getHMEFInstance();
File winmailTNEFFile = samples.getFile("quick-winmail.dat");
HMEFContentsExtractor extractor = new HMEFContentsExtractor(winmailTNEFFile);
@@ -72,7 +72,7 @@ public class TestHMEFContentsExtractor {
}
@Test
- public void TestExtractMessageBody_File() throws IOException {
+ void testExtractMessageBody_File() throws IOException {
POIDataSamples samples = POIDataSamples.getHMEFInstance();
File winmailTNEFFile = samples.getFile("quick-winmail.dat");
HMEFContentsExtractor extractor = new HMEFContentsExtractor(winmailTNEFFile);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/TestHPBFDocument.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/TestHPBFDocument.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/TestHPBFDocument.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/TestHPBFDocument.java Sat Jan 9 15:49:35 2021
@@ -31,7 +31,7 @@ public final class TestHPBFDocument {
private static final POIDataSamples _samples = POIDataSamples.getPublisherInstance();
@Test
- public void testOpen() throws IOException {
+ void testOpen() throws IOException {
InputStream is = _samples.openResourceAsStream("Sample.pub");
HPBFDocument doc = new HPBFDocument(is);
is.close();
@@ -40,7 +40,7 @@ public final class TestHPBFDocument {
}
@Test
- public void testBits() throws IOException {
+ void testBits() throws IOException {
InputStream is = _samples.openResourceAsStream("Sample.pub");
HPBFDocument doc = new HPBFDocument(is);
is.close();
@@ -59,6 +59,6 @@ public final class TestHPBFDocument {
}
// TODO
-// public void testWrite() throws Exception {
+// void testWrite() throws Exception {
// }
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/extractor/TestPublisherTextExtractor.java Sat Jan 9 15:49:35 2021
@@ -68,7 +68,7 @@ public final class TestPublisherTextExtr
"0123456789abcdef0123456789abcdef0123456789abcdef\n";
@Test
- public void testBasics() throws IOException {
+ void testBasics() throws IOException {
InputStream sample = _samples.openResourceAsStream("Sample.pub");
HPBFDocument doc = new HPBFDocument(sample);
PublisherTextExtractor ext = new PublisherTextExtractor(doc);
@@ -85,7 +85,7 @@ public final class TestPublisherTextExtr
}
@Test
- public void testContents() throws IOException {
+ void testContents() throws IOException {
// Check this complicated file using POIFS
InputStream sample = _samples.openResourceAsStream("Sample.pub");
HPBFDocument docOPOIFS = new HPBFDocument(sample);
@@ -118,7 +118,7 @@ public final class TestPublisherTextExtr
* Publisher 2007. Check they all agree.
*/
@Test
- public void testMultipleVersions() throws Exception {
+ void testMultipleVersions() throws Exception {
InputStream sample = _samples.openResourceAsStream("Sample.pub");
HPBFDocument doc = new HPBFDocument(sample);
PublisherTextExtractor ext = new PublisherTextExtractor(doc);
@@ -153,7 +153,7 @@ public final class TestPublisherTextExtr
* to.
*/
@Test
- public void testWithHyperlinks() throws Exception {
+ void testWithHyperlinks() throws Exception {
InputStream linkAt = _samples.openResourceAsStream("LinkAt10.pub");
HPBFDocument doc = new HPBFDocument(linkAt);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestEscherParts.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestEscherParts.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestEscherParts.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestEscherParts.java Sat Jan 9 15:49:35 2021
@@ -31,7 +31,7 @@ public final class TestEscherParts {
private static final POIDataSamples _samples = POIDataSamples.getPublisherInstance();
@Test
- public void testBasics() throws IOException {
+ void testBasics() throws IOException {
InputStream is = _samples.openResourceAsStream("Sample.pub");
HPBFDocument doc = new HPBFDocument(is);
is.close();
@@ -50,7 +50,7 @@ public final class TestEscherParts {
}
@Test
- public void testComplex() throws Exception {
+ void testComplex() throws Exception {
InputStream is = _samples.openResourceAsStream("SampleBrochure.pub");
HPBFDocument doc1 = new HPBFDocument(is);
is.close();
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hpbf/model/TestQuillContents.java Sat Jan 9 15:49:35 2021
@@ -39,7 +39,7 @@ public final class TestQuillContents {
private static final POIDataSamples _samples = POIDataSamples.getPublisherInstance();
@Test
- public void testBasics() throws IOException {
+ void testBasics() throws IOException {
HPBFDocument doc = new HPBFDocument(
_samples.openResourceAsStream("Sample.pub")
);
@@ -73,7 +73,7 @@ public final class TestQuillContents {
}
@Test
- public void testText() throws IOException {
+ void testText() throws IOException {
HPBFDocument doc = new HPBFDocument(
_samples.openResourceAsStream("Sample.pub")
);
@@ -90,7 +90,7 @@ public final class TestQuillContents {
}
@Test
- public void testPLC() throws IOException {
+ void testPLC() throws IOException {
HPBFDocument doc = new HPBFDocument(
_samples.openResourceAsStream("Simple.pub")
);
@@ -154,7 +154,7 @@ public final class TestQuillContents {
@SuppressWarnings("unused")
@Test
- public void testComplexPLC() throws IOException {
+ void testComplexPLC() throws IOException {
HPBFDocument doc = new HPBFDocument(
_samples.openResourceAsStream("Sample.pub")
);
@@ -258,7 +258,7 @@ public final class TestQuillContents {
}
@Test
- public void testNoHyperlinks() throws IOException {
+ void testNoHyperlinks() throws IOException {
HPBFDocument doc = new HPBFDocument(
_samples.openResourceAsStream("SampleNewsletter.pub")
);
@@ -277,7 +277,7 @@ public final class TestQuillContents {
}
@Test
- public void testSimpleHyperlink() throws IOException {
+ void testSimpleHyperlink() throws IOException {
HPBFDocument doc;
QuillContents qc;
Type12 hlBit;
@@ -329,7 +329,7 @@ public final class TestQuillContents {
}
@Test
- public void testManyHyperlinks() throws IOException {
+ void testManyHyperlinks() throws IOException {
HPBFDocument doc;
QuillContents qc;
Type12 hlBit;
@@ -352,7 +352,7 @@ public final class TestQuillContents {
}
@Test
- public void testHyperlinkDifferentVersions() throws IOException {
+ void testHyperlinkDifferentVersions() throws IOException {
HPBFDocument doc;
QuillContents qc;
Type12 hlBitA;
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java Sat Jan 9 15:49:35 2021
@@ -36,7 +36,7 @@ public final class TestEncryptedFile {
private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance();
@Test
- public void testLoadNonEncrypted() throws IOException {
+ void testLoadNonEncrypted() throws IOException {
InputStream is = slTests.openResourceAsStream("basic_test_ppt_file.ppt");
HSLFSlideShowImpl hss = new HSLFSlideShowImpl(is);
assertNotNull(hss);
@@ -45,21 +45,21 @@ public final class TestEncryptedFile {
}
@Test
- public void testLoadEncrypted1() throws IOException {
+ void testLoadEncrypted1() throws IOException {
try (InputStream is = slTests.openResourceAsStream("Password_Protected-hello.ppt")) {
assertThrows(EncryptedPowerPointFileException.class, () -> new HSLFSlideShowImpl(is).close());
}
}
@Test
- public void testLoadEncrypted2() throws IOException {
+ void testLoadEncrypted2() throws IOException {
try (InputStream is = slTests.openResourceAsStream("Password_Protected-np-hello.ppt")) {
assertThrows(EncryptedPowerPointFileException.class, () -> new HSLFSlideShowImpl(is).close());
}
}
@Test
- public void testLoadEncrypted3() throws IOException {
+ void testLoadEncrypted3() throws IOException {
try (InputStream is = slTests.openResourceAsStream("Password_Protected-56-hello.ppt")) {
assertThrows(EncryptedPowerPointFileException.class, () -> new HSLFSlideShowImpl(is).close());
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestPOIDocumentScratchpad.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestPOIDocumentScratchpad.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestPOIDocumentScratchpad.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestPOIDocumentScratchpad.java Sat Jan 9 15:49:35 2021
@@ -62,7 +62,7 @@ public final class TestPOIDocumentScratc
}
@Test
- public void testReadProperties() {
+ void testReadProperties() {
testReadPropertiesHelper(doc);
}
@@ -77,7 +77,7 @@ public final class TestPOIDocumentScratc
}
@Test
- public void testReadProperties2() {
+ void testReadProperties2() {
// Check again on the word one
assertNotNull(doc2.getDocumentSummaryInformation());
assertNotNull(doc2.getSummaryInformation());
@@ -88,7 +88,7 @@ public final class TestPOIDocumentScratc
}
@Test
- public void testWriteProperties() throws IOException {
+ void testWriteProperties() throws IOException {
// Just check we can write them back out into a filesystem
POIFSFileSystem outFS = new POIFSFileSystem();
doc.writeProperties(outFS);
@@ -100,7 +100,7 @@ public final class TestPOIDocumentScratc
}
@Test
- public void testWriteReadProperties() throws IOException {
+ void testWriteReadProperties() throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
// Write them out
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWrite.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWrite.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWrite.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWrite.java Sat Jan 9 15:49:35 2021
@@ -68,7 +68,7 @@ public final class TestReWrite {
}
@Test
- public void testWritesOutTheSame() throws Exception {
+ void testWritesOutTheSame() throws Exception {
assertWritesOutTheSame(hssA, pfsA);
assertWritesOutTheSame(hssB, pfsB);
}
@@ -119,7 +119,7 @@ public final class TestReWrite {
}
@Test
- public void testWithMacroStreams() throws IOException {
+ void testWithMacroStreams() throws IOException {
// Check that they're apparently the same
assertSlideShowWritesOutTheSame(hssC, pfsC);
@@ -148,7 +148,7 @@ public final class TestReWrite {
* doesn't change things
*/
@Test
- public void testSlideShowWritesOutTheSame() throws Exception {
+ void testSlideShowWritesOutTheSame() throws Exception {
assertSlideShowWritesOutTheSame(hssA, pfsA);
// Some bug in StyleTextPropAtom rewriting means this will fail
@@ -192,7 +192,7 @@ public final class TestReWrite {
}
@Test
- public void test48593() throws IOException {
+ void test48593() throws IOException {
HSLFSlideShow ppt1 = new HSLFSlideShow();
ppt1.createSlide();
HSLFSlideShow ppt2 = HSLFTestDataSamples.writeOutAndReadBack(ppt1);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java Sat Jan 9 15:49:35 2021
@@ -63,7 +63,7 @@ public final class TestReWriteSanity {
}
@Test
- public void testUserEditAtomsRight() throws Exception {
+ void testUserEditAtomsRight() throws Exception {
// Write out to a byte array
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ss.write(baos);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestRecordCounts.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestRecordCounts.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestRecordCounts.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestRecordCounts.java Sat Jan 9 15:49:35 2021
@@ -45,7 +45,7 @@ public final class TestRecordCounts {
}
@Test
- public void testSheetsCount() {
+ void testSheetsCount() {
// Top level
Record[] r = ss.getRecords();
@@ -60,7 +60,7 @@ public final class TestRecordCounts {
}
@Test
- public void testNotesCount() {
+ void testNotesCount() {
// Top level
Record[] r = ss.getRecords();
@@ -75,7 +75,7 @@ public final class TestRecordCounts {
}
@Test
- public void testSlideListWithTextCount() {
+ void testSlideListWithTextCount() {
// Second level
Record[] rt = ss.getRecords();
Record[] r = rt[0].getChildRecords();
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/BasePPTIteratingTest.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/BasePPTIteratingTest.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/BasePPTIteratingTest.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/BasePPTIteratingTest.java Sat Jan 9 15:49:35 2021
@@ -103,7 +103,7 @@ public abstract class BasePPTIteratingTe
@ParameterizedTest
@MethodSource("files")
- public void testAllFiles(File file) throws Exception {
+ void testAllFiles(File file) throws Exception {
String fileName = file.getName();
Class<? extends Throwable> t = null;
if (EXCLUDED.containsKey(fileName)) {
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPDrawingTextListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPDrawingTextListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPDrawingTextListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPDrawingTextListing.java Sat Jan 9 15:49:35 2021
@@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Asse
public class TestPPDrawingTextListing extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): PPDrawingTextListing.main(new String[0]);
assertThrows(EmptyFileException.class, () -> PPDrawingTextListing.main(new String[]{"invalidfile"}));
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPTXMLDump.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPTXMLDump.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPTXMLDump.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestPPTXMLDump.java Sat Jan 9 15:49:35 2021
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
public class TestPPTXMLDump extends BasePPTIteratingTest {
@Test
- public void testMain() throws Exception {
+ void testMain() throws Exception {
PPTXMLDump.main(new String[0]);
PPTXMLDump.main(new String[]{
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTListing.java Sat Jan 9 15:49:35 2021
@@ -44,7 +44,7 @@ public class TestSLWTListing extends Bas
}
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): SLWTListing.main(new String[0]);
assertThrows(EmptyFileException.class, () -> SLWTListing.main(new String[]{"invalidfile"}));
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTTextListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTTextListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTTextListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSLWTTextListing.java Sat Jan 9 15:49:35 2021
@@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Asse
public class TestSLWTTextListing extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): SLWTTextListing.main(new String[0]);
assertThrows(EmptyFileException.class, () -> SLWTTextListing.main(new String[]{"invalidfile"}));
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideAndNotesAtomListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideAndNotesAtomListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideAndNotesAtomListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideAndNotesAtomListing.java Sat Jan 9 15:49:35 2021
@@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Asse
public class TestSlideAndNotesAtomListing extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): SlideAndNotesAtomListing.main(new String[0]);
SlideAndNotesAtomListing.main(new String[] {
HSLFTestDataSamples.getSampleFile("slide_master.ppt").getAbsolutePath()
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideIdListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideIdListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideIdListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideIdListing.java Sat Jan 9 15:49:35 2021
@@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Asse
public class TestSlideIdListing extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): SlideIdListing.main(new String[0]);
SlideIdListing.main(new String[] {
HSLFTestDataSamples.getSampleFile("slide_master.ppt").getAbsolutePath()
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowDumper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowDumper.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowDumper.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowDumper.java Sat Jan 9 15:49:35 2021
@@ -40,7 +40,7 @@ public class TestSlideShowDumper extends
}
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// SlideShowDumper calls IOUtils.toByteArray(is), which would fail if a different size is defined
IOUtils.setByteArrayMaxOverride(-1);
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java Sat Jan 9 15:49:35 2021
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
public class TestSlideShowRecordDumper extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
SlideShowRecordDumper.main(new String[] {
HSLFTestDataSamples.getSampleFile("slide_master.ppt").getAbsolutePath(),
});
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestTextStyleListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestTextStyleListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestTextStyleListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestTextStyleListing.java Sat Jan 9 15:49:35 2021
@@ -34,7 +34,7 @@ public class TestTextStyleListing extend
}
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): TextStyleListing.main(new String[0]);
assertThrows(EmptyFileException.class, () -> TextStyleListing.main(new String[]{"invalidfile"}));
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java Sat Jan 9 15:49:35 2021
@@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Asse
public class TestUserEditAndPersistListing extends BasePPTIteratingTest {
@Test
- public void testMain() throws IOException {
+ void testMain() throws IOException {
// calls System.exit(): UserEditAndPersistListing.main(new String[0]);
assertThrows(EmptyFileException.class, () -> UserEditAndPersistListing.main(new String[]{"invalidfile"}));
}
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestCruddyExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestCruddyExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestCruddyExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestCruddyExtractor.java Sat Jan 9 15:49:35 2021
@@ -68,7 +68,7 @@ public final class TestCruddyExtractor {
}
@Test
- public void testReadAsVector() {
+ void testReadAsVector() {
// Extract the text from the file as a vector
List<String> foundTextV = te.getTextAsVector();
@@ -81,7 +81,7 @@ public final class TestCruddyExtractor {
}
@Test
- public void testReadAsString() {
+ void testReadAsString() {
// Extract the text as a String
String foundText = te.getTextAsString();
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java Sat Jan 9 15:49:35 2021
@@ -83,7 +83,7 @@ public final class TestExtractor {
}
@Test
- public void testReadSheetText() throws IOException {
+ void testReadSheetText() throws IOException {
// Basic 2 page example
try (SlideShowExtractor<?,?> ppe = openExtractor("basic_test_ppt_file.ppt")) {
assertEquals(EXPECTED_PAGE1+EXPECTED_PAGE2, ppe.getText());
@@ -103,7 +103,7 @@ public final class TestExtractor {
}
@Test
- public void testReadNoteText() throws IOException {
+ void testReadNoteText() throws IOException {
// Basic 2 page example
try (SlideShowExtractor<?,?> ppe = openExtractor("basic_test_ppt_file.ppt")) {
ppe.setNotesByDefault(true);
@@ -125,7 +125,7 @@ public final class TestExtractor {
}
@Test
- public void testReadBoth() throws IOException {
+ void testReadBoth() throws IOException {
String[] slText = { EXPECTED_PAGE1, EXPECTED_PAGE2 };
String[] ntText = { NOTES_PAGE1, NOTES_PAGE2 };
@@ -149,7 +149,7 @@ public final class TestExtractor {
* core record, we can still get the rest of the text out
*/
@Test
- public void testMissingCoreRecords() throws IOException {
+ void testMissingCoreRecords() throws IOException {
try (SlideShowExtractor<?,?> ppe = openExtractor("missing_core_records.ppt")) {
ppe.setSlidesByDefault(true);
ppe.setNotesByDefault(false);
@@ -170,7 +170,7 @@ public final class TestExtractor {
}
@Test
- public void testExtractFromEmbeded() throws IOException {
+ void testExtractFromEmbeded() throws IOException {
try (final InputStream is = POIDataSamples.getSpreadSheetInstance().openResourceAsStream("excel_with_embeded.xls");
final POIFSFileSystem fs = new POIFSFileSystem(is)) {
final DirectoryNode root = fs.getRoot();
@@ -196,7 +196,7 @@ public final class TestExtractor {
* A powerpoint file with embeded powerpoint files
*/
@Test
- public void testExtractFromOwnEmbeded() throws IOException {
+ void testExtractFromOwnEmbeded() throws IOException {
try (SlideShowExtractor<?,?> ppe = openExtractor("ppt_with_embeded.ppt")) {
List<? extends ObjectShape<?,?>> shapes = ppe.getOLEShapes();
assertEquals(6, shapes.size(), "Expected 6 ole shapes");
@@ -229,7 +229,7 @@ public final class TestExtractor {
* A powerpoint file with embeded powerpoint files
*/
@Test
- public void test52991() throws IOException {
+ void test52991() throws IOException {
try (SlideShowExtractor<?,?> ppe = openExtractor("badzip.ppt")) {
for (ObjectShape<?,?> shape : ppe.getOLEShapes()) {
IOUtils.copy(shape.getObjectData().getInputStream(), new ByteArrayOutputStream());
@@ -241,7 +241,7 @@ public final class TestExtractor {
* From bug #45543
*/
@Test
- public void testWithComments() throws IOException {
+ void testWithComments() throws IOException {
try (final SlideShowExtractor<?,?> ppe = openExtractor("WithComments.ppt")) {
String text = ppe.getText();
assertFalse(text.contains("This is a test comment"), "Comments not in by default");
@@ -269,7 +269,7 @@ public final class TestExtractor {
* From bug #45537
*/
@Test
- public void testHeaderFooter() throws IOException {
+ void testHeaderFooter() throws IOException {
// With a header on the notes
try (InputStream is = slTests.openResourceAsStream("45537_Header.ppt");
HSLFSlideShow ppt = new HSLFSlideShow(is)) {
@@ -304,7 +304,7 @@ public final class TestExtractor {
}
@Test
- public void testSlideMasterText() throws IOException {
+ void testSlideMasterText() throws IOException {
String masterTitleText = "This is the Master Title";
String masterRandomText = "This text comes from the Master Slide";
String masterFooterText = "Footer from the master slide";
@@ -327,7 +327,7 @@ public final class TestExtractor {
}
@Test
- public void testSlideMasterText2() throws IOException {
+ void testSlideMasterText2() throws IOException {
try (final SlideShowExtractor<?,?> ppe = openExtractor("bug62591.ppt")) {
ppe.setMasterByDefault(true);
String text = ppe.getText();
@@ -336,7 +336,7 @@ public final class TestExtractor {
}
@Test
- public void testMasterText() throws IOException {
+ void testMasterText() throws IOException {
try (final SlideShowExtractor<?,?> ppe = openExtractor("master_text.ppt")) {
// Initially not there
String text = ppe.getText();
@@ -366,7 +366,7 @@ public final class TestExtractor {
* Bug #54880 Chinese text not extracted properly
*/
@Test
- public void testChineseText() throws IOException {
+ void testChineseText() throws IOException {
try (final SlideShowExtractor<?,?> ppe = openExtractor("54880_chinese.ppt")) {
String text = ppe.getText();
@@ -390,7 +390,7 @@ public final class TestExtractor {
*/
@SuppressWarnings("resource")
@Test
- public void testDifferentPOIFS() throws IOException {
+ void testDifferentPOIFS() throws IOException {
// Open the two filesystems
File pptFile = slTests.getFile("basic_test_ppt_file.ppt");
try (final POIFSFileSystem poifs = new POIFSFileSystem(pptFile, true)) {
@@ -403,7 +403,7 @@ public final class TestExtractor {
}
@Test
- public void testTable() throws Exception {
+ void testTable() throws Exception {
try (SlideShowExtractor<?,?> ppe = openExtractor("54111.ppt")) {
String text = ppe.getText();
String target = "TH Cell 1\tTH Cell 2\tTH Cell 3\tTH Cell 4\n" +
@@ -426,7 +426,7 @@ public final class TestExtractor {
// bug 60003
@Test
- public void testExtractMasterSlideFooterText() throws Exception {
+ void testExtractMasterSlideFooterText() throws Exception {
try (SlideShowExtractor<?,?> ppe = openExtractor("60003.ppt")) {
ppe.setMasterByDefault(true);
@@ -436,7 +436,7 @@ public final class TestExtractor {
}
@Test
- public void testExtractGroupedShapeText() throws Exception {
+ void testExtractGroupedShapeText() throws Exception {
try (final SlideShowExtractor<?,?> ppe = openExtractor("bug62092.ppt")) {
final String text = ppe.getText();
Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestFreeform.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestFreeform.java?rev=1885302&r1=1885301&r2=1885302&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestFreeform.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestFreeform.java Sat Jan 9 15:49:35 2021
@@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test;
public final class TestFreeform {
@Test
- public void testClosedPath() {
+ void testClosedPath() {
Path2D.Double path1 = new Path2D.Double();
path1.moveTo(100, 100);
@@ -56,7 +56,7 @@ public final class TestFreeform {
}
@Test
- public void testLine() {
+ void testLine() {
Path2D.Double path1 = new Path2D.Double(new Line2D.Double(100, 100, 200, 100));
@@ -68,7 +68,7 @@ public final class TestFreeform {
}
@Test
- public void testRectangle() {
+ void testRectangle() {
Path2D.Double path1 = new Path2D.Double(new Rectangle2D.Double(100, 100, 200, 50));
@@ -84,7 +84,7 @@ public final class TestFreeform {
* GEOMETRY__SEGMENTINFO is missing, see Bugzilla 54188
*/
@Test
- public void test54188() {
+ void test54188() {
HSLFFreeformShape p = new HSLFFreeformShape();
Path2D path = p.getPath();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org