MCPcopy Create free account
hub / github.com/aptly-dev/aptly / TestFilepathList

Method TestFilepathList

deb/package_test.go:413–420  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

411}
412
413func (s *PackageSuite) TestFilepathList(c *C) {
414 packagePool := files.NewPackagePool(c.MkDir(), true)
415 p := NewPackageFromControlFile(s.stanza)
416
417 list, err := p.FilepathList(packagePool)
418 c.Check(err, IsNil)
419 c.Check(list, DeepEquals, []string{"1e/8c/alien-arena-common_7.40-2_i386.deb"})
420}
421
422func (s *PackageSuite) TestDownloadList(c *C) {
423 packagePool := files.NewPackagePool(c.MkDir(), false)

Callers

nothing calls this directly

Calls 5

NewPackagePoolFunction · 0.92
MkDirMethod · 0.65
FilepathListMethod · 0.65
CheckMethod · 0.45

Tested by

no test coverage detected