Documentation ¶
Overview ¶
Package testcases contains testcases for database. It is used by database implementations to test their own implementations with the same testcases.
Index ¶
- func RunActivateClientDeactivateClientTest(t *testing.T, db database.Database, projectID types.ID)
- func RunCreateChangeInfosTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindChangesBetweenServerSeqsTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindClosestSnapshotInfoTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindDeactivateCandidates(t *testing.T, db database.Database)
- func RunFindDocInfoTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindDocInfosByPagingTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindDocInfosByQueryTest(t *testing.T, db database.Database, projectID types.ID)
- func RunFindProjectInfoByNameTest(t *testing.T, db database.Database)
- func RunIsDocumentAttachedTest(t *testing.T, db database.Database, projectID types.ID)
- func RunListUserInfosTest(t *testing.T, db database.Database)
- func RunUpdateClientInfoAfterPushPullTest(t *testing.T, db database.Database, projectID types.ID)
- func RunUpdateProjectInfoTest(t *testing.T, db database.Database)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunActivateClientDeactivateClientTest ¶
RunActivateClientDeactivateClientTest runs the ActivateClient and DeactivateClient tests for the given db.
func RunCreateChangeInfosTest ¶
RunCreateChangeInfosTest runs the CreateChangeInfos tests for the given db.
func RunFindChangesBetweenServerSeqsTest ¶
RunFindChangesBetweenServerSeqsTest runs the FindChangesBetweenServerSeqs test for the given db.
func RunFindClosestSnapshotInfoTest ¶
RunFindClosestSnapshotInfoTest runs the FindClosestSnapshotInfo test for the given db.
func RunFindDeactivateCandidates ¶ added in v0.4.6
RunFindDeactivateCandidates runs the FindDeactivateCandidates tests for the given db.
func RunFindDocInfoTest ¶
RunFindDocInfoTest runs the FindDocInfo test for the given db.
func RunFindDocInfosByPagingTest ¶
RunFindDocInfosByPagingTest runs the FindDocInfosByPaging tests for the given db.
func RunFindDocInfosByQueryTest ¶
RunFindDocInfosByQueryTest runs the FindDocInfosByQuery test for the given db.
func RunFindProjectInfoByNameTest ¶
RunFindProjectInfoByNameTest runs the FindProjectInfoByName test for the given db.
func RunIsDocumentAttachedTest ¶
RunIsDocumentAttachedTest runs the IsDocumentAttached tests for the given db.
func RunListUserInfosTest ¶
RunListUserInfosTest runs the ListUserInfos test for the given db.
func RunUpdateClientInfoAfterPushPullTest ¶
RunUpdateClientInfoAfterPushPullTest runs the UpdateClientInfoAfterPushPull tests for the given db.
Types ¶
This section is empty.