Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PingRemoteProcess (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/PingRemoteProcess.java

    import org.gradle.process.internal.worker.WorkerProcessContext;
    
    import java.io.Serializable;
    import java.util.concurrent.CountDownLatch;
    
    import static org.junit.Assert.assertEquals;
    
    public class PingRemoteProcess implements Action<WorkerProcessContext>, Serializable, TestListenerInterface {
        CountDownLatch stopReceived;
        int count;
    
        public void send(String message, int count) {
            assertEquals(this.count, count);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 06 17:14:50 UTC 2016
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            then:
            1 * listenerMock.send("message 2", 2)
            0 * listenerMock._
        }
    
        def thisProcessCanSendEventsToWorkerProcess() {
            when:
            execute(worker(new PingRemoteProcess()).onServer { objectConnection ->
                TestListenerInterface listener = objectConnection.addOutgoing(TestListenerInterface.class)
                listener.send("1", 0)
                listener.send("1", 1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top