- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 166 for instantiatorFactory (0.38 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultFlatDirArtifactRepositoryTest.groovy
import org.gradle.api.model.ObjectFactory import org.gradle.internal.component.external.model.ModuleComponentArtifactMetadata import org.gradle.internal.instantiation.InstantiatorFactory import org.gradle.internal.resource.ExternalResourceRepository import org.gradle.internal.resource.local.LocallyAvailableResourceFinder import org.gradle.util.TestUtil import spock.lang.Specification
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy
ToUpperCase )), TestUtil.instantiatorFactory().decorateLenient(), shouldNotFail()) } void withNonCacheableToUpperCaseRule() { rule = new InstantiatingAction<Details>(DefaultConfigurableRules.of(DefaultConfigurableRule.of( ToUpperCaseNotCached )), TestUtil.instantiatorFactory().decorateLenient(), shouldNotFail()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/plugins/DslObjectTest.groovy
dsl.asDynamicObject then: thrown(IllegalStateException) } static class Thing {} def "works for dsl object"() { when: new DslObject(TestUtil.instantiatorFactory().decorateLenient().newInstance(Thing)) then: notThrown(Exception) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenResolverTest.groovy
def lister = new InstantiatingAction<ComponentMetadataListerDetails>(DefaultConfigurableRules.of(Stub(ConfigurableRule)), TestUtil.instantiatorFactory().inject(), Stub(InstantiatingAction.ExceptionHandler))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/tasks/DefaultSourceSetContainerTest.groovy
def "can create a source set"() { given: def container = new DefaultSourceSetContainer(TestFiles.resolver(), TestFiles.taskDependencyFactory(), TestFiles.fileCollectionFactory(), TestUtil.instantiatorFactory().decorateLenient(), TestUtil.objectFactory(), CollectionCallbackActionDecorator.NOOP) when: SourceSet set = container.create("main") then: set instanceof DefaultSourceSet
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/CreateDefaultFlavorsTest.groovy
import org.gradle.util.TestUtil import spock.lang.Specification class CreateDefaultFlavorsTest extends Specification { def flavorContainer = new DefaultFlavorContainer(TestUtil.instantiatorFactory().decorateLenient(), CollectionCallbackActionDecorator.NOOP) def rule = new NativeComponentModelPlugin.Rules() def "has a single default flavor when not configured"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerFactoryTest.groovy
def buildOperationRunner = new TestBuildOperationRunner() def buildOperationProgressEmitter = new NoOpBuildOperationProgressEventEmitter() def config = new DefaultBuildCacheConfiguration(TestUtil.instantiatorFactory().inject(), [ new DefaultBuildCacheServiceRegistration(DirectoryBuildCache, TestDirectoryBuildCacheServiceFactory),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:46:34 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/AbstractAuthenticationSupportedRepositoryTest.groovy
class AbstractAuthenticationSupportedRepositoryTest extends Specification { AuthSupportedRepository repo() { new AuthSupportedRepository(TestUtil.instantiatorFactory().decorateLenient(), new DefaultAuthenticationContainer(TestUtil.instantiatorFactory().decorateLenient(), CollectionCallbackActionDecorator.NOOP)) } def "should configure default password credentials using an action only"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ComponentMetadataDetailsAdapterTest.groovy
import static org.gradle.internal.component.external.model.DefaultModuleComponentSelector.newSelector class ComponentMetadataDetailsAdapterTest extends Specification { private instantiator = TestUtil.instantiatorFactory().decorateLenient() private dependencyMetadataNotationParser = DependencyMetadataNotationParser.parser(instantiator, DirectDependencyMetadataImpl.class, SimpleMapInterner.notThreadSafe())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 20:17:51 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/InstantiationScheme.java
import java.lang.annotation.Annotation; import java.util.Set; /** * A scheme, or strategy, for creating objects. * * <p>Implementations are provided by a {@link InstantiatorFactory}.</p> */ public interface InstantiationScheme { /** * Returns the set of annotations that are supported by this instantiation scheme for dependency injection. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0)