Documentation
¶
Index ¶
- type Case
- func (c *Case) Act(f func())
- func (c *Case) Arrange(f func(self erl.PID))
- func (c *Case) Assert(f func())
- func (c *Case) Receiver() *erltest.TestReceiver
- func (c *Case) Spawn(r erl.Runnable) erl.PID
- func (c *Case) StartServer(startLink func(self erl.PID) (erl.PID, error)) erl.PID
- func (c *Case) TestPID() erl.PID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case struct {
// contains filtered or unexported fields
}
func (*Case) Receiver ¶
func (c *Case) Receiver() *erltest.TestReceiver
func (*Case) StartServer ¶
Starts a server and links it to the testcase test pid. Will fail the test if startLink returns an error. Since it is linked to the test process, it should shutdown with it.
Click to show internal directories.
Click to hide internal directories.