ganeti
Safe HaskellNone

Test.Ganeti.Storage.Drbd.Types

Description

Unittests for the types representing DRBD status

Synopsis

Arbitrary instances

natural :: Gen Int Source #

Natural numbers generator.

percent :: Gen Double Source #

Generator of percentages.

wOrderFlag :: Gen Char Source #

Generator of write order flags.

prop_DeviceInfo :: Property Source #

Property for testing the JSON serialization of a DeviceInfo.

prop_PerfIndicators :: Property Source #

Property for testing the JSON serialization of a PerfIndicators.

prop_SyncStatus :: Property Source #

Function for testing the JSON serialization of a SyncStatus.

Orphan instances

Arbitrary TimeUnit # 
Instance details

Arbitrary SizeUnit # 
Instance details

Arbitrary DiskState # 
Instance details

Arbitrary Role # 
Instance details

Methods

arbitrary :: Gen Role

shrink :: Role -> [Role]

Arbitrary ConnState # 
Instance details