Documentation ¶
Overview ¶
Package testcases contains test cases from all testStages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ec2DetectorTestCase ¶
type Ec2DetectorTestCase struct {
// contains filtered or unexported fields
}
Ec2DetectorTestCase represents the test case testing the ec2 detection module in ec2 environments
func NewEc2DetectorTestCase ¶
func NewEc2DetectorTestCase(context context.T) *Ec2DetectorTestCase
func (*Ec2DetectorTestCase) CleanupTestCase ¶
func (l *Ec2DetectorTestCase) CleanupTestCase()
CleanupTestCase cleans up the test case
func (*Ec2DetectorTestCase) ExecuteTestCase ¶
func (l *Ec2DetectorTestCase) ExecuteTestCase() (output testCommon.TestOutput)
ExecuteTestCase executes the ec2 detector test case, test only runs when instance id starts with i-
func (*Ec2DetectorTestCase) GetTestCaseName ¶
func (l *Ec2DetectorTestCase) GetTestCaseName() string
GetTestCaseName gets the test case name
func (*Ec2DetectorTestCase) Initialize ¶
func (l *Ec2DetectorTestCase) Initialize()
Initialize initializes values needed for this test case
func (*Ec2DetectorTestCase) ShouldRunTest ¶
func (l *Ec2DetectorTestCase) ShouldRunTest() bool
ShouldRunTest determines if test should run
Click to show internal directories.
Click to hide internal directories.