Documentation ¶
Index ¶
- func DownloadNotFound(t *testing.T, handler events.MultipartHandler)
- func Stream(t *testing.T, handler events.MultipartHandler)
- func StreamManyParts(t *testing.T, handler events.MultipartHandler)
- func StreamResumeManyParts(t *testing.T, handler events.MultipartHandler)
- func StreamResumeWithParameters(t *testing.T, handler events.MultipartHandler, params StreamParams)
- func StreamSinglePart(t *testing.T, handler events.MultipartHandler)
- func StreamWithParameters(t *testing.T, handler events.MultipartHandler, params StreamParams)
- func UploadDownload(t *testing.T, handler events.MultipartHandler)
- type EventsSuite
- type StreamParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadNotFound ¶
func DownloadNotFound(t *testing.T, handler events.MultipartHandler)
DownloadNotFound tests handling of the scenario when download is not found
func Stream ¶
func Stream(t *testing.T, handler events.MultipartHandler)
Stream tests stream upload and subsequent download and reads the results
func StreamManyParts ¶
func StreamManyParts(t *testing.T, handler events.MultipartHandler)
StreamManyParts tests stream upload and subsequent download and reads the results
func StreamResumeManyParts ¶
func StreamResumeManyParts(t *testing.T, handler events.MultipartHandler)
StreamResumeManyParts tests stream upload, failure to complete, resuming and subsequent download and reads the results.
func StreamResumeWithParameters ¶
func StreamResumeWithParameters(t *testing.T, handler events.MultipartHandler, params StreamParams)
StreamResumeWithParameters expects initial complete attempt to fail but subsequent resume to succeed
func StreamSinglePart ¶
func StreamSinglePart(t *testing.T, handler events.MultipartHandler)
StreamSinglePart tests stream upload and subsequent download and reads the results
func StreamWithParameters ¶
func StreamWithParameters(t *testing.T, handler events.MultipartHandler, params StreamParams)
StreamWithParameters tests stream upload and subsequent download and reads the results
func UploadDownload ¶
func UploadDownload(t *testing.T, handler events.MultipartHandler)
UploadDownload tests uploads and downloads
Types ¶
type EventsSuite ¶
EventsSuite is a conformance test suite to verify external event backends
func (*EventsSuite) EventPagination ¶
func (s *EventsSuite) EventPagination(t *testing.T)
EventPagination covers event search pagination.
func (*EventsSuite) SearchSessionEvensBySessionID ¶
func (s *EventsSuite) SearchSessionEvensBySessionID(t *testing.T)
func (*EventsSuite) SessionEventsCRUD ¶
func (s *EventsSuite) SessionEventsCRUD(t *testing.T)
SessionEventsCRUD covers session events
type StreamParams ¶
type StreamParams struct { // PrintEvents is amount of print events to generate PrintEvents int64 // ConcurrentUploads is amount of concurrent uploads ConcurrentUploads int // MinUploadBytes is minimum required upload bytes MinUploadBytes int64 }
StreamParams configures parameters of a stream test suite