Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addBroken (0.15 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy

            publishedMavenModule()
            when:
            moduleAvailableViaHttp()
            then:
            run 'retrieve'
    
            when:
            server.resetExpectations()
            server.addBroken("/")
            then:
            fails 'retrieve'
    
            and:
            failure.assertHasDescription("Execution failed for task ':retrieve'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy

            given:
            def repositoryPort = server.port
            buildFile << publicationBuildWithoutCredentials(version, group, ivyHttpRepo.uri)
    
            and:
            server.addBroken("/")
    
            when:
            fails 'publish'
    
            then:
            failure.assertHasDescription('Execution failed for task \':publishIvyPublicationToIvyRepository\'.')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                        afterHandle.execute(request)
                    }
                }
            }
        }
    
        /**
         * Adds a broken resource at the given URL.
         */
        void addBroken(String path) {
            allow(path, true, null, broken())
        }
    
        /**
         * Expects one GET request, which fails with a 500 status code
         */
        void expectGetBroken(String path) {
    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