示例#1
0
func (s *TestNameHelper) TearDownSuite(c *check.C) { s.name5 = c.TestName() }
示例#2
0
func (s *TestNameHelper) TearDownTest(c *check.C)  { s.name4 = c.TestName() }
示例#3
0
func (s *TestNameHelper) SetUpTest(c *check.C)     { s.name2 = c.TestName() }
示例#4
0
func (s *TestNameHelper) Test(c *check.C)          { s.name3 = c.TestName() }
示例#5
0
func (s *TestNameHelper) SetUpSuite(c *check.C)    { s.name1 = c.TestName() }