Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for carlet (1.04 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    /**
     * A task used for cleaning up all accepted API changes. The functionality is called whenever the release process initiates "branching".
     */
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class CleanAcceptedApiChanges extends DefaultTask {
    
        @PathSensitive(PathSensitivity.ABSOLUTE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiationSchemeTest.groovy

            String prop
    
            Base() {
                prop = "default"
            }
        }
    
        static abstract class Impl extends Base {
            Impl() {
                throw new RuntimeException("should not be called")
            }
        }
    
        static abstract class WithServices {
            @Inject
            abstract String getProp()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSourceTest.groovy

            def result = provider.get()
    
            then:
            result.getResult().getExitValue() == 0
            new String(result.getOutput(), Charset.defaultCharset()) == "output"
            new String(result.getError(), Charset.defaultCharset()) == "error"
        }
    
        def "execOperations are not called if provider is not queried"() {
            when:
            createProviderOf(ProcessOutputValueSource.class) {
                it.parameters {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/DefaultConventionTest.groovy

            String message = "Hello world!";
        }
    
        static class FooPluginExtension {
            String foo = "foo"
    
            void foo(Closure closure) {
                fail("should not be called");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromKotlinDslIntegrationTest.groovy

            }
        }
    
        def "build script can query basic details of projects in a function called from allprojects block"() {
            createDirs("a", "b")
            settingsFile << """
                rootProject.name = "root"
                include("a", "b")
            """
            buildKotlinFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanWithMixInMethods.groovy

                    }
                    return DynamicInvokeResult.notFound()
                }
            }
        }
    
        Object methodMissing(String name, Object params) {
            throw new AssertionError("Should not be called")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ProducerGuardTest.groovy

                            @Override
                            Object get() {
                                if (concurrentCalls.getAndIncrement() != 0) {
                                    throw new IllegalStateException("Factory called concurrently")
                                }
                                return concurrentCalls.decrementAndGet()
                            }
                        })
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy

    import org.gradle.model.internal.type.ModelType
    import spock.lang.Specification
    
    class InstanceBackedModelRegistrationTest extends Specification {
    
        def registry = new DefaultModelRegistry(null, null)
    
        def "action is called"() {
            when:
            def fooReference = ModelReference.of("foo", List)
            def barReference = ModelReference.of("bar", List)
    
            def descriptor = new SimpleModelRuleDescriptor("foo")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTestHelper.groovy

        String groovyProperty
    
        def groovyMethod(a, b) {
            "groovy:$a.$b".toString()
        }
    }
    
    class DynamicGroovyBean {
        
        private holder = null;
        
        Map called = [:]
        
        def propertyMissing(String name) {
            if (name == "foo") {
                return holder;
            } else {
                throw new MissingPropertyException(name, getClass())
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanWithMixInProperties.groovy

                }
            }
        }
    
        Object propertyMissing(String name) {
            throw new AssertionError("should not be called")
        }
    
        void propertyMissing(String name, Object value) {
            throw new AssertionError("should not be called")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top