Top Description Constructors Methods
com.dd.plist.test

public Class UidTest

extends Object
Class Inheritance
Imports
com.dd.plist.UID, org.junit.jupiter.api.Test, org.junit.jupiter.params.ParameterizedTest, org.junit.jupiter.params.provider.Arguments, .MethodSource, java.util.stream.Stream

Tests for the UID class.
Author
Daniel Dreibrodt

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
compareToAndEquals_worksCorrectly(UID a, UID b, int expectation)

public void
public void
private static Stream<Arguments>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UidTestback to summary
public UidTest()

Method Detail

compareToAndEquals_worksCorrectlyback to summary
public void compareToAndEquals_worksCorrectly(UID a, UID b, int expectation)
Annotations
@ParameterizedTest
@MethodSource:provideUIDs
getBytes_returnsMinimumPossibleLengthback to summary
public void getBytes_returnsMinimumPossibleLength()
Annotations
@Test
init_throwsIllegalArgumentExceptionForMoreThan16Bytesback to summary
public void init_throwsIllegalArgumentExceptionForMoreThan16Bytes()
Annotations
@Test
provideUIDsback to summary
private static Stream<Arguments> provideUIDs()