Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for chunked (0.41 sec)

  1. platforms/core-execution/snapshots/src/integTest/groovy/org/gradle/internal/vfs/DefaultExcludesIntegrationTest.groovy

            when:
            run "copyTask"
            then:
            executedAndNotSkipped(":copyTask")
            !copyOfExcludedFile.exists()
    
            when:
            excludedFile.text = "changed"
            run "copyTask"
            then:
            skipped(":copyTask")
        }
    
        def "default excludes are reset if nothing is defined in settings"() {
            settingsFile << addDefaultExclude(EXCLUDED_FILE_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        }
    
        Violation maybeViolation(final JApiCompatibility member) {
            if (!(member instanceof JApiClass)) {
                return null
            }
    
            if (!changed(member)) {
                return null
            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy

            then:
            executedAndNotSkipped ":myTask"
    
            when:
            withWatchFs().run "myTask"
            then:
            skipped(":myTask")
    
            when:
            file(fileToChange).text = "changed"
            waitForChangesToBePickedUp()
            withWatchFs().run "myTask"
            then:
            executedAndNotSkipped ":myTask"
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy

            prop.finalizeValue()
    
            when:
            prop.set(file)
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'The value for this property is final and cannot be changed any further.'
        }
    
        def "cannot set value using file provider when finalized"() {
            given:
            def file = tmpDir.file("thing")
            def prop = propertyWithNoValue()
            prop.finalizeValue()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

            models.values().every { it.size() == 1 }
            models[":"][0].message == "fetch1 It works from project :"
    
            when:
            settingsFile << """
                println("configuring changed settings")
            """
    
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1"]))
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ErroringActionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    class ErroringActionTest extends Specification {
    
        def "checked exceptions are wrapped"() {
            when:
            new ErroringAction() {
                @Override
                void doExecute(Object thing) {
                    throw new Exception()
                }
            }.execute("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

    class MethodsRemovedInInternalSuperClassRule extends AbstractSuperClassChangesRule {
    
        MethodsRemovedInInternalSuperClassRule(Map<String, Object> params) {
            super(params)
        }
    
        protected boolean changed(JApiCompatibility member) {
            return member.compatibilityChanges.contains(JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveChangesStepTest.groovy

                assert delegateContext.changes.get() == changes
                return delegateResult
            }
            _ * changes.changeDescriptions >> ImmutableList.of("changed")
            _ * context.nonIncrementalReason >> Optional.empty()
            _ * context.beforeExecutionState >> Optional.of(beforeExecutionState)
            _ * context.previousExecutionState >> Optional.of(previousExecutionState)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

                    break
            }
        }
    
        String getExpectedCacheInvalidationMessage() {
            "configuration cache cannot be reused because an input to task ':${projectDir.name}:$invalidatedTaskName' has changed."
        }
    
        String getInvalidatedTaskName() {
            switch (kind) {
                case Kind.CHANGE_RESOURCE:
                case Kind.ADD_RESOURCE:
                    return 'processResources'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CredentialsProviderFactoryTest.groovy

            credentials.secretKey == 'secret'
            credentials.accessKey == 'access'
            credentials.sessionToken == 'token'
        }
    
        def "collects multiple missing credentials failures when presence is checked"() {
            given:
            providerFactory.gradleProperty('cloudServiceAccessKey') >> Providers.notDefined()
            providerFactory.gradleProperty('cloudServiceSecretKey') >> Providers.notDefined()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top