Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
A plugin that adds custom messages for use in tests
Synopsis
- data TestRequest
- newtype WaitForIdeRuleResult = WaitForIdeRuleResult {}
- plugin :: PluginDescriptor IdeState
- blockCommandDescriptor :: PluginId -> PluginDescriptor state
- blockCommandId :: Text
Documentation
data TestRequest Source #
BlockSeconds Seconds | :: Null |
GetInterfaceFilesDir Uri | :: String |
GetShakeSessionQueueCount | :: Number |
WaitForShakeQueue | Block until the Shake queue is empty. Returns Null |
WaitForIdeRule String Uri | :: WaitForIdeRuleResult |
GetBuildKeysVisited | :: [(String] |
GetBuildKeysBuilt | :: [(String] |
GetBuildKeysChanged | :: [(String] |
GetBuildEdgesCount | :: Int |
GarbageCollectDirtyKeys CheckParents Age | :: [String] (list of keys collected) |
GetStoredKeys | :: [String] (list of keys in store) |
GetFilesOfInterest | :: [FilePath] |
GetRebuildsCount | :: Int (number of times we recompiled with GHC) |
Instances
FromJSON TestRequest Source # | |
Defined in Development.IDE.Plugin.Test parseJSON :: Value -> Parser TestRequest # parseJSONList :: Value -> Parser [TestRequest] # | |
ToJSON TestRequest Source # | |
Defined in Development.IDE.Plugin.Test toJSON :: TestRequest -> Value # toEncoding :: TestRequest -> Encoding # toJSONList :: [TestRequest] -> Value # toEncodingList :: [TestRequest] -> Encoding # omitField :: TestRequest -> Bool # | |
Generic TestRequest Source # | |
Defined in Development.IDE.Plugin.Test type Rep TestRequest :: Type -> Type # from :: TestRequest -> Rep TestRequest x # to :: Rep TestRequest x -> TestRequest # | |
type Rep TestRequest Source # | |
Defined in Development.IDE.Plugin.Test |
newtype WaitForIdeRuleResult Source #
Instances
FromJSON WaitForIdeRuleResult Source # | |
Defined in Development.IDE.Plugin.Test | |
ToJSON WaitForIdeRuleResult Source # | |
Defined in Development.IDE.Plugin.Test toJSON :: WaitForIdeRuleResult -> Value # toEncoding :: WaitForIdeRuleResult -> Encoding # toJSONList :: [WaitForIdeRuleResult] -> Value # toEncodingList :: [WaitForIdeRuleResult] -> Encoding # omitField :: WaitForIdeRuleResult -> Bool # |
blockCommandDescriptor :: PluginId -> PluginDescriptor state Source #
blockCommandId :: Text Source #
a command that blocks forever. Used for testing