tests

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 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