Safe Haskell | None |
---|
Unittests for our template-haskell generated code.
- data TestObj = TestObj {}
- loadTestObj :: JSValue -> Result TestObj
- saveTestObj :: TestObj -> JSValue
- prop_OptFields :: TestObj -> Property
- prop_TestObj_serialization :: TestObj -> Property
- prop_TestObj_deserialisationFail :: Property
- data UnitObj = UnitObj {
- loadUnitObj :: JSValue -> Result UnitObj
- saveUnitObj :: UnitObj -> JSValue
- prop_UnitObj_serialization :: UnitObj -> Property
- prop_UnitObj_deserialisationFail :: Property
- testTHH :: Test
Custom types
Eq TestObj | |
Show TestObj | |
Arbitrary TestObj | Arbitrary instance for |
JSON TestObj | |
ArrayObject TestObj | |
DictObject TestObj |
loadTestObj :: JSValue -> Result TestObjSource
saveTestObj :: TestObj -> JSValueSource
prop_OptFields :: TestObj -> PropertySource
prop_TestObj_serialization :: TestObj -> PropertySource
prop_TestObj_deserialisationFail :: PropertySource
Eq UnitObj | |
Show UnitObj | |
Arbitrary UnitObj | |
JSON UnitObj | |
ArrayObject UnitObj | |
DictObject UnitObj |
loadUnitObj :: JSValue -> Result UnitObjSource
saveUnitObj :: UnitObj -> JSValueSource
prop_UnitObj_serialization :: UnitObj -> PropertySource
prop_UnitObj_deserialisationFail :: PropertySource