Code Review
/
iec.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Just ignore the foundation syntax check now
[iec.git]
/
src
/
foundation
/
api
/
apiserver
/
tests
/
apptest.go
1
package tests
2
3
import (
4
"github.com/revel/revel/testing"
5
)
6
7
type AppTest struct {
8
testing.TestSuite
9
}
10
11
func (t *AppTest) Before() {
12
println("Set up")
13
}
14
15
func (t *AppTest) TestThatIndexPageWorks() {
16
t.Get("/")
17
t.AssertOk()
18
t.AssertContentType("text/html; charset=utf-8")
19
}
20
21
func (t *AppTest) After() {
22
println("Tear down")
23
}