steps

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectedMetaData

type ExpectedMetaData struct {
	Path          string
	IsPublishable string
	CollectionID  string
	Title         string
	SizeInBytes   string
	Type          string
	Licence       string
	LicenceUrl    string
	CreatedAt     string
	LastModified  string
	State         string
}

type ExpectedMetaDataMoved added in v1.3.0

type ExpectedMetaDataMoved struct {
	ExpectedMetaDataPublished
	MovedAt string
}

type ExpectedMetaDataPublished

type ExpectedMetaDataPublished struct {
	ExpectedMetaDataUploadComplete
	PublishedAt string
}

type ExpectedMetaDataUploadComplete

type ExpectedMetaDataUploadComplete struct {
	ExpectedMetaData
	Etag              string
	UploadCompletedAt string
}

type FilesApiComponent

type FilesApiComponent struct {
	DpHttpServer *dphttp.Server

	ApiFeature *componenttest.APIFeature
	// contains filtered or unexported fields
}

func NewFilesApiComponent

func NewFilesApiComponent() *FilesApiComponent

func (*FilesApiComponent) Close

func (d *FilesApiComponent) Close() error

func (*FilesApiComponent) Initialiser

func (d *FilesApiComponent) Initialiser() (http.Handler, error)

func (*FilesApiComponent) RegisterSteps

func (c *FilesApiComponent) RegisterSteps(ctx *godog.ScenarioContext)

func (*FilesApiComponent) Reset

func (d *FilesApiComponent) Reset()

type TestClock

type TestClock struct{}

func (TestClock) GetCurrentTime

func (tt TestClock) GetCurrentTime() time.Time

Jump to

Keyboard shortcuts

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