- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setWorkerLoggingProtocol (0.27 sec)
-
platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/WorkerLogEventListenerTest.groovy
given: def protocol = Mock(WorkerLoggingProtocol) def logEvent = Mock(LogEvent) def styledTextOutputEvent = Mock(StyledTextOutputEvent) listener.setWorkerLoggingProtocol(protocol) when: listener.onOutput(logEvent) then: 1 * protocol.sendOutputEvent(logEvent) when: listener.onOutput(styledTextOutputEvent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/WorkerLogEventListener.java
public WorkerLogEventListener() { this.workerLoggingProtocol = new AtomicReference<WorkerLoggingProtocol>(); } public void setWorkerLoggingProtocol(WorkerLoggingProtocol workerLoggingProtocol) { this.workerLoggingProtocol.getAndSet(workerLoggingProtocol); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2.4K bytes - Viewed (0)