Lines Matching defs:FotffMocker
34 type FotffMocker struct {
51 func NewFotffMocker(stepsNum int, firstFail int) *FotffMocker {
57 return &FotffMocker{
64 func (f *FotffMocker) TaskName() string {
68 func (f *FotffMocker) Prepare(pkgDir string, device string, ctx context.Context) error {
72 func (f *FotffMocker) DoTestTask(device string, ctx context.Context) ([]tester.Result, error) {
82 func (f *FotffMocker) DoTestCase(device string, testcase string, ctx context.Context) (tester.Result, error) {
101 func (f *FotffMocker) DoTestCases(device string, testcases []string, ctx context.Context) ([]tester.Result, error) {
113 func (f *FotffMocker) Flash(device string, pkg string, ctx context.Context) error {
127 func (f *FotffMocker) LastIssue(pkg string) (string, error) {
131 func (f *FotffMocker) Steps(from, to string) (ret []string, err error) {
135 func (f *FotffMocker) GetNewer(cur string) (string, error) {
139 func (f *FotffMocker) PkgDir(pkg string) string {
143 func (f *FotffMocker) TestCaseName() string {
147 func (f *FotffMocker) Last() string {
154 mocker *FotffMocker