Documentation
¶
Overview ¶
Package tests contains various tests helpers and utilities to assist with the S3 client testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectHeaders ¶
ExpectHeaders checks whether specified headers match the expectations. The expectations map entry key is the header name. The expectations map entry value is the first header value. If wrapped with `^...$` it is compared as regular expression.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(stubs ...*RequestStub) *Client
NewClient creates a new test Client loaded with the specified RequestStubs.
func (*Client) AssertNoRemaining ¶
AssertNoRemaining asserts that current client has no unprocessed requests remaining.
Click to show internal directories.
Click to hide internal directories.