Package ai.tock.bot.admin.test
Interface TestPlanDAO
-
- All Implemented Interfaces:
public interface TestPlanDAO
-
-
Method Summary
Modifier and Type Method Description abstract UnitsaveTestPlan(TestPlan testPlan)Save the given common test plan into the mongo database. abstract UnitremoveTestPlan(Id<TestPlan> planId)Remove the given test plan from the database. abstract UnitsaveTestExecution(TestPlanExecution testPlanExecution)Save the given common test plan execution into the mongo database. abstract List<TestPlan>getTestPlans()abstract TestPlangetTestPlan(Id<TestPlan> testPlanId)abstract List<TestPlan>getPlansByApplicationId(String applicationId)abstract List<TestPlanExecution>getPlanExecutions(Id<TestPlan> testPlanId)abstract TestPlanExecutiongetPlanExecution(Id<TestPlan> testPlanId)abstract TestPlanExecutiongetTestPlanExecution(TestPlan testPlan, Id<TestPlanExecution> testPlanExecutionId)-
-
Method Detail
-
saveTestPlan
abstract Unit saveTestPlan(TestPlan testPlan)
Save the given common test plan into the mongo database.
- Parameters:
testPlan- is the test plan to save.
-
removeTestPlan
abstract Unit removeTestPlan(Id<TestPlan> planId)
Remove the given test plan from the database.
- Parameters:
planId- is the identifier of the common test plan to remove from the database.
-
saveTestExecution
abstract Unit saveTestExecution(TestPlanExecution testPlanExecution)
Save the given common test plan execution into the mongo database.
- Parameters:
testPlanExecution- is the test plan execution to save.
-
getTestPlans
abstract List<TestPlan> getTestPlans()
-
getTestPlan
abstract TestPlan getTestPlan(Id<TestPlan> testPlanId)
-
getPlansByApplicationId
abstract List<TestPlan> getPlansByApplicationId(String applicationId)
-
getPlanExecutions
abstract List<TestPlanExecution> getPlanExecutions(Id<TestPlan> testPlanId)
-
getPlanExecution
abstract TestPlanExecution getPlanExecution(Id<TestPlan> testPlanId)
-
getTestPlanExecution
abstract TestPlanExecution getTestPlanExecution(TestPlan testPlan, Id<TestPlanExecution> testPlanExecutionId)
-
-
-
-