Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DetectExpectation ¶
type DetectExpectation struct { Args DetectInput ReturnArgs DetectOutput }
type DetectInput ¶
type DetectOutput ¶
type DetectOutput struct { Vulns []types.DetectedVulnerability Eosl bool Err error }
type MockDetector ¶
func NewMockDetector ¶
func NewMockDetector(detectExpectations []DetectExpectation) *MockDetector
func (*MockDetector) Detect ¶
func (_m *MockDetector) Detect(a, b string, c []analyzer.Package) ([]types.DetectedVulnerability, bool, error)
Click to show internal directories.
Click to hide internal directories.