- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for HttpServer (0.83 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
*/ class HttpServer extends ServerWithExpectations implements HttpServerFixture { private final static Logger logger = LoggerFactory.getLogger(HttpServer.class) protected Matcher expectedUserAgent = null List<ServerExpectation> expectations = [] boolean chunkedTransfer = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K 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/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy
426, // Upgrade required HttpStatus.SC_HTTP_VERSION_NOT_SUPPORTED, 511 // network authentication required ] @Rule HttpServer server = new HttpServer() @Rule TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass()) BuildCacheServiceFactory.Describer buildCacheDescriber
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 12.4K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
server1 := newMockTLSServer(t) defer server1.httpServer.Close() server2 := newMockTLSServer(t) defer server2.httpServer.Close() host := "127.0.0.1" port1, err := getServerPort(server1.httpServer) if err != nil { t.Fatalf("error to get the server 1 port: %v", err) } port2, err := getServerPort(server2.httpServer) if err != nil { t.Fatalf("error to get the server 2 port: %v", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.BasicAuthenticator; import com.sun.net.httpserver.HttpContext; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpServer; import org.gradle.api.Action; import org.gradle.internal.ErroringAction; import org.gradle.internal.work.WorkerLeaseService;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy
import org.gradle.test.fixtures.ivy.IvyRepository import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.IvyHttpRepository import org.gradle.util.internal.GUtil import org.junit.Rule import static org.gradle.test.fixtures.server.http.HttpServer.SupportedHash.* import static org.gradle.util.internal.GFileUtils.deleteDirectory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.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 import spock.lang.Issue class MavenPublishHttpIntegTest extends AbstractMavenPublishIntegTest { @Rule HttpServer server @Rule HttpServer redirectServer final String repoPath = "/repo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 19.2K bytes - Viewed (0) -
samples/extauthz/cmd/extauthz/main.go
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 *ExtAuthzServer) run(httpAddr, grpcAddr string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy
import static org.gradle.util.internal.GFileUtils.listFiles class ConfigurationCacheMavenPublishIntegrationTest extends AbstractConfigurationCacheIntegrationTest { @Rule public final HttpServer server = new HttpServer() def setup() { buildFile """ // TODO - use public APIs when available import org.gradle.api.internal.attributes.* import org.gradle.api.internal.component.*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy
@Rule BlockingHttpServer httpServer = new BlockingHttpServer() @Rule GitHttpRepository repo = new GitHttpRepository(httpServer, 'dep', temporaryFolder.getTestDirectory()) TestFile repoSettingsFile def fixture = new ResolveTestFixture(buildFile, "compile") def setup() { httpServer.start() settingsFile << """ rootProject.name = 'consumer'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 14.3K bytes - Viewed (0)