/developtools/integration_verification/tools/fotff/tester/manual/ |
H A D | manual.go | 30 type Tester struct { type 38 func NewTester() tester.Tester { 39 ret := &Tester{} 44 func (t *Tester) TaskName() string { 48 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error { 52 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) { 56 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err error) { 79 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []tester.Result, err error) {
|
/developtools/integration_verification/tools/fotff/tester/mock/ |
H A D | mock.go | 24 type Tester struct{} type 26 func NewTester() tester.Tester { 27 return &Tester{} 30 func (t *Tester) TaskName() string { 34 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error { 38 func (t *Tester) DoTestTask(device string, ctx context.Context) ([]tester.Result, error) { 49 func (t *Tester) DoTestCase(device string, testCase string, ctx context.Context) (tester.Result, error) { 54 func (t *Tester) DoTestCases(device string, testcases []string, ctx context.Context) ([]tester.Result, error) {
|
/developtools/integration_verification/tools/fotff/tester/pkg_available/ |
H A D | pkg_available.go | 29 type Tester struct { type 37 func NewTester() tester.Tester { 38 ret := &Tester{} 42 func (t *Tester) TaskName() string { 46 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error { 51 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) { 55 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err error) { 72 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []tester.Result, err error) {
|
/developtools/integration_verification/tools/fotff/tester/common/ |
H A D | common.go | 25 // Tester is the common tester for most kinds of tests 26 type Tester struct { type 39 func NewTester() tester.Tester { 40 t := &Tester{} 45 func (t *Tester) TaskName() string { 49 func (t *Tester) Prepare(version string, device string, ctx context.Context) error { 54 func (t *Tester) DoTestTask(device string, ctx context.Context) ([]tester.Result, error) { 73 func (t *Tester) DoTestCase(device string, testCase string, ctx context.Context) (tester.Result, error) { 106 func (t *Tester) DoTestCases(device string, testCases []string, ctx context.Context) ([]tester.Result, error) { 127 func (t *Tester) processResul [all...] |
/developtools/integration_verification/tools/fotff/tester/xdevice/ |
H A D | xdevice.go | 36 type Tester struct { type 57 func NewTester() tester.Tester { 58 ret := &Tester{} 63 func (t *Tester) TaskName() string { 67 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) (err error) { 82 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) { 98 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err error) { 122 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []tester.Result, err error) { 138 func (t *Tester) readReport(reportDir string) (ret []tester.Result, err error) {
|
/developtools/integration_verification/tools/fotff/tester/smoke/ |
H A D | smoke.go | 35 type Tester struct { type 47 func NewTester() tester.Tester { 48 ret := &Tester{} 53 func (t *Tester) TaskName() string { 57 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error { 61 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) { 80 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err error) { 107 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []tester.Result, err error) { 126 func (t *Tester) readReport(reportDir string) (ret []tester.Result, err error) {
|
/developtools/integration_verification/tools/fotff/ |
H A D | main.go | 71 func initRunCmd(m pkg.Manager, t tester.Tester) *cobra.Command { 104 func initTestCmd(m pkg.Manager, t tester.Tester) *cobra.Command { 137 func loop(m pkg.Manager, t tester.Tester) { 182 func fotff(m pkg.Manager, t tester.Tester, success, fail, testcase string) error { 192 func initExecutor() (pkg.Manager, tester.Tester) { 196 Tester string `key:"tester" default:"mock"` 203 newTesterFunc, ok := newTesterFuncs[conf.Tester] 205 logrus.Panicf("no tester found for %s", conf.Tester)
|
/developtools/integration_verification/tools/fotff/tester/ |
H A D | tester.go | 33 type Tester interface { type 46 type NewFunc func() Tester
|
/developtools/integration_verification/tools/fotff/rec/ |
H A D | record.go | 53 func HandleResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string { 80 func handleFailResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string { 115 func Analysis(m pkg.Manager, t tester.Tester, pkgName string, testcases []string) {
|
H A D | fotff.go | 38 func FindOutTheFirstFail(m pkg.Manager, t tester.Tester, testCase string, successPkg string, failPkg string, fellows ...string) (string, error) { 53 func findOutTheFirstFail(m pkg.Manager, t tester.Tester, testcase string, steps []string, fellows ...string) (string, error) { 131 func flashAndTest(m pkg.Manager, t tester.Tester, pkg string, testcase string, ctx context.Context, fellows ...string) (bool, []string, error) {
|
H A D | flashandtest.go | 14 T tester.Tester
|