Documentation
¶
Overview ¶
Package check contains integration tests for the query APIs (ListObjects, ListUsers and Check)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAllTests ¶ added in v0.4.0
func RunAllTests(t *testing.T, client ClientInterface)
RunAllTests will run all check tests.
func RunMatrixTests ¶ added in v1.8.5
func RunMatrixTests(t *testing.T, engine string, experimentalsEnabled bool, client ClientInterface)
Types ¶
type ClientInterface ¶
type ClientInterface interface {
tests.TestClientBootstrapper
Check(ctx context.Context, in *openfgav1.CheckRequest, opts ...grpc.CallOption) (*openfgav1.CheckResponse, error)
ListUsers(ctx context.Context, in *openfgav1.ListUsersRequest, opts ...grpc.CallOption) (*openfgav1.ListUsersResponse, error)
ListObjects(ctx context.Context, in *openfgav1.ListObjectsRequest, opts ...grpc.CallOption) (*openfgav1.ListObjectsResponse, error)
}
ClientInterface defines client interface for running check tests.
Click to show internal directories.
Click to hide internal directories.