예제 #1
0
func (t *TestSuite) SetUpTest(c *C) {
	gs, err := godspeed.NewDefault()
	c.Assert(err, IsNil)
	t.g = gs

	t.l, t.c, t.o = gspdtest.BuildListener(8125)
	go gspdtest.Listener(t.l, t.c, t.o)
}
예제 #2
0
func (t *ATestSuite) SetUpTest(c *C) {
	gs, err := godspeed.NewDefaultAsync()
	c.Assert(err, IsNil)
	t.g = gs

	t.g.SetNamespace("godspeed")
	t.g.AddTags([]string{"test0", "test1"})

	t.l, t.c, t.o = gspdtest.BuildListener(8125)
	go gspdtest.Listener(t.l, t.c, t.o)
}