Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for merge (0.41 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

            when:
            run("merge")
    
            then:
            result.assertTasksExecuted(":createFiles", ":merge")
            file("output/merged.txt").text == 'file1,file1'
    
            when:
            run("merge")
    
            then:
            result.assertTasksNotSkipped()
    
            when:
            file("file-source.txt").text = "new-file1"
            run("merge")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

            file("output/merged.txt").text == 'file1'
    
            when:
            run("merge")
    
            then:
            result.assertTasksNotSkipped()
    
            when:
            file("file-source.txt").text = "new-file1"
            run("merge")
    
            then:
            result.assertTasksExecuted(":createFile", ":merge")
            file("output/merged.txt").text == 'new-file1'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                task merge(type: InputFilesTask) {
                    inFiles.addAll(files.elements)
                    outFile = file("merge.txt")
                }
            """
    
            when:
            run("merge")
    
            then:
            result.assertTasksExecuted(":produce1", ":produce2", ":merge")
            file("merge.txt").text == "one,two"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ImmutableActionSetTest.groovy

            1 * action2.execute("value")
            1 * action3.execute("value")
            0 * _
        }
    
        def "can merge empty set into empty set"() {
            def empty = ImmutableActionSet.empty()
    
            expect:
            def set = empty.mergeFrom(empty)
            set.is(empty)
        }
    
        def "can merge empty set into singleton set"() {
            def action = Mock(Action)
            def singleton = ImmutableActionSet.of(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                    If change was made on the `release` branch but hasn't yet been merged to `master`, merge `release` to `master`:
                    <a class="btn btn-info" role="button" data-toggle="collapse" href="#merge-release-${changeId}" aria-expanded="false" aria-controls="collapseExample">Merge release to master</a>
                    <div class="collapse" id="merge-release-${changeId}">
                      <div class="well">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<chapter/>', document)
            withCategories {
                renderer.merge(classDoc, result)
            }
    
            then:
            formatTree(result) == '''<chapter>
        <section>
            <title>Properties</title>
            <table>
                <title>Properties - Class</title>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            'missing'  | null       | null            | 0           | 0
        }
    
        def "method merge(#key, #newValue) changes map"(String key, String newValue, BiFunction<?, ?, ?> func, String expectedResult) {
            when:
            def map = getMapUnderTestToWrite()
            def result = map.merge(key, newValue, func)
    
            then:
            result == expectedResult
            map[key] == expectedResult
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

            assertDirectorySnapshot(s4, other)
            assertPartialDirectoryNode(s2, parent)
            flatten(s4) == [parent.path, "1:dir1", "2:child1", "1:dir2", "1:dir3", "1:dir4"]
        }
    
        def "splits and merges prefixes as directories are added"() {
            def parent = tmpDir.createDir()
            def dir1 = parent.createDir("dir1")
            def dir1dir2 = dir1.createDir("dir2")
            def dir1dir2dir3 = dir1dir2.createDir("dir3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
Back to top