コード例 #1
0
  public void addTestCaseExecutionDetails() throws Exception {

    activityObj.setActivityId("001");
    testCaseObj.setActivityObj(activityObj);

    testCaseObj.setTestCaseId("001");

    userObj.setUserId("12");
    testCaseObj.setUserObj(userObj);

    testCaseObj.setActualDate(new Date(1970, 01, 01));
    testCaseObj.setTestCaseStatus("complete");
    testCaseObj.setComments("better");
    testCaseObj.setActualBehaviour("got value");

    System.out.println(tmsManager.addTestCaseExecutionDetails(testCaseObj));
  }
コード例 #2
0
  public void createTestCase() throws Exception {
    testCaseObj.setTestCaseId("15");
    testCaseObj.setTestCaseDescription("this s Next testcase Description");
    testCaseObj.setTestCasePhase("normal ");

    Project projectObj = new Project();
    projectObj.setProjectId("2");
    testCaseObj.setProjectObj(projectObj);

    User userObj = new User();
    userObj.setUserId("123");
    testCaseObj.setUserObj(userObj);

    Activity activityObj = new Activity();
    activityObj.setActivityId("001");
    testCaseObj.setActivityObj(activityObj);

    testCaseObj.setExpectedBehaviour("Bad");
    System.out.println(tmsManager.createTestCase(testCaseObj));
  }
コード例 #3
0
 public void updateTestCaseExecutionDetails() throws Exception {
   testCaseObj.setTestCaseStatus("Complete");
   testCaseObj.setTestCaseId("001");
   System.out.println(tmsManager.updateTestCaseExecutionDetails(testCaseObj));
 }
コード例 #4
0
 public void deleteTestCase() throws Exception {
   testCaseObj.setTestCaseId("15");
   System.out.println(tmsManager.deleteTestCase(testCaseObj.getTestCaseId()));
 }
コード例 #5
0
 public void updateTestCase() throws Exception {
   testCaseObj.setExpectedBehaviour("Excellent");
   testCaseObj.setTestCaseId("15");
   System.out.println(tmsManager.updateTestCase(testCaseObj));
 }