Safe Haskell | None |
---|---|
Language | Haskell2010 |
A plugin that adds custom messages for use in tests
Synopsis
- data TestRequest
- newtype WaitForIdeRuleResult = WaitForIdeRuleResult {}
- plugin :: Plugin c
- blockCommandDescriptor :: PluginId -> PluginDescriptor state
- blockCommandId :: Text
Documentation
data TestRequest Source #
BlockSeconds Seconds | :: Null |
GetInterfaceFilesDir FilePath | :: String |
GetShakeSessionQueueCount | :: Number |
WaitForShakeQueue | Block until the Shake queue is empty. Returns Null |
WaitForIdeRule String Uri | :: WaitForIdeRuleResult |
Instances
newtype WaitForIdeRuleResult Source #
Instances
ToJSON WaitForIdeRuleResult Source # | |
Defined in Development.IDE.Plugin.Test toJSON :: WaitForIdeRuleResult -> Value # toEncoding :: WaitForIdeRuleResult -> Encoding # toJSONList :: [WaitForIdeRuleResult] -> Value # toEncodingList :: [WaitForIdeRuleResult] -> Encoding # | |
FromJSON WaitForIdeRuleResult Source # | |
Defined in Development.IDE.Plugin.Test parseJSON :: Value -> Parser WaitForIdeRuleResult # parseJSONList :: Value -> Parser [WaitForIdeRuleResult] # |
blockCommandDescriptor :: PluginId -> PluginDescriptor state Source #
blockCommandId :: Text Source #
a command that blocks forever. Used for testing