Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Types.IntegrationTest
Documentation
data ExpectedResult c Source #
Constructors
ExpectCompilerError | |
Fields
| |
ExpectCompiles | |
Fields
| |
ExpectRuntimeError | |
Fields
| |
ExpectRuntimeSuccess | |
Fields
|
data IntegrationTest c Source #
Constructors
IntegrationTest | |
Fields
|
Instances
ParseFromSource (IntegrationTest SourceContext) Source # | |
Defined in Parser.IntegrationTest Methods sourceParser :: TextParser (IntegrationTest SourceContext) Source # |
data IntegrationTestHeader c Source #
Constructors
IntegrationTestHeader | |
Fields
|
Instances
ParseFromSource (IntegrationTestHeader SourceContext) Source # | |
Defined in Parser.IntegrationTest Methods sourceParser :: TextParser (IntegrationTestHeader SourceContext) Source # |
data OutputPattern Source #
Constructors
OutputPattern | |
Fields
|
Instances
Show OutputPattern Source # | |
Defined in Types.IntegrationTest Methods showsPrec :: Int -> OutputPattern -> ShowS # show :: OutputPattern -> String # showList :: [OutputPattern] -> ShowS # | |
Eq OutputPattern Source # | |
Defined in Types.IntegrationTest Methods (==) :: OutputPattern -> OutputPattern -> Bool # (/=) :: OutputPattern -> OutputPattern -> Bool # | |
Ord OutputPattern Source # | |
Defined in Types.IntegrationTest Methods compare :: OutputPattern -> OutputPattern -> Ordering # (<) :: OutputPattern -> OutputPattern -> Bool # (<=) :: OutputPattern -> OutputPattern -> Bool # (>) :: OutputPattern -> OutputPattern -> Bool # (>=) :: OutputPattern -> OutputPattern -> Bool # max :: OutputPattern -> OutputPattern -> OutputPattern # min :: OutputPattern -> OutputPattern -> OutputPattern # |
data OutputScope Source #
Constructors
OutputAny | |
OutputCompiler | |
OutputStderr | |
OutputStdout |
Instances
Show OutputScope Source # | |
Defined in Types.IntegrationTest Methods showsPrec :: Int -> OutputScope -> ShowS # show :: OutputScope -> String # showList :: [OutputScope] -> ShowS # | |
Eq OutputScope Source # | |
Defined in Types.IntegrationTest | |
Ord OutputScope Source # | |
Defined in Types.IntegrationTest Methods compare :: OutputScope -> OutputScope -> Ordering # (<) :: OutputScope -> OutputScope -> Bool # (<=) :: OutputScope -> OutputScope -> Bool # (>) :: OutputScope -> OutputScope -> Bool # (>=) :: OutputScope -> OutputScope -> Bool # max :: OutputScope -> OutputScope -> OutputScope # min :: OutputScope -> OutputScope -> OutputScope # |
getExcludePattern :: ExpectedResult c -> [OutputPattern] Source #
getRequirePattern :: ExpectedResult c -> [OutputPattern] Source #
isExpectCompilerError :: ExpectedResult c -> Bool Source #
isExpectCompiles :: ExpectedResult c -> Bool Source #
isExpectRuntimeError :: ExpectedResult c -> Bool Source #
isExpectRuntimeSuccess :: ExpectedResult c -> Bool Source #