tests

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionMutableStateSuite

type ExecutionMutableStateSuite struct {
	suite.Suite
	*require.Assertions
	// contains filtered or unexported fields
}

func NewExecutionMutableStateSuite

func NewExecutionMutableStateSuite(
	t *testing.T,
	shardStore p.ShardStore,
	executionStore p.ExecutionStore,
	logger log.Logger,
) *ExecutionMutableStateSuite

func (*ExecutionMutableStateSuite) SetupSuite

func (s *ExecutionMutableStateSuite) SetupSuite()

func (*ExecutionMutableStateSuite) SetupTest

func (s *ExecutionMutableStateSuite) SetupTest()

func (*ExecutionMutableStateSuite) TearDownSuite

func (s *ExecutionMutableStateSuite) TearDownSuite()

func (*ExecutionMutableStateSuite) TearDownTest

func (s *ExecutionMutableStateSuite) TearDownTest()

func (*ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent

func (s *ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent()

func (*ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_Conflict

func (s *ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_Conflict()

func (*ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_CurrentConflict

func (s *ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_CurrentConflict()

func (*ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_WithNew

func (s *ExecutionMutableStateSuite) TestConflictResolve_ResetCurrent_WithNew()

func (*ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent

func (s *ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent()

func (*ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_Conflict_Case1

func (s *ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_Conflict_Case1()

func (*ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_Conflict_Case2

func (s *ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_Conflict_Case2()

func (*ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_CurrentConflict

func (s *ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_CurrentConflict()

func (*ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_WithNew

func (s *ExecutionMutableStateSuite) TestConflictResolve_SuppressCurrent_WithNew()

func (*ExecutionMutableStateSuite) TestConflictResolve_Zombie

func (s *ExecutionMutableStateSuite) TestConflictResolve_Zombie()

func (*ExecutionMutableStateSuite) TestConflictResolve_Zombie_Conflict

func (s *ExecutionMutableStateSuite) TestConflictResolve_Zombie_Conflict()

func (*ExecutionMutableStateSuite) TestConflictResolve_Zombie_CurrentConflict

func (s *ExecutionMutableStateSuite) TestConflictResolve_Zombie_CurrentConflict()

func (*ExecutionMutableStateSuite) TestConflictResolve_Zombie_WithNew

func (s *ExecutionMutableStateSuite) TestConflictResolve_Zombie_WithNew()

func (*ExecutionMutableStateSuite) TestCreate_BrandNew

func (s *ExecutionMutableStateSuite) TestCreate_BrandNew()

func (*ExecutionMutableStateSuite) TestCreate_BrandNew_CurrentConflict

func (s *ExecutionMutableStateSuite) TestCreate_BrandNew_CurrentConflict()

func (*ExecutionMutableStateSuite) TestCreate_Conflict

func (s *ExecutionMutableStateSuite) TestCreate_Conflict()

func (*ExecutionMutableStateSuite) TestCreate_Reuse

func (s *ExecutionMutableStateSuite) TestCreate_Reuse()

func (*ExecutionMutableStateSuite) TestCreate_Reuse_CurrentConflict

func (s *ExecutionMutableStateSuite) TestCreate_Reuse_CurrentConflict()

func (*ExecutionMutableStateSuite) TestCreate_Zombie

func (s *ExecutionMutableStateSuite) TestCreate_Zombie()

func (*ExecutionMutableStateSuite) TestDeleteCurrent_IsCurrent

func (s *ExecutionMutableStateSuite) TestDeleteCurrent_IsCurrent()

func (*ExecutionMutableStateSuite) TestDeleteCurrent_NotCurrent

func (s *ExecutionMutableStateSuite) TestDeleteCurrent_NotCurrent()

func (*ExecutionMutableStateSuite) TestDelete_Exists

func (s *ExecutionMutableStateSuite) TestDelete_Exists()

func (*ExecutionMutableStateSuite) TestDelete_NotExists

func (s *ExecutionMutableStateSuite) TestDelete_NotExists()

func (*ExecutionMutableStateSuite) TestUpdate_NotZombie

func (s *ExecutionMutableStateSuite) TestUpdate_NotZombie()

func (*ExecutionMutableStateSuite) TestUpdate_NotZombie_Conflict

func (s *ExecutionMutableStateSuite) TestUpdate_NotZombie_Conflict()

func (*ExecutionMutableStateSuite) TestUpdate_NotZombie_CurrentConflict

func (s *ExecutionMutableStateSuite) TestUpdate_NotZombie_CurrentConflict()

func (*ExecutionMutableStateSuite) TestUpdate_NotZombie_WithNew

func (s *ExecutionMutableStateSuite) TestUpdate_NotZombie_WithNew()

func (*ExecutionMutableStateSuite) TestUpdate_Zombie

func (s *ExecutionMutableStateSuite) TestUpdate_Zombie()

func (*ExecutionMutableStateSuite) TestUpdate_Zombie_Conflict

func (s *ExecutionMutableStateSuite) TestUpdate_Zombie_Conflict()

func (*ExecutionMutableStateSuite) TestUpdate_Zombie_CurrentConflict

func (s *ExecutionMutableStateSuite) TestUpdate_Zombie_CurrentConflict()

func (*ExecutionMutableStateSuite) TestUpdate_Zombie_WithNew

func (s *ExecutionMutableStateSuite) TestUpdate_Zombie_WithNew()

type HistoryEventsPacket

type HistoryEventsPacket struct {
	// contains filtered or unexported fields
}

type HistoryEventsSuite

type HistoryEventsSuite struct {
	suite.Suite
	*require.Assertions
	// contains filtered or unexported fields
}

func NewHistoryEventsSuite

func NewHistoryEventsSuite(
	t *testing.T,
	store p.ExecutionStore,
	logger log.Logger,
) *HistoryEventsSuite

func (*HistoryEventsSuite) SetupSuite

func (s *HistoryEventsSuite) SetupSuite()

func (*HistoryEventsSuite) SetupTest

func (s *HistoryEventsSuite) SetupTest()

func (*HistoryEventsSuite) TearDownSuite

func (s *HistoryEventsSuite) TearDownSuite()

func (*HistoryEventsSuite) TearDownTest

func (s *HistoryEventsSuite) TearDownTest()

func (*HistoryEventsSuite) TestAppendForkSelectTrim_LastBranch

func (s *HistoryEventsSuite) TestAppendForkSelectTrim_LastBranch()

func (*HistoryEventsSuite) TestAppendForkSelectTrim_NonLastBranch

func (s *HistoryEventsSuite) TestAppendForkSelectTrim_NonLastBranch()

func (*HistoryEventsSuite) TestAppendForkSelect_NoShadowing

func (s *HistoryEventsSuite) TestAppendForkSelect_NoShadowing()

func (*HistoryEventsSuite) TestAppendForkSelect_Shadowing_LastBranch

func (s *HistoryEventsSuite) TestAppendForkSelect_Shadowing_LastBranch()

func (*HistoryEventsSuite) TestAppendForkSelect_Shadowing_NonLastBranch

func (s *HistoryEventsSuite) TestAppendForkSelect_Shadowing_NonLastBranch()

func (*HistoryEventsSuite) TestAppendSelectTrim

func (s *HistoryEventsSuite) TestAppendSelectTrim()

func (*HistoryEventsSuite) TestAppendSelect_First

func (s *HistoryEventsSuite) TestAppendSelect_First()

func (*HistoryEventsSuite) TestAppendSelect_NonShadowing

func (s *HistoryEventsSuite) TestAppendSelect_NonShadowing()

func (*HistoryEventsSuite) TestAppendSelect_Shadowing

func (s *HistoryEventsSuite) TestAppendSelect_Shadowing()

func (*HistoryEventsSuite) TestForkDeleteBranch

func (s *HistoryEventsSuite) TestForkDeleteBranch()

Jump to

Keyboard shortcuts

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