Class ResourceResolverApiTest
- java.lang.Object
-
- org.apache.sling.launchpad.webapp.integrationtest.resourceresolver.ResourceResolverApiTest
-
public class ResourceResolverApiTest extends Object
Various ResourceResolver API tests, converted to teleported tests from the previous resourceresolver-api.jsp script.
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.sling.junit.rules.TeleporterRule
teleporter
-
Constructor Summary
Constructors Constructor Description ResourceResolverApiTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
setup()
void
testDelete()
void
testNullRequest()
void
testNullResourceMapsToRoot()
void
testRelativePathsA()
void
testRelativePathsB()
void
testResolutionFailsA()
void
testResolutionFailsB()
void
testResolutionFailsC()
-
-
-
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
-
-