public class BasicJobPlanTests extends MaxUnitTestBase
online, random
Constructor and Description |
---|
BasicJobPlanTests() |
Modifier and Type | Method and Description |
---|---|
void |
changeStatusOnListPageAffectsPreviousReviousStatus()
From the list page if you select a cancelled jobplan and change status to active, it will affect the
previous job plan's status putting it in an invalid state, even though it cannot move from cancel to active.
|
void |
changeStatusOnListPageAffectsPreviousReviousStatusWhenAllAreSelectedForTheSameJobPlan()
From the list page if you select a cancelled jobplan and change status to active, it will affect the
previous job plan's status putting it in an invalid state, even though it cannot move from cancel to active.
|
void |
inactivatePersonOnCancelledJobPlan()
PMR 49491,800,624 - Can't deactivate person on cancelled jobplan.
|
void |
testISSUE_12_12879() |
contextSetUp, getUserInfo, log, newMBO, rand, runningLocal, setUp, tearDown
public void inactivatePersonOnCancelledJobPlan() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testISSUE_12_12879() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void changeStatusOnListPageAffectsPreviousReviousStatus() throws java.rmi.RemoteException, MXException
Replication Steps: 1. Go to Job Plans application. 2. Create a new jobplan. 3. Change its status to ACTIVE. 4. Revise the job plan. 5. Change the status of the new revision to CANCEL. 6. Now there are two revisions of the job plan - revision 0 is active and revision 1 is cancelled. 7. Open revision 1 on the "Job Plan" tab and try to change its status to ACTIVE. It is not possible => correct. 8. Select revision 1 on the "List" tab and try to change its status to ACTIVE. It is not possible, but the status of revision 0 is changed to REVISED => wrong The job plan is now effectively inactive because both revisions are in the history and cannot be modified anymore.
java.rmi.RemoteException
MXException
public void changeStatusOnListPageAffectsPreviousReviousStatusWhenAllAreSelectedForTheSameJobPlan() throws java.rmi.RemoteException, MXException
Replication Steps: 1. Go to Job Plans application. 2. Create a new jobplan. 3. Change its status to ACTIVE. 4. Revise the job plan. 5. Change the status of the new revision to CANCEL. 6. Now there are two revisions of the job plan - revision 0 is active and revision 1 is cancelled. 7. Open revision 1 on the "Job Plan" tab and try to change its status to ACTIVE. It is not possible => correct. 8. Select revision 1 AND revision 0 on the "List" tab and try to change its status to ACTIVE. It is not possible, but the status of revision 0 is changed to REVISED => wrong The job plan is now effectively inactive because both revisions are in the history and cannot be modified anymore.
java.rmi.RemoteException
MXException