- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 561 for transform1 (0.24 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java
* @param transforms The remaining transforms which may be prepended to {@code chain} to produce a solution. */ public ChainState(@Nullable ChainNode chain, ImmutableAttributes requested, ImmutableFilteredList<TransformRegistration> transforms) { this.chain = chain; this.requested = requested; this.transforms = transforms; } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy
class TransformedClassPathTest extends Specification { def "transformed jars are returned when present"() { given: TransformedClassPath cp = transformedClassPath("original.jar": "transformed.jar") expect: cp.findTransformedEntryFor(file("original.jar")) == file("transformed.jar") } def "transformed jars are returned in the list of transformed files"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 11:14:30 UTC 2024 - 11.7K bytes - Viewed (0)