Home
last modified time | relevance | path

Searched refs:AgentOptions (Results 1 – 23 of 23) sorted by relevance

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DAgentOptionsTest.java39 AgentOptions options = new AgentOptions(); in testDefaults()
40 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); in testDefaults()
52 assertEquals(AgentOptions.OutputMode.none, options.getOutput()); in testDefaults()
54 assertEquals(AgentOptions.DEFAULT_ADDRESS, options.getAddress()); in testDefaults()
55 assertEquals(AgentOptions.DEFAULT_PORT, options.getPort()); in testDefaults()
64 AgentOptions options = new AgentOptions(""); in testEmptyOptions()
70 AgentOptions options = new AgentOptions((String) null); in testNullOptions()
92 AgentOptions options = new AgentOptions(properties); in testPropertiesOptions()
103 assertEquals(AgentOptions.OutputMode.tcpserver, options.getOutput()); in testPropertiesOptions()
112 AgentOptions options = new AgentOptions(new Properties()); in testEmptyPropertiesOptions()
[all …]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DFileOutputTest.java21 import org.jacoco.core.runtime.AgentOptions;
38 AgentOptions options = new AgentOptions(); in testCreateDestFileOnStartup()
52 AgentOptions options = new AgentOptions(); in testWriteData()
67 AgentOptions options = new AgentOptions(); in testInvalidDestFile()
DTcpServerOutputTest.java32 import org.jacoco.core.runtime.AgentOptions;
46 private AgentOptions options;
56 options = new AgentOptions(); in setup()
61 protected ServerSocket createServerSocket(AgentOptions options) in setup()
DTcpClientOutputTest.java27 import org.jacoco.core.runtime.AgentOptions;
61 protected Socket createSocket(AgentOptions options) in setup()
67 controller.startup(new AgentOptions(), data); in setup()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java63 if (args.containsKey(AgentOptions.VERBOSE)) { in premain()
67 if (args.containsKey(AgentOptions.TIME)) { in premain()
71 if (args.containsKey(AgentOptions.IGNORE)) { in premain()
72 String ignore = args.getProperty(AgentOptions.IGNORE); in premain()
76 if (args.containsKey(AgentOptions.LEVEL)) { in premain()
77 builder = builder.level(args.getProperty(AgentOptions.LEVEL)); in premain()
DAgentOptions.java38 public class AgentOptions { class
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DAbstractCoverageTask.java20 import org.jacoco.core.runtime.AgentOptions;
21 import org.jacoco.core.runtime.AgentOptions.OutputMode;
28 private final AgentOptions agentOptions;
39 agentOptions = new AgentOptions(); in AbstractCoverageTask()
40 destfile = new File(AgentOptions.DEFAULT_DESTFILE); in AbstractCoverageTask()
223 private AgentOptions prepareAgentOptions() { in prepareAgentOptions()
DDumpTask.java22 import org.jacoco.core.runtime.AgentOptions;
35 private String address = AgentOptions.DEFAULT_ADDRESS;
36 private int port = AgentOptions.DEFAULT_PORT;
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java28 import org.jacoco.core.runtime.AgentOptions;
29 import org.jacoco.core.runtime.AgentOptions.OutputMode;
47 public static synchronized Agent getInstance(final AgentOptions options) { in getInstance()
65 public static synchronized Agent getInstance(final AgentOptions options, RuntimeData data) { in getInstance()
103 private final AgentOptions options;
121 Agent(final AgentOptions options, final IExceptionLogger logger) { in Agent()
138 private Agent(final AgentOptions options, final IExceptionLogger logger, RuntimeData data) { in Agent()
DPreMain.java19 import org.jacoco.core.runtime.AgentOptions;
47 final AgentOptions agentOptions = new AgentOptions(options); in premain()
DCoverageTransformer.java20 import org.jacoco.core.runtime.AgentOptions;
63 final AgentOptions options, final IExceptionLogger logger) { in CoverageTransformer()
DOffline.java29 import org.jacoco.core.runtime.AgentOptions;
146 return Agent.getInstance(new AgentOptions(config), new RuntimeData(store)); in createAgent()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
DTcpClientOutput.java18 import org.jacoco.core.runtime.AgentOptions;
47 public void startup(final AgentOptions options, final RuntimeData data) in startup()
83 protected Socket createSocket(final AgentOptions options) in createSocket()
DTcpServerOutput.java20 import org.jacoco.core.runtime.AgentOptions;
51 public void startup(final AgentOptions options, final RuntimeData data) in startup()
103 protected ServerSocket createServerSocket(final AgentOptions options) in createServerSocket()
DNoneOutput.java14 import org.jacoco.core.runtime.AgentOptions;
22 public final void startup(final AgentOptions options, final RuntimeData data) { in startup()
DIAgentOutput.java16 import org.jacoco.core.runtime.AgentOptions;
36 void startup(AgentOptions options, RuntimeData data) throws Exception; in startup()
DFileOutput.java20 import org.jacoco.core.runtime.AgentOptions;
39 public final void startup(final AgentOptions options, final RuntimeData data) in startup()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DAgentTest.java35 import org.jacoco.core.runtime.AgentOptions;
36 import org.jacoco.core.runtime.AgentOptions.OutputMode;
48 private AgentOptions options;
56 options = new AgentOptions(); in setup()
116 public void startup(AgentOptions options, RuntimeData data) in startup_should_log_exception()
202 public void startup(AgentOptions options, in shutdown_should_log_exception()
367 public void startup(AgentOptions options, RuntimeData data) {
DCoverageTransformerTest.java30 import org.jacoco.core.runtime.AgentOptions;
43 private AgentOptions options;
54 options = new AgentOptions(); in setup()
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DDump.java20 import org.jacoco.core.runtime.AgentOptions;
31 String address = AgentOptions.DEFAULT_ADDRESS;
34 int port = AgentOptions.DEFAULT_PORT;
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DAbstractAgentMojo.java22 import org.jacoco.core.runtime.AgentOptions;
181 AgentOptions createAgentOptions() { in createAgentOptions()
182 final AgentOptions agentOptions = new AgentOptions(); in createAgentOptions()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DAgentOptions.java34 public final class AgentOptions { class
201 public AgentOptions() { in AgentOptions() method in AgentOptions
211 public AgentOptions(final String optionstr) { in AgentOptions() method in AgentOptions
240 public AgentOptions(final Properties properties) { in AgentOptions() method in AgentOptions
/external/jacoco/
DREADME.android16 2) Change default OutputMode to none in org.jacoco.core.runtime.AgentOptions