コード例 #1
0
 /*--------------------------------------------UpdateTestPhase---------------------------------------*/
 public void updateTestPhase() throws Exception {
   testPhaseObj.setPhaseId("101");
   testPhaseObj.setPhaseName("functional testing");
   projectObj.setProjectId("002");
   testPhaseObj.setProjectObj(projectObj);
   testPhaseObj.setDescription("test phase function test under process");
   testPhaseObj.setIsAlive(1);
   testPhaseObj.setTimeStamp("null");
   System.out.println(tmsManager.updateTestPhase(testPhaseObj));
 }
コード例 #2
0
 /* ---------------------------------------------- CreateTest phase -------------------------------------*/
 public void createTestPhase() throws Exception {
   testPhaseObj.setPhaseId("101");
   testPhaseObj.setPhaseName("System test");
   projectObj.setProjectId("003");
   testPhaseObj.setProjectObj(projectObj);
   testPhaseObj.setDescription(" this is phase System test");
   testPhaseObj.setIsAlive(0);
   testPhaseObj.setTimeStamp("null");
   System.out.println(tmsManager.createTestPhase(testPhaseObj));
 }