Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultipleTest ¶
MultipleTest is a test suite of Multiple controller.
func (*MultipleTest) TestThatMultipleFilesUploadWorks ¶
func (t *MultipleTest) TestThatMultipleFilesUploadWorks()
TestThatMultipleFilesUploadWorks makes sure that Multiple.HandleUpload requires multiple files to be uploaded.
type SingleTest ¶
SingleTest is a test suite of Multiple controller.
func (*SingleTest) TestThatSingleAvatarUploadWorks ¶
func (t *SingleTest) TestThatSingleAvatarUploadWorks()
TestThatSingleAvatarUploadWorks checks whether Signle.HandleUpload doesn't let users upload anything but only image files of type JPG and PNG with a specific resolution and size.
Click to show internal directories.
Click to hide internal directories.