Class ResourceResolverApiTest


  • public class ResourceResolverApiTest
    extends Object
    Various ResourceResolver API tests, converted to teleported tests from the previous resourceresolver-api.jsp script.
    • Field Detail

      • teleporter

        public final org.apache.sling.junit.rules.TeleporterRule teleporter
    • Constructor Detail

      • ResourceResolverApiTest

        public ResourceResolverApiTest()
    • Method Detail

      • setup

        public void setup()
                   throws org.apache.sling.api.resource.LoginException
        Throws:
        org.apache.sling.api.resource.LoginException
      • cleanup

        public void cleanup()
                     throws org.apache.sling.api.resource.LoginException
        Throws:
        org.apache.sling.api.resource.LoginException
      • testNullResourceMapsToRoot

        public void testNullResourceMapsToRoot()
      • testRelativePathsA

        public void testRelativePathsA()
      • testRelativePathsB

        public void testRelativePathsB()
      • testNullRequest

        public void testNullRequest()
      • testResolutionFailsA

        public void testResolutionFailsA()
      • testResolutionFailsB

        public void testResolutionFailsB()
      • testResolutionFailsC

        public void testResolutionFailsC()
      • testDelete

        public void testDelete()
                        throws org.apache.sling.api.resource.PersistenceException
        Throws:
        org.apache.sling.api.resource.PersistenceException