storetests

package
v0.0.0-...-b5220b9 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: AGPL-3.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Copyright (c) 2020-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsBlockWithID

func ContainsBlockWithID(blocks []*model.Block, blockID string) bool

func DeleteBlocks

func DeleteBlocks(t *testing.T, s store.Store, blocks []*model.Block, modifiedBy string)

func InsertBlocks

func InsertBlocks(t *testing.T, s store.Store, blocks []*model.Block, userID string)

func LoadData

func LoadData(t *testing.T, store store.Store)

func StoreTestBlocksStore

func StoreTestBlocksStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestBoardStore

func StoreTestBoardStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestBoardsAndBlocksStore

func StoreTestBoardsAndBlocksStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestCategoryBoardsStore

func StoreTestCategoryBoardsStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestCategoryStore

func StoreTestCategoryStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestCloudStore

func StoreTestCloudStore(t *testing.T, setup func(t *testing.T) (storeservice.Store, func()))

func StoreTestComplianceHistoryStore

func StoreTestComplianceHistoryStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestDataRetention

func StoreTestDataRetention(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestFileStore

func StoreTestFileStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestNotificationHintsStore

func StoreTestNotificationHintsStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestSessionStore

func StoreTestSessionStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestSharingStore

func StoreTestSharingStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestSystemStore

func StoreTestSystemStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestTeamStore

func StoreTestTeamStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

func StoreTestUserStore

func StoreTestUserStore(t *testing.T, setup func(t *testing.T) (store.Store, func()))

Types

This section is empty.

Jump to

Keyboard shortcuts

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