| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Test.FeatureFlags.Util
Documentation
Constructors
| InternalAPI | |
| PublicAPI |
defEnabledObj :: Value -> Value Source #
hasExplicitLockStatus :: String -> Bool Source #
checkFeature :: (HasCallStack, MakesValue user, MakesValue tid) => String -> user -> tid -> Value -> App () Source #
assertForbidden :: HasCallStack => Response -> App () Source #
data ConfCalling Source #
Constructors
| ConfCalling | |
Instances
| Default ConfCalling Source # | |
Defined in Test.FeatureFlags.Util Methods def :: ConfCalling Source # | |
confCalling :: ConfCalling -> Value Source #
checkPatchWithComputeExpected :: (HasCallStack, MakesValue domain) => domain -> String -> Value -> (String -> Value -> Value -> App Value) -> App () Source #
checkPatch :: (HasCallStack, MakesValue domain) => domain -> String -> Value -> App () Source #
data FeatureTests Source #
Constructors
| FeatureTests | |
mkFeatureTests :: String -> FeatureTests Source #
addUpdate :: Value -> FeatureTests -> FeatureTests Source #
addInvalidUpdate :: Value -> FeatureTests -> FeatureTests Source #
setOwner :: MakesValue user => user -> FeatureTests -> App FeatureTests Source #
runFeatureTests :: (HasCallStack, MakesValue domain) => domain -> APIAccess -> FeatureTests -> App () Source #