finders

package
v0.0.0-...-cd06882 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package finders contains the implementations of the abstract finder interface.

Package finders contains the implementations of the abstract finder interface.

Index

Constants

This section is empty.

Variables

View Source
var G3MoblyFinderType = common.FinderHarness("G3Mobly")
View Source
var TradefedFinderType = common.FinderHarness("Tradefed")

Functions

func TPtoSuite

func TPtoSuite(req *api.InternalTestplan) ([]*api.TestSuite, error)

Types

type ExtraInfo

type ExtraInfo struct {
	ExecutableName string `json:"executable_name"`
}

type G3MoblyFinder

type G3MoblyFinder struct {
	*common.AbstractFinder
}

func NewG3MoblyFinder

func NewG3MoblyFinder(ctx context.Context, req *api.InternalTestplan, log *log.Logger) *G3MoblyFinder

func (*G3MoblyFinder) FindTestsAB

func (ex *G3MoblyFinder) FindTestsAB() (*api.InternalTestplan, error)

type Module

type Module struct {
	Name         string   `json:"name"`
	Parameters   []string `json:"parameters"`
	Abis         []string `json:"abis"`
	BugComponent []int32  `json:"bug_components"`
}

type TFTestInfo

type TFTestInfo struct {
	Version     string        `json:"version"`
	Suite       string        `json:"suite"`
	Branch      string        `json:"branch"`
	Targets     []string      `json:"targets"`
	BuildID     string        `json:"build_id"`
	Modules     []Module      `json:"modules"`
	TargetBuild []TargetBuild `json:"target_build"`
}

type TargetBuild

type TargetBuild struct {
	Target  string `json:"target"`
	BuildId string `json:"build_id"`
	Abi     string `json:"abi"`
}

type TestInfo

type TestInfo struct {
	Name      string      `json:"name"`
	Tags      []string    `json:"tags"`
	ExtraInfo []ExtraInfo `json:"extra_info"`
}

type TradefedFinder

type TradefedFinder struct {
	*common.AbstractFinder
}

func NewTradefedFinder

func NewTradefedFinder(ctx context.Context, req *api.InternalTestplan, log *log.Logger) *TradefedFinder

func (*TradefedFinder) FindTestsAB

func (ex *TradefedFinder) FindTestsAB() (*api.InternalTestplan, error)

Jump to

Keyboard shortcuts

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