/*--------------------------------------------ViewTestPhase-----------------------------------------*/ public void getTestPhase() throws Exception { testPhaseObj.setPhaseId("101"); TestPhase phaseObj = tmsManager.getTestPhase(testPhaseObj.getPhaseId()); System.out.println("phase_id: " + phaseObj.getPhaseId()); System.out.println("phase_name: " + phaseObj.getPhaseName()); projectObj = phaseObj.getProjectObj(); System.out.println("project_id: " + projectObj.getProjectId()); System.out.println("description: " + phaseObj.getDescription()); System.out.println("is_alive: " + phaseObj.getIsAlive()); System.out.println("time_stamp: " + phaseObj.getTimeStamp()); }
/*---------------------------------------------------VieTestPhase----------------------------*/ public void getTestActivity() throws Exception { activityObj.setActivityId("1001"); Activity activityObj1 = tmsManager.getTestActivity(activityObj.getActivityId()); System.out.println("activity_id: " + activityObj1.getActivityId()); TestPhase testphaseObj1 = activityObj1.getTestPhaseObj(); System.out.println("phase_id: " + testphaseObj1.getPhaseId()); System.out.println("activity_name: " + activityObj1.getActivityName()); System.out.println("activity_description: " + activityObj1.getActivityDescription()); System.out.println("activity_type: " + activityObj1.getActivityType()); System.out.println("start_date: " + activityObj1.getStartDate()); System.out.println("end_date: " + activityObj1.getEndDate()); System.out.println("activity_effort: " + activityObj1.getActivityEffort()); System.out.println("status: " + activityObj1.getStatus()); userObj = activityObj.getUserObj(); System.out.println("emp_no: " + userObj.getEmpNo()); System.out.println("time_stamp: " + activityObj1.getTimeStamp()); }
public void deleteTestPhase() throws Exception { testPhaseObj.setPhaseId("101"); System.out.println(tmsManager.deleteTestPhase(testPhaseObj.getPhaseId())); }