Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Test.Common
Documentation
checkDefinesFail :: TypeResolver r => r -> [(String, [String])] -> String -> CompileInfo () Source #
checkDefinesSuccess :: TypeResolver r => r -> [(String, [String])] -> String -> CompileInfo () Source #
checkEquals :: (Eq a, Show a) => a -> a -> CompileInfo () Source #
checkTypeFail :: TypeResolver r => r -> [(String, [String])] -> String -> CompileInfo () Source #
checkTypeSuccess :: TypeResolver r => r -> [(String, [String])] -> String -> CompileInfo () Source #
containsAtLeast :: (Ord a, Show a) => [a] -> [a] -> CompileInfo () Source #
containsAtMost :: (Ord a, Show a) => [a] -> [a] -> CompileInfo () Source #
containsExactly :: (Ord a, Show a) => [a] -> [a] -> CompileInfo () Source #
containsNoDuplicates :: (Ord a, Show a) => [a] -> CompileInfo () Source #
forceParse :: ParseFromSource a => String -> a Source #
parseFilterMap :: [(String, [String])] -> CompileInfo ParamFilters Source #
parseTheTest :: ParseFromSource a => [(String, [String])] -> [String] -> CompileInfo ([a], ParamFilters) Source #
readMulti :: ParseFromSource a => String -> String -> CompileInfo [a] Source #
readSingle :: ParseFromSource a => String -> String -> CompileInfo a Source #
readSingleWith :: Parser a -> String -> String -> CompileInfo a Source #
runAllTests :: [IO (CompileInfo ())] -> IO () Source #