public interface ExecutionDao extends org.springframework.data.jpa.repository.JpaRepository<org.squashtest.tm.domain.execution.Execution,Long>, CustomExecutionDao
| Modifier and Type | Method and Description |
|---|---|
long |
countByTestCaseId(long testCaseId)
Returns the count of executions which ran a given test case.
|
long |
countStatus(long executionId,
org.squashtest.tm.domain.execution.ExecutionStatus status) |
long |
countSteps(long executionId) |
List<Long> |
findExecutionIdsHavingStepStatus(Long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus source) |
List<Long> |
findOriginalStepIds(long executionId) |
List<org.squashtest.tm.domain.testcase.ActionTestStep> |
findOriginalSteps(long executionId) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findSteps(long executionId) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findStepsForAllExecutions(Collection<Long> executionIds) |
void |
replaceExecutionStepStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus newStatus) |
void |
replaceTestPlanStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus status) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllcount, delete, delete, delete, deleteAll, exists, findOne, savecount, exists, findAll, findOnefindAllByTestCaseId, findAllByTestCaseIdOrderByRunDate, findAllExecutionStepsWithStatus, findAllIssueDetectorsForExecution, findAllIterationTestPlanItemsWithStatus, findAndInit, findExecutionRank, findStepsFiltered, getStatusReport, projectUsesExecutionStatus@Query List<org.squashtest.tm.domain.execution.ExecutionStep> findSteps(@Param(value="executionId") long executionId)
@Query List<org.squashtest.tm.domain.execution.ExecutionStep> findStepsForAllExecutions(@Param(value="executionIds") Collection<Long> executionIds)
@Query List<org.squashtest.tm.domain.testcase.ActionTestStep> findOriginalSteps(@Param(value="executionId") long executionId)
@Query List<Long> findOriginalStepIds(@Param(value="executionId") long executionId)
@Query
long countStatus(@Param(value="execId")
long executionId,
@Param(value="status")
org.squashtest.tm.domain.execution.ExecutionStatus status)
@Query List<Long> findExecutionIdsHavingStepStatus(@Param(value="projectId") Long projectId, @Param(value="status") org.squashtest.tm.domain.execution.ExecutionStatus source)
@Modifying
@Query(name="ExecutionStep.replaceStatus")
void replaceExecutionStepStatus(@Param(value="projectId")
long projectId,
@Param(value="oldStatus")
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
@Param(value="newStatus")
org.squashtest.tm.domain.execution.ExecutionStatus newStatus)
@Modifying
@Query(name="IterationTestPlanItem.replaceStatus")
void replaceTestPlanStatus(@Param(value="projectId")
long projectId,
@Param(value="oldStatus")
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
@Param(value="newStatus")
org.squashtest.tm.domain.execution.ExecutionStatus status)
@Query
long countSteps(@Param(value="executionId")
long executionId)
@Query
long countByTestCaseId(@Param(value="testCaseId")
long testCaseId)
testCaseId - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.