- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for waitForState (0.16 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy
@Override long getLogLineCount() { return daemonLog.lines().withCloseable { lines -> lines.count() } } DaemonFixture becomesIdle() { waitForState(Idle) this } DaemonFixture stops() { waitForState(Stopped) this } @Override void assertIdle() { assertHasState(Idle) } @Override void assertBusy() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy
} else { logFileProbe = new DaemonLogFileStateProbe(daemonLog, context, "Daemon is busy, sleeping until state changes", "Daemon is idle, sleeping until state change") } } protected void waitForState(State state) { def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT) def lastLogState = logFileProbe.currentState while (!timer.hasExpired() && lastLogState != state) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 2.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy
super(daemonLog, version) this.logFileProbe = new DaemonLogFileStateProbe(daemonLog, context) this.registryProbe = new DaemonRegistryStateProbe(registry, context) } protected void waitForState(State state) { def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT) def lastRegistryState = registryProbe.currentState def lastLogState = logFileProbe.currentState
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.4K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
setState(State.Blocking, State.Blocked); waitForState(State.Unblocked, State.Failed); } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } } public void expectUnblocks(Closure action) { try { waitForState(State.Blocked); ThreadHandle thread = getBlockingThread();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0)