1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 16:50:56 +00:00
Beego/toolbox/profile_test.go
2013-11-20 21:18:00 +08:00

15 lines
299 B
Go

package toolbox
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)
}