Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,561 for succeeds (0.12 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/tasks/ExtractSymbolsIntegrationTest.groovy

            when:
            succeeds ":extractSymbolsDebug"
    
            then:
            executedAndNotSkipped":extractSymbolsDebug"
            fixture("build/symbols").assertHasDebugSymbolsFor(withoutHeaders(app.original))
        }
    
        @ToBeFixedForConfigurationCache
        def "extract is skipped when there are no changes"() {
            when:
            succeeds ":extractSymbolsDebug"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/tasks/StripSymbolsIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "strip is skipped when there are no changes"() {
            when:
            succeeds ":stripSymbolsDebug"
    
            then:
            executedAndNotSkipped":stripSymbolsDebug"
    
            when:
            succeeds ":stripSymbolsDebug"
    
            then:
            skipped":stripSymbolsDebug"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

        }
        things {
            main(Thing) {
                value = $.broken.value
            }
            test(Thing) {
                value = "12"
            }
        }
    }
    '''
            when:
            succeeds "show"
    
            then:
            outputContains("value = 12")
        }
    
        def "nested configure rule is executed only as required"() {
            buildFile << '''
    model {
        tasks {
            show(Task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/SamplesMavenPublishIntegrationTest.groovy

            and:
            def fileRepo = maven(sampleDir.file("build/repo"))
            def module = fileRepo.module("org.gradle.sample", "quickstart", "1.0").withModuleMetadata()
    
            when:
            succeeds "publish"
    
            then:
            def pom = module.parsedPom
            module.assertPublishedAsJavaModule()
            pom.scopes.isEmpty()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

                }
            """
    
            expect:
            succeeds 'help'
        }
    
    
        def "other blocks can follow the pluginManagement block"() {
            given:
            settingsFile << """
                pluginManagement {}
                rootProject.name = 'rumpelstiltskin'
            """
    
            expect:
            succeeds 'help'
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

            when:
            server.resetExpectations()
            module.pom.expectGet()
            module.artifact.expectGet()
    
            then:
            succeeds('showMissing')
    
            when:
            server.resetExpectations()
    
            then:
            succeeds('showMissing')
        }
    
        void "reports and recovers from multiple missing modules"() {
            given:
            def repo = mavenHttpRepo("repo1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsNestingIntegrationTest.groovy

                    includeBuild("${build1.buildName}")
                }
            """
            build1.settingsFile << """
                includeBuild("../${build2.buildName}")
            """
    
            then:
            succeeds()
        }
    
        def "can nest early included plugin builds"() {
            when:
            settingsFile << """
                pluginManagement {
                    includeBuild("${build1.buildName}")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 08 11:18:10 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

                        }
                    }
                }
    
                ${printClasspathTask()}
            """
            def repoModule = javaLibrary(mavenRepo.module('org', "root", '1.0'))
    
            when:
            succeeds "publish"
    
            then:
            // POM uses resolved variant coordinates
            def dependencies = repoModule.parsedPom.scopes.runtime.dependencies
            dependencies.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/MultiProjectVariantResolutionIntegrationTest.groovy

                }
            '''
            expect:
            succeeds(':consumer:resolve')
        }
    
        def 'consumer resolves javadoc variant of producer'() {
            file('consumer/build.gradle') << '''
                resolveJavadoc {
                    expectations = [ 'producer-javadoc.txt' ]
                }
            '''
            expect:
            succeeds(':consumer:resolveJavadoc')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

                                url = "${repo.url}"
                            }
                        }
                    }
                }
            """
    
            expect:
            succeeds('assemble')
    
            when:
            succeeds('clean', 'assemble')
    
            then:
            // Git repo is cloned
            def gitCheckout = checkoutDir(repo.name, commit.id.name, repo.id)
            gitCheckout.file('.git').assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top