gsuiteaddons

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationTestSuiteConfig

type AuthorizationTestSuiteConfig struct {

	// Patterns of tests to skip.
	// For example if a service has a Get method:
	// Skip: ["Get"] will skip all tests for Get.
	// Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get.
	Skip []string
	// contains filtered or unexported fields
}

type DeploymentTestSuiteConfig

type DeploymentTestSuiteConfig struct {

	// The parents to use when creating resources.
	// At least one parent needs to be set. Depending on methods available on the resource,
	// more may be required. If insufficient number of parents are
	// provided the test will fail.
	Parents []string
	// Create should return a resource which is valid to create, i.e.
	// all required fields set.
	Create func(parent string) *Deployment
	// Patterns of tests to skip.
	// For example if a service has a Get method:
	// Skip: ["Get"] will skip all tests for Get.
	// Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get.
	Skip []string
	// contains filtered or unexported fields
}

type GSuiteAddOnsTestSuite

type GSuiteAddOnsTestSuite struct {
	T *testing.T
	// Server to test.
	Server GSuiteAddOnsServer
}

func (GSuiteAddOnsTestSuite) TestAuthorization

func (fx GSuiteAddOnsTestSuite) TestAuthorization(ctx context.Context, options AuthorizationTestSuiteConfig)

func (GSuiteAddOnsTestSuite) TestDeployment

func (fx GSuiteAddOnsTestSuite) TestDeployment(ctx context.Context, options DeploymentTestSuiteConfig)

func (GSuiteAddOnsTestSuite) TestInstallStatus

func (fx GSuiteAddOnsTestSuite) TestInstallStatus(ctx context.Context, options InstallStatusTestSuiteConfig)

type InstallStatusTestSuiteConfig

type InstallStatusTestSuiteConfig struct {

	// The parents to use when creating resources.
	// At least one parent needs to be set. Depending on methods available on the resource,
	// more may be required. If insufficient number of parents are
	// provided the test will fail.
	Parents []string
	// Patterns of tests to skip.
	// For example if a service has a Get method:
	// Skip: ["Get"] will skip all tests for Get.
	// Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get.
	Skip []string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL