Documentation ¶
Index ¶
- func GetXACL() (string, error)
- type TestBehaviour
- func (t *TestBehaviour) RunAllTests()
- func (t *TestBehaviour) RunGetCLAProjectManagerToken()
- func (t *TestBehaviour) RunGetProtectedBranch(assertBranchProtection *models.GithubRepositoryBranchProtection)
- func (t *TestBehaviour) RunUpdateProtectionBranch(msg string, param *models.GithubRepositoryBranchProtectionInput)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestBehaviour ¶
type TestBehaviour struct {
// contains filtered or unexported fields
}
TestBehaviour data model
func NewTestBehaviour ¶
func NewTestBehaviour(apiURL string, auth0ProjectManagerConfig test_models.Auth0Config) *TestBehaviour
NewTestBehaviour creates a new test behavior model
func (*TestBehaviour) RunAllTests ¶
func (t *TestBehaviour) RunAllTests()
RunAllTests runs all the CLA Manager tests
func (*TestBehaviour) RunGetCLAProjectManagerToken ¶
func (t *TestBehaviour) RunGetCLAProjectManagerToken()
RunGetCLAProjectManagerToken acquires the Auth0 token
func (*TestBehaviour) RunGetProtectedBranch ¶
func (t *TestBehaviour) RunGetProtectedBranch(assertBranchProtection *models.GithubRepositoryBranchProtection)
RunGetProtectedBranch test the response for the protected branch of repo
func (*TestBehaviour) RunUpdateProtectionBranch ¶
func (t *TestBehaviour) RunUpdateProtectionBranch(msg string, param *models.GithubRepositoryBranchProtectionInput)
RunUpdateProtectionBranch is hits the branch protection endpoint with the given parameters
Click to show internal directories.
Click to hide internal directories.