File: log_mock_test.go

package info (click to toggle)
golang-github-xenolf-lego 4.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,080 kB
  • sloc: xml: 533; makefile: 128; sh: 18
file content (31 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package exec

import "github.com/stretchr/testify/mock"

type LogRecorder struct {
	mock.Mock
}

func (*LogRecorder) Fatal(args ...interface{}) {
	panic("implement me")
}

func (*LogRecorder) Fatalln(args ...interface{}) {
	panic("implement me")
}

func (*LogRecorder) Fatalf(format string, args ...interface{}) {
	panic("implement me")
}

func (*LogRecorder) Print(args ...interface{}) {
	panic("implement me")
}

func (l *LogRecorder) Println(args ...interface{}) {
	l.Called(args...)
}

func (*LogRecorder) Printf(format string, args ...interface{}) {
	panic("implement me")
}