Package org.gbif.api.util
Class IdentifierUtilsTest
java.lang.Object
org.gbif.api.util.IdentifierUtilsTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Stream<org.junit.jupiter.params.provider.Arguments>A test is run for each set of parameters.voidvoidtestGetIdentifierLink(String expected, String identifier, IdentifierType type) voidtestGetIdentifierLinkWithoutIdentifer(String expected, String identifier, IdentifierType type) voidtestGetIdentifierLinkWithoutType(String expected, String identifier, IdentifierType type) void
-
Constructor Details
-
IdentifierUtilsTest
public IdentifierUtilsTest()
-
-
Method Details
-
getTestParameters
A test is run for each set of parameters. To add a new test, just add a new set of parameters. -
testGetIdentifierLink
@ParameterizedTest @MethodSource("getTestParameters") public void testGetIdentifierLink(String expected, String identifier, IdentifierType type) -
testGetIdentifierLinkWithoutIdentifer
@ParameterizedTest @MethodSource("getTestParameters") public void testGetIdentifierLinkWithoutIdentifer(String expected, String identifier, IdentifierType type) -
testGetIdentifierLinkWithoutType
@ParameterizedTest @MethodSource("getTestParameters") public void testGetIdentifierLinkWithoutType(String expected, String identifier, IdentifierType type) -
wikidataValidatorTest
-
rorIDValidatorTest
-
CLBDatasetKeyValidatorTest
-