public class CreateUserApiTest extends ComponentBaseTest
ComponentBaseTest.ComponentOperationEnum
Modifier and Type | Field and Description |
---|---|
protected static String |
ADD_USER |
static int |
INVALID_ROLE |
static org.junit.rules.TestName |
name |
protected User |
sdncAdminUser |
protected User |
sdncDesignerUser |
protected User |
sdncGovernorUser |
protected User |
sdncTesterUser |
static int |
STATUS_CODE_INVALID_CONTENT |
static int |
STATUS_CODE_MISSING_DATA |
static int |
STATUS_CODE_MISSING_INFORMATION |
static int |
STATUS_CODE_NOT_FOUND |
static int |
STATUS_CODE_RESTRICTED_ACCESS |
static int |
STATUS_CODE_RESTRICTED_OPERATION |
static int |
STATUS_CODE_SUCCESS |
static int |
STATUS_CODE_SUCCESS_DELETE_GET |
static int |
STATUS_CODE_SUCSESS_CREATED |
static int |
USER_ALREADY_EXIST |
config, extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
CreateUserApiTest() |
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
protected User sdncAdminUser
protected User sdncDesignerUser
protected User sdncGovernorUser
protected User sdncTesterUser
public static final int STATUS_CODE_SUCCESS
public static final int STATUS_CODE_SUCSESS_CREATED
public static final int STATUS_CODE_SUCCESS_DELETE_GET
public static final int STATUS_CODE_INVALID_CONTENT
public static final int STATUS_CODE_MISSING_DATA
public static final int STATUS_CODE_MISSING_INFORMATION
public static final int STATUS_CODE_RESTRICTED_ACCESS
public static final int STATUS_CODE_NOT_FOUND
public static final int STATUS_CODE_RESTRICTED_OPERATION
public static final int USER_ALREADY_EXIST
public static final int INVALID_ROLE
public static org.junit.rules.TestName name
protected static final String ADD_USER
public void init()
public void setup() throws IOException
IOException
public void updateOpsUserRolebyDesigner() throws Exception
Exception
public void updateOpsUserRolebyTester() throws Exception
Exception
public void updateOpsUserRoleFromOpsToDesigner() throws Exception
Exception
public void updateOpsUserRoleFromOpsToTester() throws Exception
Exception
public void updateOpsUserRoleByTester() throws Exception
Exception
public void updateOpsUserRoleByDesigner() throws Exception
Exception
public void createOpsUserAlreadyExist() throws Exception
Exception
public void updateUserRoleDesignerToGovernor() throws Exception
Exception
public void updateRoleToDeactivatedUser() throws Exception
Exception
public void updateRoleForNonExistingUser() throws Exception
Exception
public void updateRoleFromGovernorToTester() throws Exception
Exception
public void updateRoleFromGovernorToDesigner() throws Exception
Exception
public void updateRoleFromGovernorToOps() throws Exception
Exception
public void updateRoleFromGovernorToAdmin() throws Exception
Exception
public void updateRoleToNonExistingRole() throws Exception
Exception
public void createProductStrategistUser() throws Exception
Exception
public void createProductStrategistUserByNonAdminUser() throws Exception
Exception
public void createProductManagerUserByNonAdminUser() throws Exception
Exception
public void createProductStrategistUserByNonExistingUser() throws Exception
Exception
public void createProductManagerUserByNonExistingUser() throws Exception
Exception
public void updateProductStrategistRole() throws Exception
Exception
public void createProductManagerUserAlreadyExit() throws Exception
Exception
public void createProductStrategistUserAlreadyExit() throws Exception
Exception
public void UpdateProductStrategistToNonExistingRole() throws Exception
Exception
Copyright © 2017. All rights reserved.