- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for expectInAnyOrder (0.36 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectInAnyOrder.java
import java.util.List; import java.util.concurrent.locks.Lock; class ExpectInAnyOrder implements TrackingHttpHandler { private final Lock lock; private final List<TrackingHttpHandler> expected; private final List<TrackingHttpHandler> available; private TrackingHttpHandler current = null; public ExpectInAnyOrder(Lock lock, WaitPrecondition previous, List<DefaultExpectedRequests> expected) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy
} } """ def tests = blockingServer.concurrent("test_1", "test_2") def other = blockingServer.concurrent("other_1", "other_2") blockingServer.expectInAnyOrder(tests, other) when: executer.withArguments("--parallel", "--max-workers=4") run('test', 'other') then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
*/ public void expectInAnyOrder(ExpectedRequests... expectedRequests) { List<DefaultExpectedRequests> expectations = new ArrayList<>(); for (ExpectedRequests expectedRequest : expectedRequests) { expectations.add((DefaultExpectedRequests) expectedRequest); } handler.addHandler(previous -> new ExpectInAnyOrder(lock, previous, expectations)); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
and: failure1 != null failure2 != null failure3 != null } def "succeeds when expected groups of requests are made"() { given: server.expectInAnyOrder(server.concurrent("a", "b"), server.concurrent("c", "d")) server.start() when: async { start { succeeds("c") } start { succeeds("d") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0)