Safe Haskell | None |
---|---|
Language | Haskell2010 |
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] |
Instances
Generic TestRequest Source # | |
Defined in Development.IDE.Plugin.Test type Rep TestRequest :: Type -> Type # from :: TestRequest -> Rep TestRequest x # to :: Rep TestRequest x -> TestRequest # | |
ToJSON TestRequest Source # | |
Defined in Development.IDE.Plugin.Test toJSON :: TestRequest -> Value # toEncoding :: TestRequest -> Encoding # toJSONList :: [TestRequest] -> Value # toEncodingList :: [TestRequest] -> Encoding # | |
FromJSON TestRequest Source # | |
Defined in Development.IDE.Plugin.Test parseJSON :: Value -> Parser TestRequest # parseJSONList :: Value -> Parser [TestRequest] # | |
type Rep TestRequest Source # | |
Defined in Development.IDE.Plugin.Test |
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