MCPcopy Index your code
hub / github.com/SignTools/SignTools / validateManifest

Function validateManifest

main_test.go:174–181  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

172}
173
174func validateManifest(t *testing.T) {
175 apps, err := storage.Apps.GetAll()
176 assert.NoError(t, err)
177 assert.Len(t, apps, 1)
178 manifestBytes, err := makeManifest(serveAddress, apps[0])
179 assert.NoError(t, err)
180 assert.NoError(t, validateXML(string(manifestBytes)))
181}
182
183func validateFile(t *testing.T, actualData string, f func(storage.App) (storage.ReadonlyFile, error)) {
184 apps, err := storage.Apps.GetAll()

Callers 1

TestIntegrationFunction · 0.85

Calls 3

makeManifestFunction · 0.85
validateXMLFunction · 0.85
GetAllMethod · 0.45

Tested by

no test coverage detected