Documentation
¶
Index ¶
- type SuiteBase
- func (s *SuiteBase) SetGraph(g graph.Graph)
- func (s *SuiteBase) TestConcurrentEdgeIterators(c *gc.C)
- func (s *SuiteBase) TestConcurrentLinkIterators(c *gc.C)
- func (s *SuiteBase) TestEdgeIteratorTimeFilter(c *gc.C)
- func (s *SuiteBase) TestFindLink(c *gc.C)
- func (s *SuiteBase) TestLinkIteratorTimeFilter(c *gc.C)
- func (s *SuiteBase) TestPartitionedEdgeIterators(c *gc.C)
- func (s *SuiteBase) TestPartitionedLinkIterators(c *gc.C)
- func (s *SuiteBase) TestRemoveStaleEdges(c *gc.C)
- func (s *SuiteBase) TestUpsertEdge(c *gc.C)
- func (s *SuiteBase) TestUpsertLink(c *gc.C)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuiteBase ¶
type SuiteBase struct {
// contains filtered or unexported fields
}
SuiteBase defines a re-usable set of graph-related tests that can be executed against any type that implements graph.Graph.
func (*SuiteBase) TestConcurrentEdgeIterators ¶
TestConcurrentEdgeIterators verifies that multiple clients can concurrently access the store.
func (*SuiteBase) TestConcurrentLinkIterators ¶
TestConcurrentLinkIterators verifies that multiple clients can concurrently access the store.
func (*SuiteBase) TestEdgeIteratorTimeFilter ¶
TestEdgeIteratorTimeFilter verifies that the time-based filtering of the edge iterator works as expected.
func (*SuiteBase) TestFindLink ¶
TestFindLink verifies the link lookup logic.
func (*SuiteBase) TestLinkIteratorTimeFilter ¶
TestLinkIteratorTimeFilter verifies that the time-based filtering of the link iterator works as expected.
func (*SuiteBase) TestPartitionedEdgeIterators ¶
TestPartitionedEdgeIterators verifies that the graph partitioning logic works as expected even when partitions contain an uneven number of items.
func (*SuiteBase) TestPartitionedLinkIterators ¶
TestPartitionedLinkIterators verifies that the graph partitioning logic works as expected even when partitions contain an uneven number of items.
func (*SuiteBase) TestRemoveStaleEdges ¶
TestRemoveStaleEdges verifies that the edge deletion logic works as expected.
func (*SuiteBase) TestUpsertEdge ¶
TestUpsertEdge verifies the edge upsert logic.
func (*SuiteBase) TestUpsertLink ¶
TestUpsertLink verifies the link upsert logic.