Documentation ¶
Overview ¶
Package webconnectivityqa contains code to perform Web Connectivity QA. This package is separate from [webconnectivity] and [webconnectivitylte] and works with both.
Index ¶
Constants ¶
View Source
const ( // TestCaseFlagNoV04 means that this test case should not be run by v0.4 TestCaseFlagNoV04 = 1 << iota // TestCaseFlagNoLTE means that this test case should not be run by LTE TestCaseFlagNoLTE )
Variables ¶
This section is empty.
Functions ¶
func RunTestCase ¶
func RunTestCase(measurer model.ExperimentMeasurer, tc *TestCase) error
RunTestCase runs a [testCase].
Types ¶
type TestCase ¶
type TestCase struct { // Name is the test case name Name string // Flags contains binary flags describing this test case. Flags int64 // Input is the input URL Input string // LongTest indicates that this is a long test. LongTest bool // Configure is an OPTIONAL hook for further configuring the scenario. Configure func(env *netemx.QAEnv) // ExpectErr is true if we expected an error ExpectErr bool // ExpectTestKeys contains the expected test keys ExpectTestKeys *testKeys }
TestCase is a test case we could run with this package.
func AllTestCases ¶
func AllTestCases() []*TestCase
AllTestCases returns all the defined test cases.
Click to show internal directories.
Click to hide internal directories.