Safe Haskell | None |
---|
Unittests for ganeti-htools.
- hasUnknownFields :: [FieldDefinition] -> Bool
- prop_queryNode_noUnknown :: Property
- prop_queryNode_Unknown :: Property
- checkResultType :: FieldDefinition -> ResultEntry -> Property
- prop_queryNode_types :: Property
- case_queryNode_allfields :: Assertion
- prop_queryGroup_noUnknown :: Property
- prop_queryGroup_Unknown :: Property
- prop_queryGroup_types :: Property
- case_queryGroup_allfields :: Assertion
- prop_queryGroup_nodeCount :: Property
- prop_queryJob_noUnknown :: Property
- prop_queryJob_Unknown :: Property
- prop_getRequestedNames :: Property
- testQuery_Query :: Test
Helpers
hasUnknownFields :: [FieldDefinition] -> BoolSource
Test cases
Node queries
prop_queryNode_noUnknown :: PropertySource
prop_queryNode_Unknown :: PropertySource
checkResultType :: FieldDefinition -> ResultEntry -> PropertySource
prop_queryNode_types :: PropertySource
case_queryNode_allfields :: AssertionSource
Group queries
prop_queryGroup_noUnknown :: PropertySource
prop_queryGroup_Unknown :: PropertySource
prop_queryGroup_types :: PropertySource
case_queryGroup_allfields :: AssertionSource
prop_queryGroup_nodeCount :: PropertySource
Job queries
prop_queryJob_noUnknown :: PropertySource
prop_queryJob_Unknown :: PropertySource
Misc other tests
prop_getRequestedNames :: PropertySource
testQuery_Query :: TestSource