ghcide-2.8.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageGHC2021

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 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)

blockCommandId :: Text Source #

a command that blocks forever. Used for testing