crash.software
Projects
Pull Requests
Issues
Builds
grype
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
grype
Files
🤬
Sign In
7614621b
ROOT
/
internal
/
file
/
getter_test.go
Search
History
262 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TestGetter_GetFile
(t *testing.T)
TestGetter_GetToDir_FilterNonArchivesWired
(t *testing.T)
TestGetter_validateHttpSource
(t *testing.T)
TestGetter_GetToDir_CertConcerns
(t *testing.T)
assertUnknownAuthorityError
(t assert.TestingT, err error, _ ...interface{})
:
bool
assertErrNonArchiveSource
(t assert.TestingT, err error, _ ...interface{})
:
bool
removeTrustedCAs
(client *http.Client)
createTarball
(filename string, content []byte)
:
[]byte
muxOption
withResponseForPath
(t *testing.T, path string, response []byte)
:
muxOption
newTestServer
(t *testing.T, muxOptions ...muxOption)
:
*httptest.Server
createRequestURL
(t *testing.T, server *httptest.Server, path string)
:
string
getClient
(t *testing.T, server *httptest.Server)
:
*http.Client
getHost
(t *testing.T, server *httptest.Server)
:
string
testFileContent
All occurrences
Please wait...
Page is in error, reload to recover