Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 611 for transform1 (0.17 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            transformRegistry.registrations >> [transform1, transform2, transform3, transform4, transform5, transform6]
    
            when:
            def result = transformations.findTransformedVariants(variants, requested)
    
            then:
            result.size() == 2
            // sourceVariant + transform2 + transform3 = compatible
            assertTransformChain(result[0], sourceVariant, compatible, transform2, transform3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            1 * transform1.transform(someValue()) >> someOtherValue()
            1 * transform2.transform(someOtherValue()) >> someOtherValue2()
            1 * transform3.transform(someOtherValue2()) >> someOtherValue3()
            0 * _
        }
    
        def "can chain mapped providers with filtering providers"() {
            def transform1 = Mock(Transformer)
            def spec = Mock(Spec)
            def transform2 = Mock(Transformer)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            when:
            run "transform2"
    
            then:
            result.assertTasksExecuted(":transform2")
            result.assertTasksSkipped(":transform2")
    
            when:
            run "transform1"
    
            then:
            result.assertTasksExecuted(":transform1")
            result.assertTasksNotSkipped(":transform1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            def task4 = new TestTaskNode("task4")
            def transform1 = new TestTransformStepNode("transform1")
    
            dependsOn(task1, [task2, transform1])
            dependsOn(task2, [task3])
            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

            when:
            fails ":resolve"
    
            then:
            failure.assertHasCause("Failed to transform bad-b.jar to match attributes {artifactType=size}")
            failure.assertHasCause("Failed to transform bad-c.jar to match attributes {artifactType=size}")
        }
    
        def "only one transformer execution per workspace"() {
    
            createDirs("lib", "app1", "app2")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/transform/transform.go

    type Transformer interface {
    	// Transform writes to dst the transformed bytes read from src, and
    	// returns the number of dst bytes written and src bytes read. The
    	// atEOF argument tells whether src represents the last bytes of the
    	// input.
    	//
    	// Callers should always process the nDst bytes produced and account
    	// for the nSrc bytes consumed before considering the error err.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 21.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/transform/transform.go

    type Transformer interface {
    	// Transform writes to dst the transformed bytes read from src, and
    	// returns the number of dst bytes written and src bytes read. The
    	// atEOF argument tells whether src represents the last bytes of the
    	// input.
    	//
    	// Callers should always process the nDst bytes produced and account
    	// for the nSrc bytes consumed before considering the error err.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def "reuses file from its origin cache when transform is none"() {
            given:
            def file = testDir.file("other/thing.jar")
            _ * globalCacheLocations.isInsideGlobalCache(file.absolutePath) >> true
            jar(file)
            def classpath = DefaultClassPath.of(file)
            transformer.transform(classpath, None)
    
            when:
            def cachedClasspath = transformer.transform(classpath, None)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

    import org.gradle.internal.Either;
    import org.gradle.internal.classpath.transforms.ClassTransform;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactory;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForAgent;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForLegacy;
    import org.gradle.internal.classpath.transforms.InstrumentingClassTransform;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    == Artifact transform selection and execution
    
    As described above, when Gradle resolves a configuration and a dependency in the configuration does not have a variant with the requested attributes, Gradle tries to find a chain of artifact transforms to create the variant.
    The process of finding a matching chain of artifact transforms is called _artifact transform selection_.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top