test

package
v1.5.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunStoreSuite

func RunStoreSuite(t *testing.T, creator StoreCreator)

Types

type StoreCreator

type StoreCreator func(ctx context.Context, dbPath string) (store.ExecutionStore, error)

type StoreSuite

type StoreSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func (*StoreSuite) SetupSuite

func (s *StoreSuite) SetupSuite()

func (*StoreSuite) SetupTest

func (s *StoreSuite) SetupTest()

func (*StoreSuite) TearDownTest

func (s *StoreSuite) TearDownTest()

func (*StoreSuite) TestCreateExecution

func (s *StoreSuite) TestCreateExecution()

func (*StoreSuite) TestCreateExecutionAlreadyExists

func (s *StoreSuite) TestCreateExecutionAlreadyExists()

func (*StoreSuite) TestCreateExecutionInvalidState

func (s *StoreSuite) TestCreateExecutionInvalidState()

func (*StoreSuite) TestDeleteExecution

func (s *StoreSuite) TestDeleteExecution()

func (*StoreSuite) TestDeleteExecutionDoesntExist

func (s *StoreSuite) TestDeleteExecutionDoesntExist()

func (*StoreSuite) TestDeleteExecutionMultiEntries

func (s *StoreSuite) TestDeleteExecutionMultiEntries()

func (*StoreSuite) TestFullLiveExecutions

func (s *StoreSuite) TestFullLiveExecutions()

func (*StoreSuite) TestGetExecutionCount

func (s *StoreSuite) TestGetExecutionCount()

func (*StoreSuite) TestGetExecutionDoesntExist

func (s *StoreSuite) TestGetExecutionDoesntExist()

func (*StoreSuite) TestGetExecutionHistoryDoesntExist

func (s *StoreSuite) TestGetExecutionHistoryDoesntExist()

func (*StoreSuite) TestGetExecutions

func (s *StoreSuite) TestGetExecutions()

func (*StoreSuite) TestGetExecutionsDoesntExist

func (s *StoreSuite) TestGetExecutionsDoesntExist()

func (*StoreSuite) TestGetLiveExecutions

func (s *StoreSuite) TestGetLiveExecutions()

func (*StoreSuite) TestGetMultipleLiveExecutions

func (s *StoreSuite) TestGetMultipleLiveExecutions()

func (*StoreSuite) TestStateCounterChange

func (s *StoreSuite) TestStateCounterChange()

func (*StoreSuite) TestUpdateExecution

func (s *StoreSuite) TestUpdateExecution()

func (*StoreSuite) TestUpdateExecutionConditionsPass

func (s *StoreSuite) TestUpdateExecutionConditionsPass()

func (*StoreSuite) TestUpdateExecutionConditionsRevisionFail

func (s *StoreSuite) TestUpdateExecutionConditionsRevisionFail()

func (*StoreSuite) TestUpdateExecutionConditionsStateFail

func (s *StoreSuite) TestUpdateExecutionConditionsStateFail()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL