Safe Haskell | None |
---|
Unittests for ganeti-htools.
Synopsis
- prop_ConfdQuery_serialisation :: ConfdQuery -> Property
- case_ConfdQuery_BadTypes :: Assertion
- prop_ConfdReplyStatus_serialisation :: ConfdReplyStatus -> Property
- prop_ConfdReply_serialisation :: ConfdReply -> Property
- prop_ConfdErrorType_serialisation :: ConfdErrorType -> Property
- prop_ConfdNodeRole_serialisation :: ConfdNodeRole -> Property
- testConfd_Types :: Test
Arbitrary instances
Test cases
prop_ConfdQuery_serialisation :: ConfdQuery -> Property Source #
Test ConfdQuery
serialisation.
case_ConfdQuery_BadTypes :: Assertion Source #
Test bad types deserialisation for ConfdQuery
.
prop_ConfdReplyStatus_serialisation :: ConfdReplyStatus -> Property Source #
Test ConfdReplyStatus
serialisation.
prop_ConfdReply_serialisation :: ConfdReply -> Property Source #
Test ConfdReply
serialisation.
prop_ConfdErrorType_serialisation :: ConfdErrorType -> Property Source #
Test ConfdErrorType
serialisation.
prop_ConfdNodeRole_serialisation :: ConfdNodeRole -> Property Source #
Test ConfdNodeRole
serialisation.
testConfd_Types :: Test Source #
Orphan instances
Arbitrary ConfdRequestType # | |
arbitrary :: Gen ConfdRequestType shrink :: ConfdRequestType -> [ConfdRequestType] | |
Arbitrary ConfdReqField # | |
arbitrary :: Gen ConfdReqField shrink :: ConfdReqField -> [ConfdReqField] | |
Arbitrary ConfdQuery # | |
arbitrary :: Gen ConfdQuery shrink :: ConfdQuery -> [ConfdQuery] | |
Arbitrary ConfdReqQ # | |
Arbitrary ConfdReplyStatus # | |
arbitrary :: Gen ConfdReplyStatus shrink :: ConfdReplyStatus -> [ConfdReplyStatus] | |
Arbitrary ConfdNodeRole # | |
arbitrary :: Gen ConfdNodeRole shrink :: ConfdNodeRole -> [ConfdNodeRole] | |
Arbitrary ConfdErrorType # | |
arbitrary :: Gen ConfdErrorType shrink :: ConfdErrorType -> [ConfdErrorType] | |
Arbitrary ConfdRequest # | |
arbitrary :: Gen ConfdRequest shrink :: ConfdRequest -> [ConfdRequest] | |
Arbitrary ConfdReply # | |
arbitrary :: Gen ConfdReply shrink :: ConfdReply -> [ConfdReply] |