com.atlassian.bamboo.testutils
Class TestBuildDetailsHelper

java.lang.Object
  extended by com.atlassian.bamboo.testutils.TestBuildDetailsHelper

public class TestBuildDetailsHelper
extends java.lang.Object


Constructor Summary
TestBuildDetailsHelper()
           
 
Method Summary
static TestBuildDetails createLongSvnPlan()
           
static TestBuildDetails createSimpleNoRepositoryPlan()
           
static TestBuildDetails createSimpleNoRepositoryPlanForConfigTests()
          Creates a plan for basic no-building test.
static TestBuildDetails createSimpleSvnPlan()
           
static TestBuildDetails createSimpleSvnPlan(java.lang.String svnSubDir)
           
static TestBuildDetails createSimpleSvnPlanForConfigTests()
          Creates a plan for basic no-building test.
static TestBuildDetails makeUniqueBuild()
           
static TestBuildDetails makeUniqueJob(TestBuildDetails chain)
           
static TestBuildDetails makeUniquePlan(PlanType planType)
           
static void setupCvsSuccessfulBuild(TestBuildDetails build)
           
static void setupSimpleSvnPlan(TestBuildDetails build, RepositoryDescriptor repositoryDescriptor, java.lang.String svnSubDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBuildDetailsHelper

public TestBuildDetailsHelper()
Method Detail

createSimpleSvnPlan

public static TestBuildDetails createSimpleSvnPlan()
                                            throws java.util.concurrent.TimeoutException,
                                                   java.io.IOException,
                                                   java.lang.InterruptedException
Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

createSimpleNoRepositoryPlan

public static TestBuildDetails createSimpleNoRepositoryPlan()
                                                     throws java.util.concurrent.TimeoutException,
                                                            java.io.IOException,
                                                            java.lang.InterruptedException
Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

createLongSvnPlan

public static TestBuildDetails createLongSvnPlan()
                                          throws java.util.concurrent.TimeoutException,
                                                 java.io.IOException,
                                                 java.lang.InterruptedException
Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

createSimpleSvnPlan

public static TestBuildDetails createSimpleSvnPlan(java.lang.String svnSubDir)
                                            throws java.util.concurrent.TimeoutException,
                                                   java.io.IOException,
                                                   java.lang.InterruptedException
Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

setupCvsSuccessfulBuild

public static void setupCvsSuccessfulBuild(TestBuildDetails build)
                                    throws java.io.IOException
Throws:
java.io.IOException

makeUniqueJob

public static TestBuildDetails makeUniqueJob(TestBuildDetails chain)

makeUniqueBuild

public static TestBuildDetails makeUniqueBuild()

makeUniquePlan

public static TestBuildDetails makeUniquePlan(PlanType planType)

createSimpleSvnPlanForConfigTests

public static TestBuildDetails createSimpleSvnPlanForConfigTests()
                                                          throws java.util.concurrent.TimeoutException,
                                                                 java.io.IOException,
                                                                 java.lang.InterruptedException
Creates a plan for basic no-building test. Saves some precious seconds

Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

createSimpleNoRepositoryPlanForConfigTests

public static TestBuildDetails createSimpleNoRepositoryPlanForConfigTests()
                                                                   throws java.util.concurrent.TimeoutException,
                                                                          java.io.IOException,
                                                                          java.lang.InterruptedException
Creates a plan for basic no-building test. Saves some precious seconds

Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException

setupSimpleSvnPlan

public static void setupSimpleSvnPlan(TestBuildDetails build,
                                      RepositoryDescriptor repositoryDescriptor,
                                      java.lang.String svnSubDir)
                               throws java.util.concurrent.TimeoutException,
                                      java.io.IOException,
                                      java.lang.InterruptedException
Throws:
java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException


Copyright © 2011 Atlassian. All Rights Reserved.