Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Metadata (0.65 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy

                return delegateResult
            }
    
            then:
            1 * immutableWorkspaceMetadataStore.storeWorkspaceMetadata(temporaryWorkspace, _) >> { File workspace, ImmutableWorkspaceMetadata metadata ->
                metadata.originMetadata == delegateOriginMetadata
            }
    
            then:
            1 * fileSystemAccess.moveAtomically(temporaryWorkspace.absolutePath, immutableWorkspace.absolutePath) >> { String from, String to ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 14:32:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-base/src/test/groovy/org/gradle/caching/internal/origin/OriginMetadataFactoryTest.groovy

        def factory = new OriginMetadataFactory(
            buildInvocationId,
            { it.gradleVersion = "3.0" }
        )
        def buildCacheKey = TestHashCodes.hashCodeFrom(1234)
    
        def "converts to origin metadata"() {
            def origin = new Properties()
            def writer = factory.createWriter("identity", CacheableEntity, buildCacheKey, Duration.ofMillis(10))
            def baos = new ByteArrayOutputStream()
            writer.execute(baos)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 15:16:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

        private final MethodMetaData metaData
        private final List<Element> comment
        private final ClassMetaData referringClass
    
        MethodDoc(MethodMetaData metaData, List<Element> comment) {
            this(metaData.ownerClass, metaData, comment)
        }
    
        MethodDoc(ClassMetaData referringClass, MethodMetaData metaData, List<Element> comment) {
            this.metaData = metaData
            this.referringClass = referringClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

            mixinClasses.each { mixin ->
                mixin.classMethods.each { method ->
                    methods << method.forClass(targetClass)
                }
            }
            return methods.sort { it.metaData.overrideSignature }
        }
    
        List<BlockDoc> getExtensionBlocks() {
            List<BlockDoc> blocks = []
            mixinClasses.each { mixin ->
                mixin.classBlocks.each { block ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

            def metadata = metadataStore.getTypeMetadata(TypeWithUnannotatedProperties)
    
            then:
            metadata.propertiesMetadata.propertyName == ["useful"]
            collectProblems(metadata) == [
                missingAnnotationMessage { property('bad1').missingInputOrOutput().includeLink() },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            }
    
            //updating/modifying the metadata and making sure every type reference across the metadata is fully qualified
            //so, the superClassName, interfaces and types needed by declared properties and declared methods will have fully qualified name
            TypeNameResolver resolver = new TypeNameResolver(repository)
            repository.each { name, metaData ->
                fullyQualifyAllTypeNames(metaData, resolver)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

            def fileName = repositoryFile.name
            if (fileName.startsWith('maven-metadata.xml')) {
                if (fileName == 'maven-metadata.xml') {
                    return clearLastUpdatedElementOf(repositoryFile.text)
                }
                // Ignore contents of maven-metadata.xml.sha256, etc, because hashes will most likely
                // change between runs due to <lastUpdated /> differences.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/IdentityCacheStepTest.groovy

            1 * progressEventEmitter.emitNowIfCurrent({ it ->
                it.originBuildInvocationId == originMetadata.buildInvocationId
            })
            0 * _
        }
    
        def "returns origin metadata of current build when not re-used"() {
            def delegateOutput = Mock(Object)
            def delegateResult = Mock(WorkspaceResult)
            def originMetadata = Stub(OriginMetadata) {
                buildInvocationId >> "12345"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:13:07 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy

            def output = new ByteArrayOutputStream()
    
            new TarArchiveOutputStream(output).withCloseable { tar ->
                def metadataBytes = "".bytes
                def metadataEntry = new TarArchiveEntry("METADATA")
                metadataEntry.size = metadataBytes.length
                tar.putArchiveEntry(metadataEntry)
                tar.write(metadataBytes)
                tar.closeArchiveEntry()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/OriginMetadataSerializerTest.groovy

    import java.time.Duration
    
    class OriginMetadataSerializerTest extends SerializerSpec {
    
        def serializer = new OriginMetadataSerializer()
    
        def "can serialize and deserialize origin metadata"() {
            def originMetadata = new OriginMetadata("test-invocation-id", TestHashCodes.hashCodeFrom(1234), Duration.ofSeconds(123))
    
            expect:
            serialize(originMetadata, serializer) == originMetadata
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top