Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for could (0.49 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy

            e.cause instanceof IllegalArgumentException
            e.cause.message == "Could not find any public constructor for ${SomeType} which accepts parameters [java.lang.Object]."
    
            when:
            instantiator.newInstance(SomeType, "a", "b")
    
            then:
            e = thrown()
            e.cause.message == "Could not find any public constructor for ${SomeType} which accepts parameters [java.lang.String, java.lang.String]."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/report/unbound/UnboundRulesReporterTest.groovy

    >     - parent.p3 Integer
    >   inputs:
    >     - parent.p4 Number [*]
    >         suggestions: parent.p31, parent.p32
    >     - <no path> Number [*]
    >     - parent.p6 Number
    
    [*] - indicates that a model item could not be found for the path or type.
    """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy

            when:
            executer.withStackTraceChecksDisabled()
            withBuildCache().run "customTask"
    
            then:
            output =~ /Could not store entry .* in remote build cache: ${errorPattern}/
        }
    
        def "build does not fail if connection repeatedly drops during store"() {
            // For every write, read some of the data and then close the connection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFailuresIntegrationTest.groovy

            then:
            failure.assertHasFailure("Configuration cache state could not be cached: field `files` of `Bean` bean found in field `__bean__` of task `:test` of type `Test`: error writing value of type 'org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration'") {
                it.assertHasFirstCause("Could not resolve all files for configuration ':implementation'.")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            when:
            writeableProperty(JavaTestSubject, "myBooleanProperty", null)
    
            then:
            def e = thrown(NoSuchPropertyException)
            e.message == "Could not find setter method for property 'myBooleanProperty' accepting null value on class JavaTestSubject."
        }
    
        def "read boolean property"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CredentialsProviderFactoryTest.groovy

            and:
            factory.graphPopulated(null)
    
            then:
            def e = thrown(ProjectConfigurationException)
            e.message == 'Credentials required for this build could not be resolved.'
            e.causes.size() == 2
        }
    
        def "evaluates name and value of header credentials provider"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContextTest.groovy

            context.getDependencies(task, dependency)
    
            then:
            1 * dependency.visitDependencies(_) >> { throw failure }
            def e = thrown(TaskDependencyResolveException)
            e.message == "Could not determine the dependencies of $task."
            e.cause == failure
        }
    
        def failsWhenThereIsACyclicDependency() {
            throw new UnsupportedOperationException()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

        def "class should not have any instance fields"() {
            when:
            factory.named(NamedWithFields, "a")
    
            then:
            def e = thrown(ObjectInstantiationException)
            e.message == "Could not create an instance of type ${NamedWithFields.name}."
            e.cause.message == """Type ${NamedWithFields.name} is not a valid Named implementation class:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CredentialsProviderIntegrationTest.groovy

            """
    
            when:
            fails 'taskWithCredentials'
    
            then:
            notExecuted(':firstTask', ':taskWithCredentials')
            failure.assertHasDescription("Credentials required for this build could not be resolved.")
            failure.assertHasCause("The following Gradle properties are missing for 'testCredentials' credentials:")
            failure.assertHasErrorOutput("- testCredentialsUsername")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

                }.get()
    
            '''
    
            expect:
            fails()
    
            and:
            // TODO(mlopatkin) The error message can be improved.
            failureHasCause(~/Could not isolate value ResultSource(.*) of type ResultSource.Params/)
        }
    
        def "task cannot depend on buildWorkResult, fails with clear message and problem is reported"() {
            given:
            buildFile '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top