Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 159 for instrument (0.3 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIncrementalIntegrationTest.groovy

                    def artifactType = Attribute.of('artifactType', String)
                    def instrumented = Attribute.of('${INSTRUMENTED_ATTRIBUTE.name}', String.class)
                    dependencies {
                        classpath "com.test:lib:1.0"
                        registerTransform(MakeColor) {
                            from.attribute(artifactType, 'jar').attribute(instrumented, '${NOT_INSTRUMENTED.value}')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 10:57:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/producer/build.gradle.kts

    plugins {
        `java-library`
        `maven-publish`
        `instrumented-jars`
    }
    
    publishing {
        repositories {
            maven {
                setUrl("${buildDir}/repo")
            }
        }
        publications {
            create<MavenPublication>("myPublication") {
                from(components["myAdhocComponent"])
            }
        }
    }
    
    if (project.hasProperty("disableGradleMetadata")) {
        // tag::disable_gradle_metadata_publication[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 852 bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/types/ExternalPluginsInstrumentationTypeRegistryTest.groovy

     */
    
    package org.gradle.internal.classpath.types
    
    import org.gradle.test.fixtures.concurrent.ConcurrentSpec
    
    class ExternalPluginsInstrumentationTypeRegistryTest extends ConcurrentSpec {
    
        def "should collect instrumented types"() {
            given:
            def gradleCoreRegistry = new TestGradleCoreInstrumentationTypeRegistry([
                "org/gradle/api/DefaultTask": ["org/gradle/api/Task", "org/gradle/api/internal/TaskInternal"] as Set,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 10:00:15 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/ConfigurationCacheInstrumentationProcessor.java

                (CodeGeneratorContributor) PropertyUpgradeClassSourceGenerator::new,
                // Generate resource with instrumented properties
                (ResourceGeneratorContributor) InstrumentedPropertiesResourceGenerator::new,
    
                // Generate resource with instrumented types
                (ResourceGeneratorContributor) InstrumentedTypesResourceGenerator::new
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:31:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInStaticGroovyIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in static Groovy"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            // Why the separate plugin? The Project.getProperties() is available in the build.gradle as getProperties().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/kotlinDsl/androidSingleBuild/kotlin/src/androidTest/java/org/gradle/kotlin/dsl/samples/androidstudio/ExampleInstrumentedTest.kt

    import android.support.test.InstrumentationRegistry
    import android.support.test.runner.AndroidJUnit4
    
    import org.junit.Test
    import org.junit.runner.RunWith
    
    import org.junit.Assert.*
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * See [testing documentation](http://d.android.com/tools/testing).
     */
    @RunWith(AndroidJUnit4::class)
    class ExampleInstrumentedTest {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInDynamicGroovyIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in dynamic Groovy #indyStatus"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${Plugin.name}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/kotlinDsl/androidBuild/kotlin/app/src/androidTest/java/org/gradle/kotlin/dsl/samples/androidstudio/ExampleInstrumentedTest.kt

    import android.support.test.InstrumentationRegistry
    import android.support.test.runner.AndroidJUnit4
    
    import org.junit.Test
    import org.junit.runner.RunWith
    
    import org.junit.Assert.*
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * See [testing documentation](http://d.android.com/tools/testing).
     */
    @RunWith(AndroidJUnit4::class)
    class ExampleInstrumentedTest {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-simple/kotlin/producer/build.gradle.kts

        extendsFrom(configurations["implementation"], configurations["runtimeOnly"])
    }
    // end::declare-outgoing-configuration[]
    
    val instrumentedJar = tasks.register("instrumentedJar", Jar::class) {
        archiveClassifier = "instrumented"
    }
    
    // tag::attach-outgoing-artifact[]
    artifacts {
        add("instrumentedJars", instrumentedJar)
    }
    // end::attach-outgoing-artifact[]
    
    /*
    // tag::attach-outgoing-artifact-explicit[]
    artifacts {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 832 bytes
    - Viewed (0)
  10. src/internal/fuzz/counters_supported.go

    //go:build (darwin || linux || windows || freebsd) && (amd64 || arm64)
    
    package fuzz
    
    import (
    	"unsafe"
    )
    
    // coverage returns a []byte containing unique 8-bit counters for each edge of
    // the instrumented source code. This coverage data will only be generated if
    // `-d=libfuzzer` is set at build time. This can be used to understand the code
    // coverage of a test execution.
    func coverage() []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 21:16:39 UTC 2022
    - 710 bytes
    - Viewed (0)
Back to top