Safe Haskell | None |
---|
Unittests for Types
.
- allDiskTemplates :: [DiskTemplate]
- allStorageTypes :: [StorageType]
- prop_AllocPolicy_serialisation :: AllocPolicy -> Property
- case_AllocPolicy_order :: Assertion
- prop_DiskTemplate_serialisation :: DiskTemplate -> Property
- prop_InstanceStatus_serialisation :: InstanceStatus -> Property
- prop_NonNeg_pass :: NonNegative Int -> Property
- prop_NonNeg_fail :: Positive Int -> Property
- prop_Positive_pass :: Positive Int -> Property
- prop_Positive_fail :: NonNegative Int -> Property
- prop_Neg_pass :: Positive Int -> Property
- prop_Neg_fail :: NonNegative Int -> Property
- prop_NonEmpty_pass :: NonEmptyList String -> Property
- case_NonEmpty_fail :: Assertion
- prop_MigrationMode_serialisation :: MigrationMode -> Property
- prop_VerifyOptionalChecks_serialisation :: VerifyOptionalChecks -> Property
- prop_DdmSimple_serialisation :: DdmSimple -> Property
- prop_DdmFull_serialisation :: DdmFull -> Property
- prop_CVErrorCode_serialisation :: CVErrorCode -> Property
- case_CVErrorCode_pyequiv :: Assertion
- prop_Hypervisor_serialisation :: Hypervisor -> Property
- prop_OobCommand_serialisation :: OobCommand -> Property
- prop_StorageType_serialisation :: StorageType -> Property
- prop_NodeEvacMode_serialisation :: EvacMode -> Property
- prop_FileDriver_serialisation :: FileDriver -> Property
- prop_InstCreateMode_serialisation :: InstCreateMode -> Property
- prop_RebootType_serialisation :: RebootType -> Property
- prop_ExportMode_serialisation :: ExportMode -> Property
- prop_IAllocatorTestDir_serialisation :: IAllocatorTestDir -> Property
- prop_IAllocatorMode_serialisation :: IAllocatorMode -> Property
- case_IAllocatorMode_pyequiv :: Assertion
- prop_NICMode_serialisation :: NICMode -> Property
- prop_OpStatus_serialization :: OpStatus -> Property
- prop_JobStatus_serialization :: JobStatus -> Property
- case_JobStatus_order :: Assertion
- case_NICMode_pyequiv :: Assertion
- prop_FinalizedJobStatus_serialisation :: FinalizedJobStatus -> Property
- case_FinalizedJobStatus_pyequiv :: Assertion
- prop_JobId_serialisation :: JobId -> Property
- prop_JobId_fractional :: Property
- case_JobId_BadTypes :: Assertion
- prop_JobDependency_serialisation :: JobDependency -> Property
- prop_OpSubmitPriority_serialisation :: OpSubmitPriority -> Property
- prop_OpSubmitPriority_string :: OpSubmitPriority -> Property
- prop_ELogType_serialisation :: ELogType -> Property
- testTypes :: Test
Arbitrary instance
allDiskTemplates :: [DiskTemplate]Source
Valid disk templates (depending on configure options).
Properties
prop_AllocPolicy_serialisation :: AllocPolicy -> PropertySource
case_AllocPolicy_order :: AssertionSource
prop_DiskTemplate_serialisation :: DiskTemplate -> PropertySource
prop_InstanceStatus_serialisation :: InstanceStatus -> PropertySource
prop_NonNeg_pass :: NonNegative Int -> PropertySource
prop_NonNeg_fail :: Positive Int -> PropertySource
prop_Positive_pass :: Positive Int -> PropertySource
prop_Positive_fail :: NonNegative Int -> PropertySource
prop_Neg_pass :: Positive Int -> PropertySource
prop_Neg_fail :: NonNegative Int -> PropertySource
prop_NonEmpty_pass :: NonEmptyList String -> PropertySource
case_NonEmpty_fail :: AssertionSource
prop_MigrationMode_serialisation :: MigrationMode -> PropertySource
prop_DdmSimple_serialisation :: DdmSimple -> PropertySource
prop_DdmFull_serialisation :: DdmFull -> PropertySource
prop_CVErrorCode_serialisation :: CVErrorCode -> PropertySource
case_CVErrorCode_pyequiv :: AssertionSource
prop_Hypervisor_serialisation :: Hypervisor -> PropertySource
prop_OobCommand_serialisation :: OobCommand -> PropertySource
prop_StorageType_serialisation :: StorageType -> PropertySource
prop_NodeEvacMode_serialisation :: EvacMode -> PropertySource
prop_FileDriver_serialisation :: FileDriver -> PropertySource
prop_InstCreateMode_serialisation :: InstCreateMode -> PropertySource
prop_RebootType_serialisation :: RebootType -> PropertySource
prop_ExportMode_serialisation :: ExportMode -> PropertySource
prop_IAllocatorTestDir_serialisation :: IAllocatorTestDir -> PropertySource
prop_IAllocatorMode_serialisation :: IAllocatorMode -> PropertySource
case_IAllocatorMode_pyequiv :: AssertionSource
prop_NICMode_serialisation :: NICMode -> PropertySource
prop_OpStatus_serialization :: OpStatus -> PropertySource
prop_JobStatus_serialization :: JobStatus -> PropertySource
case_JobStatus_order :: AssertionSource
case_NICMode_pyequiv :: AssertionSource
prop_FinalizedJobStatus_serialisation :: FinalizedJobStatus -> PropertySource
case_FinalizedJobStatus_pyequiv :: AssertionSource
prop_JobId_serialisation :: JobId -> PropertySource
prop_JobId_fractional :: PropertySource
case_JobId_BadTypes :: AssertionSource
prop_JobDependency_serialisation :: JobDependency -> PropertySource
prop_OpSubmitPriority_serialisation :: OpSubmitPriority -> PropertySource
prop_OpSubmitPriority_string :: OpSubmitPriority -> PropertySource
prop_ELogType_serialisation :: ELogType -> PropertySource