Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for alma (0.04 sec)

  1. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                    @TaskAction
                    void customAction() {
                        println("Hello from custom task")
                        println("- mapValues['alma'] = \${mapValues['alma']}")
                    }
                }
            """
    
            expect:
            succeeds(":compileGroovy")
        }
    
        def "can compile Kotlin code against public API"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/test/groovy/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMapTest.groovy

            when:
            modelMap.create("alma")
    
            then:
            1 * instantiator.create("alma", SomeType) >>  { new SomeType(name: "alma") }
            1 * backingCollection.add({ item -> item.name == "alma" })
            1 * backingCollection.iterator() >> { Collections.emptyIterator() }
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskOutputsTest.groovy

        def "cannot register output file with same property name"() {
            outputs.file("a").withPropertyName("alma")
            outputs.file("b").withPropertyName("alma")
            when:
            outputs.fileProperties
            then:
            def ex = thrown IllegalArgumentException
            ex.message == "Multiple output file properties with name 'alma'"
        }
    
        def "can register unnamed output files"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:24 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                        return Collections.singletonMap("alma", new Options());
                    }
    
                    @Nested
                    public Iterable<Map<String, Iterable<Options>>> getIterableMappedOptions() {
                        return Arrays.asList(Collections.singletonMap("alma", Arrays.asList(new Options())));
                    }
    
                    @Nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy

            inputs.files.files == files(inputFilePath)
        }
    
        def "cannot register input file with same property name"() {
            inputs.file("a").withPropertyName("alma")
            inputs.file("b").withPropertyName("alma")
            def visitor = new GetInputFilesVisitor(task.toString(), fileCollectionFactory)
            when:
            TaskPropertyUtils.visitProperties(walker, task, visitor)
            visitor.getFileProperties()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:09:26 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/TrieTest.groovy

    import spock.lang.Specification
    
    class TrieTest extends Specification {
    
        def "empty trie is empty"() {
            def empty = Trie.from()
            expect:
            !empty.find("")
            !empty.find("alma")
        }
    
        def "can find exact match"() {
            def trie = Trie.from("aaa", "bbb")
            expect:
            trie.find("aaa")
            trie.find("bbb")
            !trie.find("ccc")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedPathSensitivityIntegrationTest.groovy

                task producer {
                    outputs.cacheIf { true }
                    outputs.file("build/outputs/producer.txt")
                    doLast {
                        file("build/outputs/producer.txt").text = "alma"
                    }
                }
    
                task consumer {
                    dependsOn producer
                    outputs.cacheIf { true }
                    inputs.file("build/outputs/producer.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                        return Collections.singletonMap("alma", new Options());
                    }
    
                    @Nested
                    public Iterable<Map<String, Iterable<Options>>> getIterableMappedOptions() {
                        return Arrays.asList(Collections.singletonMap("alma", Arrays.asList(new Options())));
                    }
    
                    @Nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

         *     some/path     == some/other
         *     some1/path    &lt;  some2/other
         *     some/path     &gt;  some1/other
         *     some/same     == some/same/more
         *     some/one/alma == some/two/bela
         *     a/some        &lt;  b/other
         *
         * @return 0 if the two paths have a common prefix, and the comparison of the first segment of each path if not.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy

        def "local load does not stores to local"() {
            given:
            1 * local.loadLocally(key, _) >> { BuildCacheKey key, Consumer<File> action ->
                def file = tmpDir.file("file")
                file.text = "alma"
                action.accept(file)
            }
    
            when:
            controller.load(key, cacheableEntity)
    
            then:
            0 * local.storeLocally(key, _)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top