tests

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultipleTest

type MultipleTest struct {
	revel.TestSuite
}

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

type SingleTest struct {
	revel.TestSuite
}

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.

Jump to

Keyboard shortcuts

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