Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for enableProblemsApiCheck (1.09 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            then:
            executedAndNotSkipped ':inputBrokenLinkNameCollector'
            output.text == "${[REMOVED]}"
        }
    
        def "broken symlink in #inputType.simpleName fails validation"() {
            enableProblemsApiCheck()
            def brokenInputFile = file('brokenInput').createLink("brokenInputFileTarget")
            buildFile << """
                class CustomTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def setup() {
            expectReindentedValidationMessage()
            enableProblemsApiCheck()
        }
    
        def "task output caching key is exposed when build cache is enabled"() {
            given:
            executer.withBuildCacheEnabled()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

         */
        private final Map<String, Integer> visitedFileLocations = [:]
    
        def setup() {
            enableProblemsApiCheck()
    
            buildFile << """
                plugins {
                    id 'java'
                }
    
                tasks {
                    compileJava {
                        options.compilerArgs += ["-Xlint:all"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                ]
            }
    
            where:
            ann << [InputArtifact, InputArtifactDependencies]
        }
    
        def "can enable stricter validation"() {
            enableProblemsApiCheck()
            buildFile << """
                dependencies {
                    implementation localGroovy()
                }
                def strictProp = providers.gradleProperty("strict")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            executedAndNotSkipped(":producer", ":consumer")
    
            where:
            fieldModifier << ["", "final"]
        }
    
        def "can use a filtered value provider"() {
            enableProblemsApiCheck()
    
            buildFile """
                abstract class MyTask extends DefaultTask {
                    @Input
                    abstract ListProperty<String> getStrings()
    
                    @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                include 'lib'
                include 'util'
                include 'app'
            """
        }
    
        def "task cannot write into transform directory"() {
            enableProblemsApiCheck()
            def forbiddenPath = ".transforms/not-allowed.txt"
    
            buildFile << """
                subprojects {
                    task badTask {
                        def projectLayout = project.layout
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top