Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectGetGZipped (0.1 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpEncodingDependencyResolutionIntegrationTest.groovy

    task listJars {
        def files = configurations.compile
        doLast {
            assert files*.name == ['projectA-1.2.jar']
        }
    }
    """
    
            when:
            server.expectGetGZipped('/repo/group/projectA/1.2/ivy-1.2.xml', module.ivyFile)
            server.expectGetGZipped('/repo/group/projectA/1.2/projectA-1.2.jar', module.jarFile)
    
            then:
            succeeds('listJars')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

        }
    
        /**
         * Expects one GET request for the given URL, with the response being GZip encoded.
         */
        void expectGetGZipped(String path, File srcFile) {
            expect(path, false, ['GET'], new ActionSupport("return gzipped $srcFile.name") {
                void handle(HttpServletRequest request, HttpServletResponse response) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top