- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sendSomeAndBlock (0.18 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy
def getM1Pom = server.get(m1.pom.path).sendSomeAndBlock(longXml(m1.pom.file)) def getM2Pom = server.get(m2.pom.path).sendSomeAndBlock(longXml(m2.pom.file)) def metaData = server.expectConcurrentAndBlock(getM1Pom, getM2Pom) def getM1Jar = server.get(m1.artifact.path).sendSomeAndBlock(longJar(m1.artifact.file)) def getM2Jar = server.get(m2.artifact.path).sendSomeAndBlock(longJar(m2.artifact.file))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 5.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java
@Override public BuildableExpectedRequest send(String content) { replaceBody(new SendFixedContent(200, content), null); return this; } @Override public BlockingRequest sendSomeAndBlock(byte[] content) { if (content.length < 1024) { throw new IllegalArgumentException("Content is too short."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy
for (i in 0..<content.length) { content[i++] = reader.read() as byte } def downloadHandle = server.get("cancelled-dist.zip").sendSomeAndBlock(content) server.expect(downloadHandle) and: toolingApi.withConnector { it.useDistribution(distUri) it.useGradleUserHomeDir(userHomeDir) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 10.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* Sends a 200 response with the given content. Returns 1K of the content then blocks waiting for {@link BlockingRequest#release()} before returning the remainder to the client. */ BlockingRequest sendSomeAndBlock(byte[] content); } /** * Allows the test to synchronise with and unblock a single request. */ public interface BlockingRequest extends ExpectedRequest { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0)