Skip to content

Test Result : JavaNameGeneratorTest

0 failures (±0)
10 tests (±0)
Took 0.27 sec.

All Tests

Test nameDurationStatus
generateJavaNameForIriGeneratesValidJavaIdentifiersForIriWithNonAsciiCharacters0.22 secPassed
generateJavaNameForIriSanitizesJavaKeywords3 msPassed
generateJavaNameForIriUsesFragmentWhenIriContainsIt3 msPassed
generateJavaNameForIriUsesPartBetweenLastAndSecondToLastSlashWhenSlashIsLastChar3 msPassed
generateJavaNameForIriUsesPartBetweenLastHashAndFragmentWhenFragmentIsLastChar4 msPassed
generatePrefixedJavaNameForIriResolvesPrefixFromOntologyIriWhenNoPrefixIsRegisteredInPrefixMap6 msPassed
generatePrefixedJavaNameForIriReturnsNameWithoutPrefixWhenOntologyIdIsAnonymous4 msPassed
generatePrefixedJavaNameForIriUsesPrefixRegisteredForOntologyIri3 msPassed
generatedPrefixedJavaNameForIriReturnsValidJavaNameWhenPrefixContainsDashes19 msPassed
toCamelCaseNotationCamelCasesStringsSeparatedByUnderscore2 msPassed