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
- data FilledTestParams = FilledTestParams {}
- data PartialTestParams = PartialTestParams {}
- allTestParamFields :: [String]
- loadPartialTestParams :: JSValue -> Result PartialTestParams
- savePartialTestParams :: PartialTestParams -> JSValue
- loadFilledTestParams :: JSValue -> Result FilledTestParams
- saveFilledTestParams :: FilledTestParams -> JSValue
- prop_fillWithPartialParams :: Property
- prop_fillPartialLaw1 :: FilledTestParams -> PartialTestParams -> Property
- prop_toParams :: Property
- prop_fillPartialLaw2 :: FilledTestParams -> FilledTestParams -> Property
- prop_fillPartialLaw3 :: FilledTestParams -> Property
- prop_fillPartialMonoidLaw1 :: FilledTestParams -> Property
- prop_fillPartialMonoidLaw2 :: FilledTestParams -> PartialTestParams -> PartialTestParams -> Property
- testTHH :: Test
Custom types
Eq TestObj | |
Show TestObj | |
JSON TestObj | |
ArrayObject TestObj | |
DictObject TestObj | |
Arbitrary TestObj | Arbitrary instance for |
loadTestObj :: JSValue -> Result TestObjSource
saveTestObj :: TestObj -> JSValueSource
prop_OptFields :: TestObj -> PropertySource
prop_TestObj_serialization :: TestObj -> PropertySource
prop_TestObj_deserialisationFail :: PropertySource
Eq UnitObj | |
Show UnitObj | |
JSON UnitObj | |
ArrayObject UnitObj | |
DictObject UnitObj | |
Arbitrary UnitObj |
loadUnitObj :: JSValue -> Result UnitObjSource
saveUnitObj :: UnitObj -> JSValueSource
prop_UnitObj_serialization :: UnitObj -> PropertySource
prop_UnitObj_deserialisationFail :: PropertySource
allTestParamFields :: [String]Source
loadPartialTestParams :: JSValue -> Result PartialTestParamsSource
savePartialTestParams :: PartialTestParams -> JSValueSource
loadFilledTestParams :: JSValue -> Result FilledTestParamsSource
saveFilledTestParams :: FilledTestParams -> JSValueSource
prop_fillWithPartialParams :: PropertySource
prop_fillPartialLaw1 :: FilledTestParams -> PartialTestParams -> PropertySource
prop_toParams :: PropertySource
prop_fillPartialLaw2 :: FilledTestParams -> FilledTestParams -> PropertySource
prop_fillPartialLaw3 :: FilledTestParams -> PropertySource
prop_fillPartialMonoidLaw1 :: FilledTestParams -> PropertySource
prop_fillPartialMonoidLaw2 :: FilledTestParams -> PartialTestParams -> PartialTestParams -> PropertySource