Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 119 for http2server (0.19 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.HttpExchange;
    
    abstract class AbstractFailure implements ResponseProducer, Failure {
        private final RuntimeException failure;
    
        public AbstractFailure(RuntimeException failure) {
            this.failure = failure;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethodAndRunAction.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.HttpExchange;
    import org.gradle.api.Action;
    
    class ExpectMethodAndRunAction implements ResourceHandler, BlockingHttpServer.ExpectedRequest, ResourceExpectation {
        private final String method;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    import org.junit.Rule
    import spock.lang.Issue
    
    class ConfigurationCacheDependencyResolutionIntegrationTest extends AbstractConfigurationCacheIntegrationTest implements ArtifactTransformTestFixture {
        @Rule
        HttpServer httpServer = new HttpServer()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpDirectoryResource.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class HttpDirectoryResource extends AbstractHttpResource {
        final String path
        private final TestFile directory
    
        HttpDirectoryResource(HttpServer server, String path, TestFile directory) {
            super(server)
            this.directory = directory
            this.path = path
            this.server = server
        }
    
        @Override
        public void expectGet() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/RepositoryHttpServer.groovy

    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
    
        RepositoryHttpServer(TestDirectoryProvider testDirectoryProvider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/build.gradle.kts

        api(testFixtures(project(":core"))) {
            because("HttpServer leaks PortAllocator to spock AST transformer")
        }
    
        api(libs.gson)
        api(libs.groovy)
        api(libs.groovyXml)
        api(libs.guava)
        api(libs.hamcrestCore)
        api(libs.hamcrest)
        api(libs.jettyWebApp) {
            because("Part of the public API via HttpServer")
        }
        api(libs.jansi)
        api(libs.jettySecurity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. pkg/registry/core/componentstatus/validator_test.go

    		{probe.Failure, "", nil, probe.Failure, "", false, nil},
    		{probe.Success, "foo", nil, probe.Failure, "foo", true, matchError},
    		{probe.Success, "foo", nil, probe.Success, "foo", false, nil},
    	}
    
    	s := HttpServer{Addr: "foo.com", Port: 8080, Path: "/healthz"}
    
    	for _, test := range tests {
    		fakeProber := &fakeHttpProber{
    			result: test.probeResult,
    			body:   test.probeData,
    			err:    test.probeErr,
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TrackingHttpHandler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.HttpExchange;
    
    import javax.annotation.Nullable;
    import java.util.Collection;
    
    interface TrackingHttpHandler {
        /**
         * Selects a response producer to handle the given request.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpResource.groovy

    package org.gradle.test.fixtures.server.http
    
    import org.gradle.api.credentials.PasswordCredentials
    import org.gradle.test.fixtures.file.TestFile
    
    abstract class HttpResource extends AbstractHttpResource {
        HttpResource(HttpServer server) {
            super(server)
        }
    
        void allowGetOrHead() {
            server.allowGetOrHead(getPath(), file)
        }
    
        @Override
        void expectGet() {
            server.expectGet(getPath(), file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top