resources

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HeaderTokenTransport holds the header key for the reva transfer token
	// "github.com/cs3org/reva/v2/internal/http/services/datagateway" is internal so we redeclare it here
	HeaderTokenTransport = "X-Reva-Transfer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourcesFeatureContext

type ResourcesFeatureContext struct {
	*featurecontext.FeatureContext
}

ResourcesFeatureContext holds values which are used across test steps

func (*ResourcesFeatureContext) DeleteResourcesAfterScenario

func (f *ResourcesFeatureContext) DeleteResourcesAfterScenario(ctx context.Context, sc *godog.Scenario, err error) (context.Context, error)

deleteResourcesAfterScenario deletes resources which have been created after running the scenario

func (*ResourcesFeatureContext) EmptyTrashAfterScenario

func (f *ResourcesFeatureContext) EmptyTrashAfterScenario(ctx context.Context, sc *godog.Scenario, errsctx error) (context.Context, error)

emptyTrashAfterScenario empties the trash for all users after running the scenario

func (*ResourcesFeatureContext) NoResourceShouldBeListedInTheResponse

func (f *ResourcesFeatureContext) NoResourceShouldBeListedInTheResponse() error

func (*ResourcesFeatureContext) Register

func (f *ResourcesFeatureContext) Register(ctx *godog.ScenarioContext)

func (*ResourcesFeatureContext) ResourceOfTypeShouldBeListedInTheResponse

func (f *ResourcesFeatureContext) ResourceOfTypeShouldBeListedInTheResponse(number int, resourceType string) error

func (*ResourcesFeatureContext) UserHasCreatedAFolderOfTypeInTheHomeDirectoryWithTheAlias

func (f *ResourcesFeatureContext) UserHasCreatedAFolderOfTypeInTheHomeDirectoryWithTheAlias(user, resourceName, resourceAlias string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL