Documentation ¶
Index ¶
- type Suite
- func (suite *Suite) AssertFileContents(file string, expectedContents []byte)
- func (suite *Suite) AssertGDTaskExist(task *domain.GDTask)
- func (suite *Suite) GivenGDTaskWithCommand(cmd string) *domain.GDTask
- func (suite *Suite) GivenGDTaskWithIDForServer(id int, server *domain.Server) *domain.GDTask
- func (suite *Suite) GivenSequenceGDTaskForServer(server *domain.Server) []*domain.GDTask
- func (suite *Suite) RunTaskManager(timeout time.Duration)
- func (suite *Suite) RunTaskManagerUntilTasksCompleted(tasks []*domain.GDTask)
- func (suite *Suite) SetupSuite()
- func (suite *Suite) SetupTest()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
type Suite struct { functional.GameServerSuite TaskManager *gdaemonscheduler.TaskManager GDTaskRepository *mocks.GDTaskRepository ServerRepository *mocks.ServerRepository Executor contracts.Executor ProcessManager contracts.ProcessManager Cache contracts.Cache Cfg *config.Config WorkPath string }
func (*Suite) AssertFileContents ¶
func (*Suite) AssertGDTaskExist ¶
func (*Suite) GivenGDTaskWithCommand ¶
func (*Suite) GivenGDTaskWithIDForServer ¶
func (*Suite) GivenSequenceGDTaskForServer ¶
func (*Suite) RunTaskManager ¶
func (*Suite) RunTaskManagerUntilTasksCompleted ¶
func (*Suite) SetupSuite ¶
func (suite *Suite) SetupSuite()
Click to show internal directories.
Click to hide internal directories.