Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for could (0.23 sec)

  1. 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)
  2. 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)
  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/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)
  6. 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)
  7. 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)
  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/test/groovy/org/gradle/internal/isolated/IsolationSchemeTest.groovy

        }
    
        def "fails when base parameters type is used"() {
            when:
            scheme.parameterTypeFor(BaseParams)
    
            then:
            def e = thrown(IllegalArgumentException)
            e.message == "Could not create the parameters for BaseParams: must use a sub-type of SomeParams as the parameters type. Use Nothing as the parameters type for implementations that do not take parameters."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 19:49:52 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/CompositeDynamicObjectTest.groovy

            1 * obj1.tryGetProperty("p") >> DynamicInvokeResult.notFound()
            1 * obj2.tryGetProperty("p") >> DynamicInvokeResult.notFound()
            1 * obj3.tryGetProperty("p") >> DynamicInvokeResult.notFound()
            e.message == "Could not get unknown property 'p' for <obj>."
        }
    
        def "set property returns on first delegate that has the property"() {
            def obj1 = Mock(DynamicObject)
            def obj2 = Mock(DynamicObject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top