Search in sources :

Example 66 with EnvironmentVariableContext

use of com.thoughtworks.go.util.command.EnvironmentVariableContext in project gocd by gocd.

the class AgentStatusReportingIntegrationTest method before.

@Before
public void before() {
    agentIdentifier = new AgentIdentifier("localhost", "127.0.0.1", "uuid");
    environmentVariableContext = new EnvironmentVariableContext();
    artifactManipulator = new GoArtifactsManipulatorStub();
    buildRepository = new com.thoughtworks.go.remote.work.BuildRepositoryRemoteStub();
    this.agentRuntimeInfo = new AgentRuntimeInfo(agentIdentifier, AgentRuntimeStatus.Idle, currentWorkingDirectory(), "cookie", false);
}
Also used : AgentRuntimeInfo(com.thoughtworks.go.server.service.AgentRuntimeInfo) AgentIdentifier(com.thoughtworks.go.remote.AgentIdentifier) EnvironmentVariableContext(com.thoughtworks.go.util.command.EnvironmentVariableContext) Before(org.junit.Before)

Aggregations

EnvironmentVariableContext (com.thoughtworks.go.util.command.EnvironmentVariableContext)66 Test (org.junit.Test)51 CaseInsensitiveString (com.thoughtworks.go.config.CaseInsensitiveString)17 MaterialRevision (com.thoughtworks.go.domain.MaterialRevision)16 Modification (com.thoughtworks.go.domain.materials.Modification)12 Date (java.util.Date)12 Modifications (com.thoughtworks.go.domain.materials.Modifications)10 File (java.io.File)7 AgentIdentifier (com.thoughtworks.go.remote.AgentIdentifier)6 HashMap (java.util.HashMap)6 Before (org.junit.Before)6 Materials (com.thoughtworks.go.config.materials.Materials)5 PluggableSCMMaterial (com.thoughtworks.go.config.materials.PluggableSCMMaterial)5 BuildLogElement (com.thoughtworks.go.domain.BuildLogElement)5 PackageMaterialRevision (com.thoughtworks.go.domain.materials.packagematerial.PackageMaterialRevision)5 PluggableSCMMaterialRevision (com.thoughtworks.go.domain.materials.scm.PluggableSCMMaterialRevision)5 SCM (com.thoughtworks.go.domain.scm.SCM)5 SystemEnvironment (com.thoughtworks.go.util.SystemEnvironment)5 MaterialRevisions (com.thoughtworks.go.domain.MaterialRevisions)4 DependencyMaterialRevision (com.thoughtworks.go.domain.materials.dependency.DependencyMaterialRevision)4