Documentation ¶
Index ¶
- func ParseXMLTestCase(file string, xmlTestCaseType interface{}) error
- type Operation
- type Operations
- type Reply
- type Test
- type TestCase
- type XMLReadQFExpectResults
- type XMLReadQFTest
- type XMLReadQFTestCases
- type XMLReadQFTestValues
- type XMLSysTest
- type XMLSysTestCases
- type XMLSysTestRoutines
- type XMLWriteQFExpectResults
- type XMLWriteQFTest
- type XMLWriteQFTestCases
- type XMLWriteQFTestValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseXMLTestCase ¶
Types ¶
type Operations ¶
type TestCase ¶
type TestCase struct { XMLName xml.Name `xml:"TestCase"` Name string `xml:"Name,attr"` Description string `xml:"Description,attr"` OrderOp []Operations `xml:"Operations,omitempty"` }
type XMLReadQFExpectResults ¶
type XMLReadQFTest ¶
type XMLReadQFTest struct { XMLName xml.Name `xml:"Test"` TestName string `xml:"TestName,attr"` TestCases []XMLReadQFTestCases `xml:"TestCase"` }
XMLReadQFTest is an exported type for ReadQF tests
type XMLReadQFTestCases ¶
type XMLReadQFTestCases struct { XMLName xml.Name `xml:"TestCase"` CaseID string `xml:"CaseID,attr"` TestValues []*XMLReadQFTestValues `xml:"TestValues>Content"` ExpectResults *XMLReadQFExpectResults `xml:"ExpectResults"` ExpectQuorum bool `xml:"ExpectQuorum"` }
type XMLReadQFTestValues ¶
type XMLSysTest ¶
type XMLSysTest struct { XMLName xml.Name `xml:"Test"` TestName string `xml:"TestName,attr"` TestCases []XMLSysTestCases `xml:"TestCase"` }
XMLSysTest is an exported type for System tests
type XMLSysTestCases ¶
type XMLSysTestCases struct { XMLName xml.Name `xml:"TestCase"` CaseID string `xml:"CaseID,attr"` Routines []XMLSysTestRoutines `xml:"Routine"` }
type XMLSysTestRoutines ¶
type XMLWriteQFExpectResults ¶
type XMLWriteQFTest ¶
type XMLWriteQFTest struct { XMLName xml.Name `xml:"Test"` TestName string `xml:"TestName,attr"` TestCases []XMLWriteQFTestCases `xml:"TestCase"` }
XMLWriteQFTest is an exported type for WriteQF tests
type XMLWriteQFTestCases ¶
type XMLWriteQFTestCases struct { XMLName xml.Name `xml:"TestCase"` CaseID string `xml:"CaseID,attr"` TestValues []*XMLWriteQFTestValues `xml:"TestValues>Content"` ExpectResults *XMLWriteQFExpectResults `xml:"ExpectResults"` ExpectQuorum bool `xml:"ExpectQuorum"` }
type XMLWriteQFTestValues ¶
Click to show internal directories.
Click to hide internal directories.