ganeti
Safe HaskellNone

Test.Ganeti.Storage.Diskstats.Parser

Description

Unittests for the procdiskstats parser

Synopsis

Documentation

case_diskstats :: Assertion Source #

Test a diskstats.

serializeDiskstatsList :: [Diskstats] -> String Source #

Serialize a list of Diskstats in a parsable way

serializeDiskstats :: Diskstats -> String Source #

Serialize a Diskstats in a parsable way

prop_diskstats :: [Diskstats] -> Property Source #

Test whether an arbitrary Diskstats is parsed correctly

Orphan instances

Arbitrary Diskstats #

The instance for generating arbitrary Diskstats

Instance details