Skip to content

Commit

Permalink
revel.TestSuite has been moved to testing.TestSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
anonx committed Nov 25, 2014
1 parent e863aee commit 4169311
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 15 deletions.
6 changes: 4 additions & 2 deletions booking/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t *ApplicationTest) Before() {
Expand Down
6 changes: 4 additions & 2 deletions chat/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t *ApplicationTest) Before() {
Expand Down
6 changes: 4 additions & 2 deletions facebook-oauth2/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t *ApplicationTest) Before() {
Expand Down
6 changes: 4 additions & 2 deletions i18n/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t ApplicationTest) Before() {
Expand Down
3 changes: 2 additions & 1 deletion persona/tests/apptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import (
"time"

"github.com/revel/revel"
"github.com/revel/revel/testing"
)

var personaTestUsers map[string]PersonaTestUser

type AppTest struct {
revel.TestSuite
testing.TestSuite
}

type PersonaTestUser struct {
Expand Down
6 changes: 4 additions & 2 deletions twitter-oauth/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t *ApplicationTest) Before() {
Expand Down
3 changes: 2 additions & 1 deletion upload/tests/multipletest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
"github.com/revel/samples/upload/app/routes"

"github.com/revel/revel"
"github.com/revel/revel/testing"
)

// MultipleTest is a test suite of Multiple controller.
type MultipleTest struct {
revel.TestSuite
testing.TestSuite
}

// TestThatMultipleFilesUploadWorks makes sure that Multiple.HandleUpload requires
Expand Down
3 changes: 2 additions & 1 deletion upload/tests/singletest.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import (
"path"

"github.com/revel/revel"
"github.com/revel/revel/testing"
)

// SingleTest is a test suite of Multiple controller.
type SingleTest struct {
revel.TestSuite
testing.TestSuite
}

// TestThatSingleAvatarUploadWorks checks whether Signle.HandleUpload doesn't let users
Expand Down
6 changes: 4 additions & 2 deletions validation/tests/apptest.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tests

import "github.com/revel/revel"
import (
"github.com/revel/revel/testing"
)

type ApplicationTest struct {
revel.TestSuite
testing.TestSuite
}

func (t *ApplicationTest) Before() {
Expand Down

0 comments on commit 4169311

Please sign in to comment.