Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withImplementation (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy

            instanceFactory.register(ModelType.of(ThingSpec), new SimpleModelRuleDescriptor("thing"))
                .withImplementation(ModelType.of(DefaultThingSpec))
            instanceFactory.register(ModelType.of(OtherThingSpec), new SimpleModelRuleDescriptor("thing"))
                .withImplementation(ModelType.of(DefaultOtherThingSpec))
            instanceFactory.register(ModelType.of(MultiplePathsToRoot), new SimpleModelRuleDescriptor("thing"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

        ) {
            if (!testFramework.getUseDistributionDependencies()) {
                return new ForkedTestClasspath(
                    ImmutableList.copyOf(classpath), ImmutableList.copyOf(modulepath),
                    withImplementation(ImmutableList.of()), ImmutableList.of()
                );
            }
    
            AdditionalClasspath unfiltered = new AdditionalClasspath(
                testFramework.getWorkerApplicationClasspathModules(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

            TypeRegistrationBuilder<S> registration = register(publicType, definedBy);
            if (implementationType != null) {
                registration.withImplementation(implementationType);
            }
            for (Class<?> internalView : internalViews) {
                registration.withInternalView(ModelType.of(internalView));
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/MutableUnitOfWorkBuilder.groovy

            return this
        }
    
        MutableUnitOfWorkBuilder createsFiles(TestFile... outputFiles) {
            create = Arrays.asList(outputFiles)
            return this
        }
    
        MutableUnitOfWorkBuilder withImplementation(ImplementationSnapshot implementation) {
            this.implementation = implementation
            return this
        }
    
        MutableUnitOfWorkBuilder withProperty(String name, Object value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        }
    
        def "out-of-date when implementation changes"() {
            expect:
            execute(unitOfWork)
            outOfDate(
                builder.withImplementation(ImplementationSnapshot.of("DifferentType", TestHashCodes.hashCodeFrom(1234))).build(),
                "The type of ${unitOfWork.displayName} has changed from 'org.gradle.internal.execution.UnitOfWork' to 'DifferentType'."
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
Back to top