Class CreateUserRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.adobe.cq.testing.client.security.CreateUserRule
-
- All Implemented Interfaces:
UserRule
,org.junit.rules.TestRule
@Deprecated public class CreateUserRule extends org.junit.rules.ExternalResource implements UserRule
Deprecated.UserTemporaryUser
instead.Create and cleanup at the end a user belonging to the Authors group
-
-
Constructor Summary
Constructors Constructor Description CreateUserRule(org.apache.sling.testing.junit.rules.instance.Instance instanceRule, String... groups)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
after()
Deprecated.protected void
before()
Deprecated.CQClient
getClient()
Deprecated.Supplier<org.apache.sling.testing.clients.SlingClient>
getClientSupplier()
Deprecated.
-
-
-
Constructor Detail
-
CreateUserRule
public CreateUserRule(org.apache.sling.testing.junit.rules.instance.Instance instanceRule, String... groups)
Deprecated.
-
-
Method Detail
-
before
protected void before() throws Throwable
Deprecated.- Overrides:
before
in classorg.junit.rules.ExternalResource
- Throws:
Throwable
-
after
protected void after()
Deprecated.- Overrides:
after
in classorg.junit.rules.ExternalResource
-
getClientSupplier
public Supplier<org.apache.sling.testing.clients.SlingClient> getClientSupplier()
Deprecated.- Returns:
- a
SlingClient
Supplier
-
-