crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
fd02bef0
ROOT
/
test
/
cli
/
trait_assertions_test.go
Search
History
185 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
traitAssertion
assertFileOutput
(tb testing.TB, path string, assertions ...traitAssertion)
:
traitAssertion
assertJsonReport
(tb testing.TB, stdout, _ string, _ int)
assertTableReport
(tb testing.TB, stdout, _ string, _ int)
assertLoggingLevel
(level string)
:
traitAssertion
assertNotInOutput
(data string)
:
traitAssertion
assertInOutput
(data string)
:
traitAssertion
assertStdoutLengthGreaterThan
(length uint)
:
traitAssertion
assertPackageCount
(length uint)
:
traitAssertion
assertFailingReturnCode
(tb testing.TB, _, _ string, rc int)
assertSuccessfulReturnCode
(tb testing.TB, _, _ string, rc int)
assertVerifyAttestation
(coverageImage string)
:
traitAssertion
assertFileExists
(file string)
:
traitAssertion
All occurrences
Please wait...
Page is in error, reload to recover