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.TeleporterRuleteleporter
-
Constructor Summary
Constructors Constructor Description ResourceResolverApiTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidsetup()voidtestDelete()voidtestNullRequest()voidtestNullResourceMapsToRoot()voidtestRelativePathsA()voidtestRelativePathsB()voidtestResolutionFailsA()voidtestResolutionFailsB()voidtestResolutionFailsC()
-
-
-
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
-
-