Top Description Constructors Methods
com.dd.plist.test

public Class IssueTest

extends Object
Class Inheritance
Imports
com.dd.plist.*, java.nio.charset.Charset, .StandardCharsets, org.junit.jupiter.api.Test, org.junit.jupiter.params.ParameterizedTest, org.junit.jupiter.params.provider.Arguments, .MethodSource, org.xml.sax.SAXParseException, java.io.*, java.math.BigInteger, java.nio.file.Files, java.text.ParseException, java.util.Objects, java.util.stream.Stream, java.util.zip.GZIPInputStream, .GZIPOutputStream

Regression tests for various issues and bugs that have been encountered

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static Stream<Arguments>
private static Stream<Arguments>
private static Stream<Arguments>
private static String
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IssueTestback to summary
public IssueTest()

Method Detail

provideIssue74ErrorFilesback to summary
private static Stream<Arguments> provideIssue74ErrorFiles()
provideIssue75ErrorFilesback to summary
private static Stream<Arguments> provideIssue75ErrorFiles()
provideIssue82ErrorFilesback to summary
private static Stream<Arguments> provideIssue82ErrorFiles()
readInputStreamback to summary
private static String readInputStream(InputStream s, Charset charset) throws IOException
testGzipInputStreamback to summary
public void testGzipInputStream() throws Exception
Annotations
@Test
testIssue31_FalsePositiveForGZipInsideDataElementback to summary
public void testIssue31_FalsePositiveForGZipInsideDataElement() throws Exception
Annotations
@Test
testIssue42_OutOfMemoryErrorWhenBinaryPropertyListTrailerIsCorruptback to summary
public void testIssue42_OutOfMemoryErrorWhenBinaryPropertyListTrailerIsCorrupt()
Annotations
@Test
testIssue49_NSNumberToFloatback to summary
public void testIssue49_NSNumberToFloat()
Annotations
@Test
testIssue51_BillionLaughsAttackback to summary
public void testIssue51_BillionLaughsAttack()
Annotations
@Test
testIssue67_EmptyAsciiPlistback to summary
public void testIssue67_EmptyAsciiPlist()
Annotations
@Test
testIssue72_OutOfMemory_BinaryPlistback to summary
public void testIssue72_OutOfMemory_BinaryPlist()
Annotations
@Test
testIssue73_AsciiPropertyListWithNonHexadecimalDataback to summary
public void testIssue73_AsciiPropertyListWithNonHexadecimalData()
Annotations
@Test
testIssue73_AsciiPropertyListWithNullBytesInCommentback to summary
public void testIssue73_AsciiPropertyListWithNullBytesInComment()
Annotations
@Test
testIssue73_BinaryPropertyListDataTooShortback to summary
public void testIssue73_BinaryPropertyListDataTooShort()
Annotations
@Test
testIssue73_BinaryPropertyListHeaderWithTwoByteUnicodeCharback to summary
public void testIssue73_BinaryPropertyListHeaderWithTwoByteUnicodeChar()
Annotations
@Test
testIssue73_FileTooShortback to summary
public void testIssue73_FileTooShort()
Annotations
@Test
testIssue73_InvalidBinaryPropertyListHeaderback to summary
public void testIssue73_InvalidBinaryPropertyListHeader()
Annotations
@Test
testIssue74_UnsupportedOperationExceptionback to summary
public void testIssue74_UnsupportedOperationException(File file)
Annotations
@ParameterizedTest
@MethodSource:provideIssue74ErrorFiles
testIssue75_CyclicReferencesInBinaryPropertyListsback to summary
public void testIssue75_CyclicReferencesInBinaryPropertyLists(File file)
Annotations
@ParameterizedTest
@MethodSource:provideIssue75ErrorFiles
testIssue76_UnexpectedIllegalArgumentExceptionForInvalidNumberInAsciiPropertyListback to summary
public void testIssue76_UnexpectedIllegalArgumentExceptionForInvalidNumberInAsciiPropertyList()
Annotations
@Test
testIssue76_UnexpectedIllegalArgumentExceptionForInvalidNumberInXmlPropertyListback to summary
public void testIssue76_UnexpectedIllegalArgumentExceptionForInvalidNumberInXmlPropertyList()
Annotations
@Test
testIssue78_NullReferenceExceptionForInvalidNSDictionaryKeyback to summary
public void testIssue78_NullReferenceExceptionForInvalidNSDictionaryKey()
Annotations
@Test
testIssue80_ClassCastExceptionForUidAddedToSetback to summary
public void testIssue80_ClassCastExceptionForUidAddedToSet()
Annotations
@Test
testIssue82_IndexOutOfBoundsExceptionsback to summary
public void testIssue82_IndexOutOfBoundsExceptions(File file)
Annotations
@ParameterizedTest
@MethodSource:provideIssue82ErrorFiles
testIssue88_providesCorrectErrorIndexback to summary
public void testIssue88_providesCorrectErrorIndex() throws Exception
Annotations
@Test