Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for failureCauseContains (0.25 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

                    additionalForkOptions = { it.workingDir = workDirPath }
                }
            """
    
            when:
            fails("runInWorker")
    
            then:
            failureCauseContains('Setting the working directory of a worker is not supported')
        }
    
        def "interesting worker daemon fork options are honored"() {
            OptionsVerifier optionsVerifier = new OptionsVerifier(file('process.json'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy

            and:
            "a rule which infers module set from group and version"()
    
            when:
            allowAllRepositoryInteractions()
            fails ':checkDeps'
    
            then:
            failureCauseContains("Multiple forces on different versions for virtual platform org:platform")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            configurationCacheFails(":failedCount")
    
            then:
            configurationCache.assertStateStored()
            failureDescriptionContains("Execution failed for task ':failedCount'.")
            failureCauseContains("Cannot query the value of task ':failedCount' property 'countingService' because it has no value available.")
    
            when:
            configurationCacheFails(":failedCount")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingIntegrationTest.groovy

                    implementation project(":processor")
                }
            """
    
            when:
            fails('compileJava')
    
            then:
            failureCauseContains('Compilation failed')
            file('build/classes/java/main/TestAppHelper.class').assertDoesNotExist()
            operations[':compileJava'].failure.contains('Compilation failed')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

                    p = p.map { v -> v + p.get()}
                    stringInput = p
                }
            """
    
            when:
            fails "myTask"
    
            then:
            failureCauseContains("Circular evaluation detected")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingWithPluginManagementSpec.groovy

                    eachPlugin {
                        throw new Exception("Boom")
                    }
                }
            """)
    
            when:
            fails "help"
    
            then:
            failureCauseContains("Boom")
        }
    
        def "Can specify repo in init script."() {
            given:
            publishTestPlugin()
            buildScript """
               plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

            """
    
            when:
            executer.noDeprecationChecks() // These will be checked elsewhere, this test is about ensuring failures
            fails('help')
    
            then:
            failureCauseContains(message)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

            when:
            fails ':consumer:resolve'
            then:
            failureDescriptionContains(isConfigCache ? "MakeGreen" : "Execution failed for task ':consumer:resolve'.")
            failureCauseContains(isConfigCache ? "MakeGreen" : "Could not isolate parameters null of artifact transform MakeGreen")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

            given:
            buildFile << """
                verify {
                    prop = [${key}: ${value}]
                }
            """
    
            expect:
            fails('verify')
            failureCauseContains(message)
    
            where:
            key         | value         || message
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

        }
    }
    """
            lockfileFixture.createBuildscriptLockfile('classpath', ['org.foo:foo-plugin:1.0'], unique)
    
            when:
            fails 'buildEnvironment'
    
            then:
            failureCauseContains('Did not resolve \'org.foo:foo-plugin:1.0\' which is part of the dependency lock state')
    
            where:
            unique << [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top