Package org.jacoco.agent.rt.internal.output

Examples of org.jacoco.agent.rt.internal.output.TcpClientOutput


    case file:
      return new FileOutput();
    case tcpserver:
      return new TcpServerOutput(logger);
    case tcpclient:
      return new TcpClientOutput(logger);
    case none:
      return new NoneOutput();
    default:
      throw new AssertionError(controllerType);
    }
View Full Code Here


  public void setup() throws Exception {
    logger = new ExceptionRecorder();
    final MockSocketConnection con = new MockSocketConnection();
    remoteSocket = con.getSocketB();
    remoteWriter = new RemoteControlWriter(remoteSocket.getOutputStream());
    controller = new TcpClientOutput(logger) {
      @Override
      protected Socket createSocket(AgentOptions options)
          throws IOException {
        return con.getSocketA();
      }
View Full Code Here

TOP

Related Classes of org.jacoco.agent.rt.internal.output.TcpClientOutput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.