Documentation
¶
Index ¶
- type Helper
- func (th *Helper) AdminCall(appID apps.AppID, creq apps.CallRequest) (*apps.CallResponse, *model.Response, error)
- func (th *Helper) Call(appID apps.AppID, creq apps.CallRequest) (*apps.CallResponse, *model.Response, error)
- func (th *Helper) CreateLocalClient(socketPath string) *appclient.ClientPP
- func (th *Helper) CreateUnauthenticatedClientPP() *appclient.ClientPP
- func (th *Helper) HappyAdminCall(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
- func (th *Helper) HappyCall(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
- func (th *Helper) HappyUser2Call(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
- func (th *Helper) InitClients()
- func (th *Helper) InstallApp(app *goapp.App)
- func (th *Helper) InstallAppsPlugin()
- func (th *Helper) Run(name string, f func(th *Helper)) bool
- func (th *Helper) TearDown()
- func (th *Helper) User2Call(appID apps.AppID, creq apps.CallRequest) (*apps.CallResponse, *model.Response, error)
- type TestClientPP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct {
*testing.T
ServerTestHelper *api4.TestHelper
UserClientPP *appclient.ClientPP
User2ClientPP *appclient.ClientPP
SystemAdminClientPP *appclient.ClientPP
LocalClientPP *appclient.ClientPP
}
func (*Helper) AdminCall ¶
func (th *Helper) AdminCall(appID apps.AppID, creq apps.CallRequest) (*apps.CallResponse, *model.Response, error)
func (*Helper) Call ¶
func (th *Helper) Call(appID apps.AppID, creq apps.CallRequest) (*apps.CallResponse, *model.Response, error)
func (*Helper) CreateLocalClient ¶
func (*Helper) CreateUnauthenticatedClientPP ¶
func (*Helper) HappyAdminCall ¶
func (th *Helper) HappyAdminCall(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
func (*Helper) HappyCall ¶
func (th *Helper) HappyCall(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
func (*Helper) HappyUser2Call ¶
func (th *Helper) HappyUser2Call(appID apps.AppID, creq apps.CallRequest) *apps.CallResponse
func (*Helper) InitClients ¶
func (th *Helper) InitClients()
func (*Helper) InstallApp ¶
func (*Helper) InstallAppsPlugin ¶
func (th *Helper) InstallAppsPlugin()
type TestClientPP ¶
Click to show internal directories.
Click to hide internal directories.