Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemoteProcess (0.09 sec)

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

    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.hamcrest.MatcherAssert.assertThat;
    
    public class RemoteProcess implements Action<WorkerProcessContext>, Serializable {
        public void execute(WorkerProcessContext workerProcessContext) {
            // Check environment
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 14 01:36:23 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            outputEventListener.toString().contains(TextUtil.toPlatformLineSeparators(expectedLogStatement))
        }
    
        def workerProcessCanSendMessagesToThisProcess() {
            when:
            execute(worker(new RemoteProcess()))
    
            then:
            1 * listenerMock.send("message 1", 1)
    
            then:
            1 * listenerMock.send("message 2", 2)
            0 * listenerMock._
        }
    
    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