Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Changes (0.41 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveChangesStepTest.groovy

            1 * delegate.execute(work, _ as IncrementalChangesContext) >> { UnitOfWork work, IncrementalChangesContext delegateContext ->
                assert delegateContext.changes.get() == changes
                return delegateResult
            }
            _ * changes.changeDescriptions >> ImmutableList.of("changed")
            _ * context.nonIncrementalReason >> Optional.empty()
            _ * context.beforeExecutionState >> Optional.of(beforeExecutionState)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

        def "empty snapshots"() {
            expect:
            changes(
                [:],
                [:]
            ) == []
        }
    
        def "trivial addition"() {
            expect:
            changes(
                ["one-new": fingerprint("one")],
                [:]
            ) == [added("one-new": "one")]
        }
    
        def "non-trivial addition"() {
            expect:
            changes(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

     */
    
    package org.gradle.internal.execution.steps
    
    import com.google.common.collect.ImmutableList
    import org.gradle.internal.execution.history.PreviousExecutionState
    import org.gradle.internal.execution.history.changes.ExecutionStateChanges
    import org.gradle.internal.hash.TestHashCodes
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            oldMethods.removeAll(newMethods)
    
            if (oldMethods.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(oldClass, oldMethods)
            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " methods removed in internal super class"))
        }
    
        private Set<CtMethod> collectAllPublicApiMethods(CtClass c) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

        }
    
        def "trivial content change"() {
            expect:
            changes(
                regularFile("one", 0x1234),
                regularFile("one", 0xffff)
            ) == [modified("one")]
        }
    
        def "deep equality"() {
            expect:
            changes(
                directory("root", [
                    regularFile("root/one", 0x1234),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/LimitingChangeVisitorTest.groovy

    package org.gradle.internal.execution.history.changes
    
    
    import spock.lang.Specification
    
    class LimitingChangeVisitorTest extends Specification {
    
        def collectingVisitor = new CollectingChangeVisitor()
        def visitor = new LimitingChangeVisitor(2, collectingVisitor)
    
        def "will not accept more changes than specified"() {
            def change1 = Mock(Change)
            def change2 = Mock(Change)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SummarizingChangeContainerTest.groovy

            visitor.getChanges().empty
        }
    
        def "only returns changes from a single delegate"() {
            def change1 = Mock(Change)
    
            when:
            state.accept(visitor)
    
            then:
            1 * state1.accept(_) >> { args ->
                args[0].visitChange(change1)
            }
            0 * _
    
            and:
            visitor.changes == [change1]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy

            executedAndNotSkipped(":myTask")
    
            when:
            withWatchFs().run "myTask"
            then:
            skipped(":myTask")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/11851")
        def "changes to #description are detected"() {
            file(fileToChange).createFile()
            file(linkSource).createLink(file(linkTarget))
    
            buildFile << """
                task myTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/NonIncrementalInputChangesTest.groovy

            def changes = new NonIncrementalInputChanges(ImmutableSortedMap.<String, CurrentFileCollectionFingerprint>of("input", fingerprint), new DefaultIncrementalInputProperties(ImmutableBiMap.of("input", value)))
            def expectedChangedFiles = [new File("/some/where")]
    
            when:
            def allFileChanges = changes.allFileChanges
            def fileChanges = changes.getFileChanges(value)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                List<String> changes = []
                if (operatorChanged) {
                    changes.add(modifierChangeDetail("operator", newIsOperator))
                }
                if (infixChanged) {
                    changes.add(modifierChangeDetail("infix", newIsInfix))
                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top