public class CreateUserTest extends Object
| Constructor and Description |
|---|
CreateUserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
setup() |
void |
testAnonymousSelfRegistrationDisabled()
Test for SLING-1642 to verify that user self-registration by the anonymous
user is not allowed by default.
|
void |
testAuthorizedCreateUser() |
void |
testCreateUser() |
void |
testCreateUserCustomPostResponse()
Test for SLING-7831
|
void |
testCreateUserMissingPwd() |
void |
testCreateUserMissingUserId() |
void |
testCreateUserResponseAsJSON()
Test for SLING-1677
|
void |
testCreateUserUserAlreadyExists() |
void |
testCreateUserWithExtraProperties() |
void |
testCreateUserWrongConfirmPwd() |
void |
testNotAuthorizedCreateUser() |
public void testCreateUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testNotAuthorizedCreateUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAuthorizedCreateUser()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCreateUserMissingUserId()
throws IOException
IOExceptionpublic void testCreateUserMissingPwd()
throws IOException
IOExceptionpublic void testCreateUserWrongConfirmPwd()
throws IOException
IOExceptionpublic void testCreateUserUserAlreadyExists()
throws IOException
IOExceptionpublic void testCreateUserWithExtraProperties()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testAnonymousSelfRegistrationDisabled()
throws IOException
IOExceptionpublic void testCreateUserResponseAsJSON()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionpublic void testCreateUserCustomPostResponse()
throws IOException,
javax.json.JsonException
IOExceptionjavax.json.JsonExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.