Class TestUUIDIdentifierServiceV7
java.lang.Object
com.buralotech.oss.identifier.uuid.TestUUIDIdentifierServiceV7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Stream<org.junit.jupiter.params.provider.Arguments> (package private) voidcheckInstant(String text, long millis) (package private) void(package private) void(package private) static Stream<org.junit.jupiter.params.provider.Arguments> (package private) void(package private) void(package private) voidparseGoodBinaryRepresentations(String text, byte[] binary) (package private) voidparseGoodTextRepresentations(String text, byte[] binary) (package private) static Stream<org.junit.jupiter.params.provider.Arguments> (package private) voidrejectBadBinaryRepresentation(byte[] binary) (package private) voidvoidvoidvoidvoidvoid
-
Field Details
-
identifierService
-
-
Constructor Details
-
TestUUIDIdentifierServiceV7
TestUUIDIdentifierServiceV7()
-
-
Method Details
-
generatedIdentifierIsConsistent
@Test void generatedIdentifierIsConsistent() -
identifiersAreSortable
- Throws:
InterruptedException
-
identifierRepresentationsAreSortable
- Throws:
InterruptedException
-
goodIdentifiers
-
parseGoodTextRepresentations
@ParameterizedTest @MethodSource("goodIdentifiers") void parseGoodTextRepresentations(String text, byte[] binary) -
parseGoodBinaryRepresentations
@ParameterizedTest @MethodSource("goodIdentifiers") void parseGoodBinaryRepresentations(String text, byte[] binary) -
rejectBadTextualRepresentation
@ParameterizedTest @NullSource @ValueSource(strings={"","3TnesPWMmyqTHniq6DPq0","3TnesPWMmyuTHniq6DPq0J","ITnesPWMmyuTHniq6DPq0F","3TnesPWMmyuTHniq6DPq0Fk"}) void rejectBadTextualRepresentation(String text) -
rejectBadBinaryRepresentation
-
rejectBadBinaryRepresentation
@ParameterizedTest @NullSource @MethodSource void rejectBadBinaryRepresentation(byte[] binary) -
extractInstant
@Test void extractInstant() -
checkInstant
-
checkInstant
-
testInstantBounds
@Test public void testInstantBounds() -
testLocalDateBounds
@Test public void testLocalDateBounds() -
testLocalDateTimeBounds
@Test public void testLocalDateTimeBounds() -
testOffsetDateTimeBounds
@Test public void testOffsetDateTimeBounds() -
testZonedDateTimeBounds
@Test public void testZonedDateTimeBounds()
-