Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for failureCauseContains (0.38 sec)

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

                    dependencies {
                        classpath "org.apache.logging.log4j:log4j-core:2.14.1!!"
                    }
                }
            """
    
            expect:
            fails 'help'
            failureCauseContains('Cannot find a version of \'org.apache.logging.log4j:log4j-core\' that satisfies the version constraints')
        }
    
        @Issue("gradle/gradle#19300")
        def 'allows to upgrade log4j to 3.x one day'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/NameValidationIntegrationTest.groovy

        void assertFailureDescriptionOrCauseContains(String... messages) {
            try {
                messages.each { failureDescriptionContains(it) }
            } catch (AssertionError ignore) {
                messages.each { failureCauseContains(it) }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy

                    }
                    @Test
                    public void test() {
                    }
                }
            """
    
            when:
            fails 'test'
    
            then:
            failureCauseContains('There were failing tests')
            containsEvent(STARTED, DefaultTestClassDescriptor, 'Gradle suite > Gradle test > org.company.TestWithBrokenSetupMethod')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                }
            '''
            file('src/test/resources/META-INF/services/org.junit.platform.engine.TestEngine') << 'EngineFailingDiscovery'
    
            expect:
            fails('test', *extraArgs)
            failureCauseContains('There were failing tests.')
    
            where:
            scenario       | extraArgs
            "w/o filters"  | []
            "with filters" | ['--tests', 'JUnitJupiterTest']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanConfigIntegrationTest.groovy

            scanPlugin.attributes(output) != null
        }
    
        void assertFailedVersionCheck() {
            failureCauseContains(GradleEnterprisePluginManager.OLD_SCAN_PLUGIN_VERSION_MESSAGE)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy

                plugins {
                    id "$HELLO_WORLD_PLUGIN_ID" version "$HELLO_WORLD_PLUGIN_VERSION"
                }
            """
    
            expect:
            fails("helloWorld")
            failureCauseContains("Could not find com.android.tools:r8")
        }
    
        def "can resolve plugin from portal with repository filters and settings plugins"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy

                package org.example;
                public class SomeClass {}
            """
    
            when:
            fails('test', '--tests', 'Test*')
    
            then:
            failureCauseContains("No tests found for given includes")
    
            and:
            def expectedClasspath = [
                file('build/classes/java/test'),
                file('build/resources/test'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

                    }
                }
    
                apply type: FlowActionPlugin
            '''
    
            when:
            fails 'producer'
    
            then:
            failureCauseContains "Property 'text' cannot carry a dependency on task ':producer' as these are not yet supported."
        }
    
        def '#scriptTarget action can use injectable #simpleServiceTypeName'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

                ${taskWithMultipleOptionsForSingleProperty('String', 'hello', 'Some description')}
            """
    
            when:
            runAndFail 'sample, --hello', 'test'
    
            then:
            failureCauseContains('Cannot specify duplicate annotation on the same member : org.gradle.api.tasks.options.Option')
        }
    
        @ToBeFixedForIsolatedProjects(because = "Configuring projects from root")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. 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)
Back to top