Search in sources :

Example 6 with TestPlanVo

use of com.ngtesting.platform.vo.TestPlanVo in project ngtesting-platform by aaronchen2k.

the class PlanServiceImpl method getById.

@Override
public TestPlanVo getById(Long caseId) {
    TestPlan po = (TestPlan) get(TestPlan.class, caseId);
    TestPlanVo vo = genVo(po);
    return vo;
}
Also used : TestPlanVo(com.ngtesting.platform.vo.TestPlanVo) TestPlan(com.ngtesting.platform.entity.TestPlan)

Aggregations

TestPlanVo (com.ngtesting.platform.vo.TestPlanVo)6 TestPlan (com.ngtesting.platform.entity.TestPlan)4 JSONObject (com.alibaba.fastjson.JSONObject)2 AuthPassport (com.ngtesting.platform.util.AuthPassport)2 UserVo (com.ngtesting.platform.vo.UserVo)2 HashMap (java.util.HashMap)2 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)2 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)2 Constant (com.ngtesting.platform.config.Constant)1 TestRun (com.ngtesting.platform.entity.TestRun)1 TestSuite (com.ngtesting.platform.entity.TestSuite)1 TestRunVo (com.ngtesting.platform.vo.TestRunVo)1 TestSuiteVo (com.ngtesting.platform.vo.TestSuiteVo)1 LinkedList (java.util.LinkedList)1