test

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	Username               string `json:"username"`
	Password               string `json:"password"`
	TestRepoHttpUrl        string `json:"test_repo_http_url"`
	TestRepoMultiBranchUrl string `json:"test_repo_multi_branch_url"`
	SshUsername            string `json:"ssh_username"`
	SshPassword            string `json:"ssh_password"`
	TestRepoSshUrl         string `json:"test_repo_ssh_url"`
	PrivateKey             string `json:"private_key"`
	PrivateKeyPath         string `json:"private_key_path"`
}

type Test

type Test struct {
	RemoteRepoPath           string
	LocalRepoPath            string
	LocalRepo                *vcs.GitClient
	FsRepoPath               string
	MemRepoPath              string
	AuthRepoPath             string
	AuthRepoPath1            string
	AuthRepoPath2            string
	AuthRepoPath3            string
	TestFileName             string
	TestFileContent          string
	TestBranchName           string
	TestCommitMessage        string
	InitialCommitMessage     string
	InitialReadmeFileName    string
	InitialReadmeFileContent string
}
var T *Test

func NewTest

func NewTest() (t *Test, err error)

func (*Test) Cleanup

func (t *Test) Cleanup()

func (*Test) Setup

func (t *Test) Setup(t2 *testing.T)

Jump to

Keyboard shortcuts

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