Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for HttpServer (0.15 sec)

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

    class IvyHttpRepository implements RemoteIvyRepository, HttpRepository {
        private final HttpServer server
        private final IvyFileRepository backingRepository
        private final String contextPath
        private final boolean m2Compatible
        private final HttpRepository.MetadataType metadataType
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpRepository.groovy

     */
    class MavenHttpRepository implements MavenRepository, HttpRepository {
        final HttpServer server
    
        private final MavenFileRepository backingRepository
        private final String contextPath
        private final HttpRepository.MetadataType metadataType
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishMultipleRepositoriesIntegTest.groovy

    import org.gradle.test.fixtures.ivy.IvyFileRepository
    import org.gradle.test.fixtures.ivy.IvyModule
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    
    class IvyPublishMultipleRepositoriesIntegTest extends AbstractIvyPublishIntegTest {
    
        @Rule HttpServer server
    
        String moduleName = "publish"
        String org = "org.gradle"
        String rev = "2"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractHttpDependencyResolutionTest
    import org.gradle.internal.hash.Hashing
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.IvyHttpModule
    import spock.lang.Issue
    
    /**
     * We are using Ivy here, but the strategy is the same for any kind of repository.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. cmd/background-heal-ops.go

    				return
    			}
    			time.Sleep(waitTick)
    			tmpMaxWait -= waitTick
    		}
    		if tmpMaxWait <= 0 {
    			return
    		}
    	}
    }
    
    func currentHTTPIO() int {
    	httpServer := newHTTPServerFn()
    	if httpServer == nil {
    		return 0
    	}
    
    	return httpServer.GetRequestCount() - activeListeners()
    }
    
    func waitForLowHTTPReq() {
    	maxIO, maxWait, _ := globalHealConfig.Clone()
    	waitForLowIO(maxIO, maxWait, currentHTTPIO)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishChangingUrlIntegTest.groovy

    import org.gradle.test.fixtures.ivy.IvyFileRepository
    import org.gradle.test.fixtures.ivy.IvyModule
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    
    class IvyPublishChangingUrlIntegTest extends AbstractIvyPublishIntegTest {
    
        @Rule HttpServer server
    
        String moduleName = "publish"
        String org = "org.gradle"
        String rev = "2"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

                        response.outputStream.bytes = httpStub.response.body.call()
                    }
                }
            }
        }
    
        private void add(HttpStub httpStub, HttpServer.ActionSupport action) {
            HttpServer.HttpExpectOne expectation = new HttpServer.HttpExpectOne(action, [httpStub.request.method], httpStub.request.path)
            expectations << expectation
            addHandler(new AbstractHandler() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  8. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testfixtures
    
    import org.gradle.api.Project
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    import org.gradle.testfixtures.internal.ProjectBuilderImpl
    import org.gradle.util.SetSystemProperties
    import org.junit.Rule
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBuildOperationIntegrationTest.groovy

    import org.gradle.internal.resource.ExternalResourceWriteBuildOperationType
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    
    class MavenPublishBuildOperationIntegrationTest extends AbstractMavenPublishIntegTest {
        def server = new HttpServer()
        def buildOperations = new BuildOperationsFixture(executer, temporaryFolder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

        @Rule
        TestResources resource = new TestResources(temporaryFolder)
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        def "string backed text resource"() {
            when:
            run("stringText")
    
            then:
            result.assertTasksExecuted(":stringText")
            file("output.txt").text == "my config"
    
            when:
            run("stringText")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top