ganeti

Safe HaskellNone

Test.Ganeti.THH

Contents

Description

Unittests for our template-haskell generated code.

Synopsis

Custom types

data TestObj Source

Constructors

TestObj 

Fields

tobjA :: Maybe Int
 
tobjB :: Maybe Int
 

Instances

Eq TestObj 
Show TestObj 
Arbitrary TestObj

Arbitrary instance for TestObj.

JSON TestObj 
ArrayObject TestObj 
DictObject TestObj 

loadTestObj :: JSValue -> Result TestObjSource

data UnitObj Source

Constructors

UnitObj 

Instances

loadUnitObj :: JSValue -> Result UnitObjSource