Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

            List<ResourceExpectation> expectations = new ArrayList<>();
            for (ExpectedRequest call : expectedCalls) {
                expectations.add((ResourceExpectation) call);
            }
            addNonBlockingHandler(expectations);
        }
    
        private void addNonBlockingHandler(final Collection<? extends ResourceExpectation> 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

        private final ExpectationState state = new ExpectationState();
    
        ExpectMaxNConcurrentRequests(Lock lock, int testId, Duration timeout, int maxConcurrent, WaitPrecondition previous, Collection<? extends ResourceExpectation> expectedRequests) {
            if (expectedRequests.size() < maxConcurrent) {
                throw new IllegalArgumentException("Too few requests specified.");
            }
            this.lock = lock;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top