Class TestUUIDIdentifierServiceV6

java.lang.Object
com.buralotech.oss.identifier.uuid.TestUUIDIdentifierServiceV6

class TestUUIDIdentifierServiceV6 extends Object
  • Field Details

  • Constructor Details

    • TestUUIDIdentifierServiceV6

      TestUUIDIdentifierServiceV6()
  • Method Details

    • generatedIdentifierIsConsistent

      @Test void generatedIdentifierIsConsistent()
    • identifiersAreSortable

      @Test void identifiersAreSortable()
    • identifierRepresentationsAreSortable

      @Test void identifierRepresentationsAreSortable()
    • goodIdentifiers

      static Stream<org.junit.jupiter.params.provider.Arguments> 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

      static Stream<org.junit.jupiter.params.provider.Arguments> rejectBadBinaryRepresentation()
    • rejectBadBinaryRepresentation

      @ParameterizedTest @NullSource @MethodSource void rejectBadBinaryRepresentation(byte[] binary)
    • extractInstant

      @Test void extractInstant()
    • checkInstant

      static Stream<org.junit.jupiter.params.provider.Arguments> checkInstant()
    • checkInstant

      @ParameterizedTest @MethodSource void checkInstant(String text, long millis)
    • 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()