Class DatabaseControl

java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<DatabaseControl>
com.atlassian.bamboo.testutils.backdoor.DatabaseControl

public class DatabaseControl extends BackdoorControl<DatabaseControl>
  • Constructor Details

  • Method Details

    • getTestCasesCount

      @NotNull public @NotNull Long getTestCasesCount()
    • getTestCasesCount

      @NotNull public @NotNull Long getTestCasesCount(PlanKey planKey)
    • isVcsBranchMarkedAsDeleted

      public boolean isVcsBranchMarkedAsDeleted(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull String vcsBranchName) throws NotFoundException
      Checks if a given VCS branch for the specified plan is marked as deleted in the database, indicating that all plan branches referring to it should be cleaned up. Will return false if the database entry for the given branch does not exist.
      Throws:
      NotFoundException