ghcide-0.7.3.0: The core of an IDE
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Plugin.Test

Description

A plugin that adds custom messages for use in tests

Synopsis

Documentation

data TestRequest Source #

Constructors

BlockSeconds Seconds

:: Null

GetInterfaceFilesDir FilePath

:: String

GetShakeSessionQueueCount

:: Number

WaitForShakeQueue

Block until the Shake queue is empty. Returns Null

WaitForIdeRule String Uri

:: WaitForIdeRuleResult

Instances

Instances details
Generic TestRequest Source # 
Instance details

Defined in Development.IDE.Plugin.Test

Associated Types

type Rep TestRequest :: Type -> Type #

ToJSON TestRequest Source # 
Instance details

Defined in Development.IDE.Plugin.Test

FromJSON TestRequest Source # 
Instance details

Defined in Development.IDE.Plugin.Test

type Rep TestRequest Source # 
Instance details

Defined in Development.IDE.Plugin.Test

type Rep TestRequest = D1 ('MetaData "TestRequest" "Development.IDE.Plugin.Test" "ghcide-0.7.3.0-7Jt80mSDLDuL0bAoNcQUR5" 'False) ((C1 ('MetaCons "BlockSeconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Seconds)) :+: C1 ('MetaCons "GetInterfaceFilesDir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath))) :+: (C1 ('MetaCons "GetShakeSessionQueueCount" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WaitForShakeQueue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WaitForIdeRule" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uri)))))

blockCommandId :: Text Source #

a command that blocks forever. Used for testing