Search in sources :

Example 1 with TestAgentOptionsBuilder

use of com.teamscale.jacoco.agent.options.TestAgentOptionsBuilder in project teamscale-jacoco-agent by cqse.

the class AgentHttpServerTest method setup.

/**
 * Starts the http server to control the agent
 */
@BeforeEach
public void setup() throws Exception {
    AgentOptions options = new TestAgentOptionsBuilder().withHttpServerPort(httpServerPort).withTeamscaleMessage(defaultCommitMessage).withTeamscalePartition(defaultPartition).create();
    agent = new Agent(options, null);
}
Also used : TestAgentOptionsBuilder(com.teamscale.jacoco.agent.options.TestAgentOptionsBuilder) AgentOptions(com.teamscale.jacoco.agent.options.AgentOptions) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

AgentOptions (com.teamscale.jacoco.agent.options.AgentOptions)1 TestAgentOptionsBuilder (com.teamscale.jacoco.agent.options.TestAgentOptionsBuilder)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1