Documentation ¶
Overview ¶
Package testcases contains testcases for server
Index ¶
- func RunActivateAndDeactivateClientTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunAdminCreateProjectTest(t *testing.T, testAdminClient v1connect.AdminServiceClient, ...)
- func RunAdminGetDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient, ...)
- func RunAdminGetProjectTest(t *testing.T, testAdminClient v1connect.AdminServiceClient, ...)
- func RunAdminListChangesTest(t *testing.T, testClient v1connect.YorkieServiceClient, ...)
- func RunAdminListDocumentsTest(t *testing.T, testAdminClient v1connect.AdminServiceClient, ...)
- func RunAdminListProjectsTest(t *testing.T, testAdminClient v1connect.AdminServiceClient, ...)
- func RunAdminLoginTest(t *testing.T, testAdminClient v1connect.AdminServiceClient)
- func RunAdminSignUpTest(t *testing.T, testAdminClient v1connect.AdminServiceClient)
- func RunAdminUpdateProjectTest(t *testing.T, testAdminClient v1connect.AdminServiceClient, ...)
- func RunAttachAndDetachDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunAttachAndDetachRemovedDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunPushPullChangeOnRemovedDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunPushPullChangeTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunRemoveDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunRemoveDocumentWithInvalidClientStateTest(t *testing.T, testClient v1connect.YorkieServiceClient)
- func RunWatchDocumentTest(t *testing.T, testClient v1connect.YorkieServiceClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunActivateAndDeactivateClientTest ¶
func RunActivateAndDeactivateClientTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunActivateAndDeactivateClientTest runs the ActivateClient and DeactivateClient test.
func RunAdminCreateProjectTest ¶
func RunAdminCreateProjectTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminCreateProjectTest runs the CreateProject test in admin.
func RunAdminGetDocumentTest ¶
func RunAdminGetDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminGetDocumentTest runs the GetDocument test in admin.
func RunAdminGetProjectTest ¶
func RunAdminGetProjectTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminGetProjectTest runs the GetProject test in admin.
func RunAdminListChangesTest ¶
func RunAdminListChangesTest( t *testing.T, testClient v1connect.YorkieServiceClient, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminListChangesTest runs the ListChanges test in admin.
func RunAdminListDocumentsTest ¶
func RunAdminListDocumentsTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminListDocumentsTest runs the ListDocuments test in admin.
func RunAdminListProjectsTest ¶
func RunAdminListProjectsTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminListProjectsTest runs the ListProjects test in admin.
func RunAdminLoginTest ¶
func RunAdminLoginTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, )
RunAdminLoginTest runs the Admin Login test.
func RunAdminSignUpTest ¶
func RunAdminSignUpTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, )
RunAdminSignUpTest runs the SignUp test in admin.
func RunAdminUpdateProjectTest ¶
func RunAdminUpdateProjectTest( t *testing.T, testAdminClient v1connect.AdminServiceClient, testAdminAuthInterceptor *admin.AuthInterceptor, )
RunAdminUpdateProjectTest runs the UpdateProject test in admin.
func RunAttachAndDetachDocumentTest ¶
func RunAttachAndDetachDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunAttachAndDetachDocumentTest runs the AttachDocument and DetachDocument test.
func RunAttachAndDetachRemovedDocumentTest ¶
func RunAttachAndDetachRemovedDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunAttachAndDetachRemovedDocumentTest runs the AttachDocument and DetachDocument test on a removed document.
func RunPushPullChangeOnRemovedDocumentTest ¶
func RunPushPullChangeOnRemovedDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunPushPullChangeOnRemovedDocumentTest runs the PushChange and PullChange test on a removed document.
func RunPushPullChangeTest ¶
func RunPushPullChangeTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunPushPullChangeTest runs the PushChange and PullChange test.
func RunRemoveDocumentTest ¶
func RunRemoveDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunRemoveDocumentTest runs the RemoveDocument test.
func RunRemoveDocumentWithInvalidClientStateTest ¶
func RunRemoveDocumentWithInvalidClientStateTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunRemoveDocumentWithInvalidClientStateTest runs the RemoveDocument test with an invalid client state.
func RunWatchDocumentTest ¶
func RunWatchDocumentTest( t *testing.T, testClient v1connect.YorkieServiceClient, )
RunWatchDocumentTest runs the WatchDocument test.
Types ¶
This section is empty.