Class PrefixesTest


  • public class PrefixesTest
    extends Object
    Reference Test class for Prefixes
    • Constructor Detail

      • PrefixesTest

        public PrefixesTest()
    • Method Detail

      • setUp

        public void setUp()
      • testEmptyPrefixes

        public void testEmptyPrefixes()
      • testUndefinedPrefix

        public void testUndefinedPrefix()
      • testCannotAbbreviateUndefined

        public void testCannotAbbreviateUndefined()
      • testCannotExpandUndefined

        public void testCannotExpandUndefined()
      • testAddPrefix

        public void testAddPrefix()
      • testCheckForDeclaredPrefix

        public void testCheckForDeclaredPrefix()
      • testCanExpandDeclaredPrefix

        public void testCanExpandDeclaredPrefix()
      • testCanContractDeclaredNamespace

        public void testCanContractDeclaredNamespace()
      • testExpandOnlyAcceptsCURIEs

        public void testExpandOnlyAcceptsCURIEs()
      • testCanExpandOnlyAcceptsCURIEs

        public void testCanExpandOnlyAcceptsCURIEs()
      • testEmptyPrefix

        public void testEmptyPrefix()
      • testCannotAddPrefixTwice

        public void testCannotAddPrefixTwice()
      • testCanReAssignToSameIRI

        public void testCanReAssignToSameIRI()
      • testRemovePrefixResultsInEmptyMapping

        public void testRemovePrefixResultsInEmptyMapping()
      • testCanAddAfterRemoving

        public void testCanAddAfterRemoving()
      • testMergeEmptyPrefixes

        public void testMergeEmptyPrefixes()
      • testMergePrefixesWithoutConflict

        public void testMergePrefixesWithoutConflict()
      • testCreate1

        public void testCreate1()
      • testMergePrefixesWithConflictRaisesException

        public void testMergePrefixesWithConflictRaisesException()
      • testMergePrefixesWithConflictButSameNamespace

        public void testMergePrefixesWithConflictButSameNamespace()
      • testCreateSubset

        public void testCreateSubset()
      • testCreateSubsetWithUndefinedPrefixThrowsException

        public void testCreateSubsetWithUndefinedPrefixThrowsException()
      • testAsMapEmpty

        public void testAsMapEmpty()
      • testAsMapIsUnmodifiable

        public void testAsMapIsUnmodifiable()
      • testAddVolatile

        public void testAddVolatile()
      • testAddVolatileNeverFails

        public void testAddVolatileNeverFails()
      • testRemoveVolatilePrefix

        public void testRemoveVolatilePrefix()
      • testIsVolatile

        public void testIsVolatile()
      • testUndefinedPrefixIsNotVolatile

        public void testUndefinedPrefixIsNotVolatile()
      • testAddVolatileDoesNotOverwriteHardMapping

        public void testAddVolatileDoesNotOverwriteHardMapping()
      • testAddVolatileDoesNotOverwriteVolatileMapping

        public void testAddVolatileDoesNotOverwriteVolatileMapping()
      • testAddHardOverwritesVolatileMapping

        public void testAddHardOverwritesVolatileMapping()
      • testMergeWithVolatile

        public void testMergeWithVolatile()
      • testAddPrefixesAsVolatile

        public void testAddPrefixesAsVolatile()
      • testIncompatiblePrefixesInMergeAreDetected

        public void testIncompatiblePrefixesInMergeAreDetected()
      • testNewPrefixesFromOtherPrefixesAreIndependent

        public void testNewPrefixesFromOtherPrefixesAreIndependent()