- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for matchesNameAndVersion (0.29 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/RepositoryHttpServer.groovy
import org.gradle.test.fixtures.ivy.IvyFileRepository import org.gradle.test.fixtures.server.RepositoryServer import org.gradle.util.GradleVersion import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion class RepositoryHttpServer extends HttpServer implements RepositoryServer { private TestDirectoryProvider testDirectoryProvider private String gradleVersion
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy
import org.gradle.tooling.internal.consumer.DefaultCancellationTokenSource import org.gradle.util.GradleVersion import org.junit.Rule import spock.lang.Issue import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion @LeaksFileHandles class ToolingApiRemoteIntegrationTest extends AbstractIntegrationSpec { @Rule BlockingHttpServer server = new BlockingHttpServer()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 10.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/AbstractHttpScriptPluginIntegrationSpec.groovy
@org.junit.Rule TestResources resources = new TestResources(temporaryFolder) def setup() { settingsFile << "rootProject.name = 'project'" server.expectUserAgent(UserAgentMatcher.matchesNameAndVersion("Gradle", GradleVersion.current().getVersion())) server.start() executer.requireOwnGradleUserHomeDir() } protected void applyTrustStore() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/matchers/UserAgentMatcher.java
} @Override public void describeTo(Description description) { description.appendValue(expectedUserAgentString()); } @Factory public static UserAgentMatcher matchesNameAndVersion(String applicationName, String version) { return new UserAgentMatcher(applicationName, version); } @Override public boolean matches(Object o) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy
import org.gradle.wrapper.Download import org.junit.Rule import spock.lang.Issue import static org.gradle.integtests.WrapperHttpIntegrationTest.TEST_DISTRIBUTION_URL import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion import static org.hamcrest.CoreMatchers.containsString import static org.hamcrest.MatcherAssert.assertThat // wrapperExecuter requires a real distribution @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/HttpProxyScriptPluginIntegrationSpec.groovy
@org.junit.Rule HttpServer server = new HttpServer() def setup() { settingsFile << "rootProject.name = 'project'" server.expectUserAgent(UserAgentMatcher.matchesNameAndVersion("Gradle", GradleVersion.current().getVersion())) server.start() executer.requireOwnGradleUserHomeDir() } def "uses #type proxy to access remote build script plugin"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 4.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy
executer.requireOwnGradleUserHomeDir() //we need an empty external resource cache TestFile script = testFile('external.gradle') server.expectUserAgent(UserAgentMatcher.matchesNameAndVersion("Gradle", GradleVersion.current().getVersion())) server.expectGet('/external.gradle', script) server.start() script << """ task doStuff
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy
import org.gradle.util.GradleVersion import org.hamcrest.CoreMatchers import org.junit.Rule import spock.lang.Issue import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion import static org.gradle.util.Matchers.matchesRegexp class IvyPublishHttpIntegTest extends AbstractIvyPublishIntegTest { private static final int HTTP_UNRECOVERABLE_ERROR = 415
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 21.8K bytes - Viewed (0)