Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for expectGetDirectoryListing (0.35 sec)

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

            super(server)
            this.directory = directory
            this.path = path
            this.server = server
        }
    
        @Override
        public void expectGet() {
            server.expectGetDirectoryListing(path, directory)
        }
    
        public void allowGet() {
            server.allowGetDirectoryListing(path, directory)
        }
    
        @Override
        public void expectGetMissing() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K 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, returning an apache-compatible directory listing with the given File names.
         */
        void expectGetDirectoryListing(String path, File directory) {
            expect(path, false, ['GET'], new ActionSupport("return listing of directory $directory.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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

    }
    """
    
            when:
            serverAuthScheme = authScheme
    
            and:
            moduleA.ivy.expectGet('username', 'password')
            moduleA.jar.expectGet('username', 'password')
            server.expectGetDirectoryListing("/repo/group/projectB/", 'username', 'password', moduleB.backingModule.moduleDir.parentFile)
            moduleB.ivy.expectGet('username', 'password')
            moduleB.jar.expectGet('username', 'password')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top