1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 01:20:54 +00:00
Beego/toolbox/profile_test.go

15 lines
299 B
Go
Raw Normal View History

2013-11-20 13:17:49 +00:00
package toolbox
2013-11-15 13:45:51 +00:00
import (
"os"
"testing"
)
func TestProcessInput(t *testing.T) {
ProcessInput("lookup goroutine", os.Stdout)
ProcessInput("lookup heap", os.Stdout)
ProcessInput("lookup threadcreate", os.Stdout)
ProcessInput("lookup block", os.Stdout)
ProcessInput("gc summary", os.Stdout)
}