java

package
v2.2.0-alpha29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package java implements the methods for java coverage services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeAndGenerateJacocoReport

func MergeAndGenerateJacocoReport(ctx context.Context, logger *zap.Logger) error

func MergeJacocoCoverageFiles

func MergeJacocoCoverageFiles(ctx context.Context, jacocoCliPath string) error

Types

type Java

type Java struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, logger *zap.Logger, reportDB coverage.ReportDB, cmd, jacocoAgentPath, executable string) *Java

func (*Java) AppendCoverage

func (j *Java) AppendCoverage(coverage *models.TestCoverage, testRunID string) error

func (*Java) GetCoverage

func (j *Java) GetCoverage() (models.TestCoverage, error)

func (*Java) PreProcess

func (j *Java) PreProcess() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL