Safe Haskell | None |
---|
Test.Ganeti.Confd.Types
Description
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 ConfdReqField # | |
Arbitrary ConfdQuery # | |
Arbitrary ConfdReqQ # | |
Arbitrary ConfdReplyStatus # | |
Arbitrary ConfdNodeRole # | |
Arbitrary ConfdErrorType # | |
Arbitrary ConfdRequest # | |
Arbitrary ConfdReply # | |