Documentation
¶
Overview ¶
Package suite contains a package service acceptance test suite that is backend implementation independent each storage will use the suite to test itself
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareAsSets ¶
func CompareAsSets(c *C, expected, actual []string)
Types ¶
type PackageSuite ¶
type PackageSuite struct { S pack.PackageService O blob.Objects U users.Users C *timetools.FreezedTime }
PackageSuite contains acceptance tests for package services
func (*PackageSuite) DeleteRepository ¶
func (s *PackageSuite) DeleteRepository(c *C)
DeleteRepository makes sure that when repository is deleted, all its package blobs are also deleted
func (*PackageSuite) PackagesCRUD ¶
func (s *PackageSuite) PackagesCRUD(c *C)
PackagesCRUD checks basic packages tests
func (*PackageSuite) RepositoriesCRUD ¶
func (s *PackageSuite) RepositoriesCRUD(c *C)
RepositoriesCRUD tests repositories Create, Read, Update operations
func (*PackageSuite) UpsertPackages ¶
func (s *PackageSuite) UpsertPackages(c *C)
UpsertPackages tests upsert flow
Click to show internal directories.
Click to hide internal directories.