Search in sources :

Example 1 with HttpServiceStub

use of com.thoughtworks.go.remote.work.HttpServiceStub in project gocd by gocd.

the class BuildSessionBasedTestCase method superSetup.

@Before
public void superSetup() {
    statusReporter = new BuildStateReporterStub();
    buildVariables = new HashMap<>();
    artifactsRepository = new ArtifactsRepositoryStub();
    sandbox = TestFileUtil.createTempFolder(UUID.randomUUID().toString());
    console = new TestStreamConsumer();
    httpService = new HttpServiceStub();
}
Also used : ArtifactsRepositoryStub(com.thoughtworks.go.domain.ArtifactsRepositoryStub) TestStreamConsumer(com.thoughtworks.go.helper.TestStreamConsumer) BuildStateReporterStub(com.thoughtworks.go.domain.BuildStateReporterStub) HttpServiceStub(com.thoughtworks.go.remote.work.HttpServiceStub) Before(org.junit.Before)

Aggregations

ArtifactsRepositoryStub (com.thoughtworks.go.domain.ArtifactsRepositoryStub)1 BuildStateReporterStub (com.thoughtworks.go.domain.BuildStateReporterStub)1 TestStreamConsumer (com.thoughtworks.go.helper.TestStreamConsumer)1 HttpServiceStub (com.thoughtworks.go.remote.work.HttpServiceStub)1 Before (org.junit.Before)1