- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 119 for http2server (0.2 sec)
-
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/GradleEnterprisePluginBackgroundJobExecutorsIntegrationTest.groovy
httpServer.start() given: buildFile << """ def executors = $executors task check { doLast { executors.userJobExecutor.execute { ${httpServer.callFromBuild("background")} } ${httpServer.callFromBuild("task.action")} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 29 16:27:53 UTC 2024 - 7K bytes - Viewed (0) -
pkg/proxy/healthcheck/common.go
type httpServerFactory interface { // New creates an instance of a type satisfying HTTPServer. This is // designed to include http.Server. New(addr string, handler http.Handler) httpServer } // httpServer allows for testing of ServiceHealthServer and ProxierHealthServer. // It is designed so that http.Server satisfies this interface, type httpServer interface { Serve(listener net.Listener) error Close() error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 29 09:11:29 UTC 2022 - 1.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy
} @Rule HttpServer httpServer = new HttpServer() def "captures for http scripts"() { given: println testDirectory.absolutePath httpServer.start() def script = file("script.gradle") << "" httpServer.allowGetOrHead("/script.gradle", script) buildScript """ apply from: "${httpServer.uri}/script.gradle" """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy
} } @Rule HttpServer httpServer = new HttpServer() @Requires(IntegTestPreconditions.NotEmbeddedExecutor) def "wrapper task fails if http distribution url from command-line is invalid"() { given: def path = "/distributions/8.0-RC-5" httpServer.start() httpServer.expectHeadMissing(path) def url = "${httpServer.uri}" + path when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:38 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaRetriesIntegTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.MavenHttpModule import org.gradle.test.fixtures.server.http.MavenHttpRepository import org.junit.Rule class MavenPublishJavaRetriesIntegTest extends AbstractMavenPublishIntegTest { TestKeyStore keyStore @Rule public final HttpServer server = new HttpServer() MavenHttpRepository mavenRemoteRepo
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaRetriesIntegTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.IvyHttpModule import org.gradle.test.fixtures.server.http.IvyHttpRepository import org.junit.Rule class IvyPublishJavaRetriesIntegTest extends AbstractIvyPublishIntegTest { TestKeyStore keyStore @Rule public final HttpServer server = new HttpServer() IvyHttpRepository ivyRemoteRepo
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 3.8K bytes - Viewed (0) -
samples/jwt-server/src/main.go
if err != nil { log.Fatalf("Failed to create HTTP server: %v", err) } // Store the port for test only. s.httpPort <- listener.Addr().(*net.TCPAddr).Port s.httpServer = &http.Server{Handler: s} log.Printf("Starting HTTP server at %s", listener.Addr()) if err := s.httpServer.Serve(listener); err != nil { log.Fatalf("Failed to start HTTP server: %v", err) } } func (s *JWTServer) startHTTPS(address string, wg *sync.WaitGroup) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 16 23:56:50 UTC 2024 - 4.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BasicHttpResource.groovy
import org.gradle.test.fixtures.file.TestFile class BasicHttpResource extends HttpResource { private final String path private final TestFile file BasicHttpResource(HttpServer httpServer, TestFile file, String path) { super(httpServer) this.file = file this.path = path } @Override TestFile getFile() { return file } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy
@Rule BlockingHttpServer httpServer = new BlockingHttpServer() @Issue("https://github.com/gradle/gradle/issues/14434") def "can run tests in parallel with project dependencies"() { given: httpServer.expectConcurrent(':a:test', ':b:test', ':c:test', ':d:test') httpServer.start() settingsFile << """ include 'a', 'b', 'c', 'd'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 16:10:12 UTC 2024 - 3.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/AbstractHttpScriptPluginIntegrationSpec.groovy
import org.gradle.test.fixtures.keystore.TestKeyStore import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.matchers.UserAgentMatcher import org.gradle.util.GradleVersion class AbstractHttpScriptPluginIntegrationSpec extends AbstractIntegrationSpec { @org.junit.Rule HttpServer server = new HttpServer() @org.junit.Rule TestResources resources = new TestResources(temporaryFolder)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 1.6K bytes - Viewed (0)