MCPcopy Create free account
hub / github.com/astercloud/aster / SetupTest

Method SetupTest

examples/actor/actor_test.go:27–29  ·  view source on GitHub ↗

SetupTest 每个测试前创建新的 Actor 系统

()

Source from the content-addressed store, hash-verified

25
26// SetupTest 每个测试前创建新的 Actor 系统
27func (s *ActorSuite) SetupTest() {
28 s.system = actor.NewSystem("test")
29}
30
31// TearDownTest 每个测试后关闭 Actor 系统
32func (s *ActorSuite) TearDownTest() {

Callers

nothing calls this directly

Calls 1

NewSystemFunction · 0.92

Tested by

no test coverage detected