ganeti

Safe HaskellNone

Test.Ganeti.JSON

Description

Unittests for ganeti-htools.

Documentation

prop_toArray :: [Int] -> PropertySource

prop_toArrayFail :: Int -> String -> Bool -> PropertySource

arrayMaybeToJson :: JSON a => [Maybe a] -> String -> JSRecordSource

prop_arrayMaybeFromObj :: String -> [Maybe Int] -> String -> PropertySource

prop_arrayMaybeFromObjFail :: String -> String -> PropertySource

isJError :: Result a -> BoolSource