Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 323 for coverage2 (0.17 sec)

  1. src/cmd/go/internal/test/cover.go

    		fmt.Fprintf(ew, "error: test wrote malformed coverage profile %s.\n", file)
    		return
    	}
    	_, err = io.Copy(coverMerge.f, r)
    	if err != nil {
    		fmt.Fprintf(ew, "error: saving coverage profile: %v\n", err)
    	}
    }
    
    func closeCoverProfile() {
    	if coverMerge.f == nil {
    		return
    	}
    	if err := coverMerge.f.Close(); err != nil {
    		base.Errorf("closing coverage profile: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/MultiVersionTestInterceptor.groovy

     */
    class MultiVersionTestInterceptor extends AbstractContextualMultiVersionTestInterceptor<DefaultVersionedTool> {
        def versions
        def coverage
    
        MultiVersionTestInterceptor(Class<?> target) {
            super(target)
            versions = target.getAnnotation(TargetVersions)
            coverage = target.getAnnotation(TargetCoverage)
        }
    
        @Override
        protected Collection<DefaultVersionedTool> getAllVersions() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-standalone/kotlin/settings.gradle.kts

    rootProject.name = "jvm-multi-project-with-code-coverage"
    
    // production code projects
    include("application", "list", "utilities")
    
    // reporting utility projects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 194 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/syms.go

    		}
    	}
    }
    
    // LookupCoverage looks up the Go function 'name' in package
    // runtime/coverage. This function must follow the internal calling
    // convention.
    func LookupCoverage(name string) *ir.Name {
    	sym := ir.Pkgs.Coverage.Lookup(name)
    	if sym == nil {
    		base.Fatalf("LookupCoverage: can't find runtime/coverage.%s", name)
    	}
    	return sym.Def.(*ir.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/build-logic/commons/src/main/groovy/com.example.jacoco.gradle

            attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType, 'source-folders'))
        }
        sourceSets.main.java.srcDirs.forEach { outgoing.artifact(it) }
    }
    
    // Share the coverage data to be aggregated for the whole product
    configurations.create('coverageDataElements') {
        visible = false
        canBeResolved = false
        extendsFrom(configurations.implementation)
        attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/testing/internal/testdeps/deps.go

    }
    
    var CoverMode string
    var Covered string
    
    // These variables below are set at runtime (via code in testmain) to point
    // to the equivalent functions in package internal/coverage/cfile; doing
    // things this way allows us to have tests import internal/coverage/cfile
    // only when -cover is in effect (as opposed to importing for all tests).
    var (
    	CoverSnapshotFunc           func() float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_build_cmdline_pkgs.txt

    [!GOEXPERIMENT:coverageredesign] skip
    
    # Compile an object.
    go tool compile -p tiny tiny/tiny.go tiny/tiny2.go
    
    # Build a stdlib command with coverage.
    go build -o $WORK/nm.exe -cover cmd/nm 
    
    # Save off old GOCOVERDIR setting
    env SAVEGOCOVERDIR=$GOCOVERDIR
    
    # Collect a coverage profile from running 'cmd/nm' on the object.
    mkdir $WORK/covdata
    env GOCOVERDIR=$WORK/covdata
    exec $WORK/nm.exe tiny.o
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/build.gradle

                def testTaskName = "test${sourceName.capitalize()}UnitTest"
                // Create coverage task of form 'testFlavorTypeCoverage' depending on 'testFlavorTypeUnitTest'
                task "${testTaskName}Coverage" (type:JacocoReport, dependsOn: "$testTaskName") {
                    group = "Reporting"
                    description = "Generate Jacoco coverage reports on the ${sourceName.capitalize()} build."
                    classDirectories.from(fileTree(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/internal/coverage/stringtab/stringtab.go

    // license that can be found in the LICENSE file.
    
    package stringtab
    
    import (
    	"fmt"
    	"internal/coverage/slicereader"
    	"internal/coverage/uleb128"
    	"io"
    )
    
    // This package implements string table writer and reader utilities,
    // for use in emitting and reading/decoding coverage meta-data and
    // counter-data files.
    
    // Writer implements a string table writing utility.
    type Writer struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginIntegrationTest.groovy

                        assert allJvmArgs.every { !it.contains("javaagent") }
                    }
                }
            """
            expect:
            succeeds "test"
        }
    
        def "jacoco plugin adds coverage report for test task when java plugin applied"() {
            given:
            buildFile << '''
                assert project.test.extensions.getByType(JacocoTaskExtension) != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top