ganeti
Safe HaskellNone

Test.Ganeti.Locking.Locks

Description

Tests for the lock data structure

Synopsis

Documentation

prop_ReadShow :: Property Source #

Verify that readJSON . showJSON = Ok

prop_ImpliedOrder :: Property Source #

Verify the implied locks are earlier in the lock order.

prop_ImpliedIntervall :: Property Source #

Verify the intervall property of the locks.

prop_ReadShowLevel :: Property Source #

Verify that readJSON . showJSON = Ok for lock levels

prop_ReadShow_ClientType :: Property Source #

Verify that readJSON . showJSON = Ok for ClientType

prop_ReadShow_ClientId :: Property Source #

Verify that readJSON . showJSON = Ok for ClientId

Orphan instances

Arbitrary CPid # 
Instance details

Methods

arbitrary :: Gen CPid

shrink :: CPid -> [CPid]

Arbitrary ClientId # 
Instance details

Arbitrary ClientType # 
Instance details

Arbitrary LockLevel # 
Instance details

Arbitrary GanetiLocks # 
Instance details