Documentation
¶
Index ¶
- type TestSuite
- func (s *TestSuite) SetupTestSuite(c *input.Context) error
- func (s *TestSuite) TestBadTokens(t *testing.T)
- func (s *TestSuite) TestGetOperations(t *testing.T)
- func (s *TestSuite) TestNoToken(t *testing.T)
- func (s *TestSuite) TestSetOperations(t *testing.T)
- func (s *TestSuite) TestValidToken(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuite ¶
type TestSuite struct {
// contains filtered or unexported fields
}
TestSuite is the onos-config HA test suite
func (*TestSuite) SetupTestSuite ¶
SetupTestSuite sets up the onos-config RBAC test suite
func (*TestSuite) TestBadTokens ¶
TestBadTokens tests access to a protected API with no access token supplied
func (*TestSuite) TestGetOperations ¶ added in v0.10.11
TestGetOperations tests get operations to a protected API with various users
func (*TestSuite) TestNoToken ¶
TestNoToken tests access to a protected API with no access token supplied
func (*TestSuite) TestSetOperations ¶
TestSetOperations tests set operations to a protected API with various users
func (*TestSuite) TestValidToken ¶
TestValidToken tests access to a protected API with a valid token supplied
Click to show internal directories.
Click to hide internal directories.