Documentation
¶
Overview ¶
Package previewfixture contains only test boundaries for mobile-image-preview-noauth.
Index ¶
- Constants
- func AssertCalls(t *testing.T, caller *Caller, created bool, count int)
- func AssertElement(t *testing.T, caller *Caller, index int, inline, hasID bool, mime, file string)
- func MakeFile(t *testing.T, file string, size int64)
- func MustRunShared(t *testing.T, caller *Caller, file, mime string, size int64)
- func RunShared(t *testing.T, caller *Caller, file, mime string, size int64) error
- type Caller
Constants ¶
View Source
const Env = "DWS_MOBILE_IMAGE_PREVIEW_NOAUTH"
Variables ¶
This section is empty.
Functions ¶
func AssertElement ¶
func MustRunShared ¶
Types ¶
type Caller ¶
type Caller struct {
Tools []string
Elements []map[string]any
ResourceIDs []string
ResourceURL string
Uploads int
FailStage string
OnCredentials func()
UploadInfo map[string]any
RawUploadText string
WrapReceipt bool
ReadbackURL string
OnReadback func()
Context context.Context
Result any
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.