Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- doesFileExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m Bool
- isPortOpen :: (MonadTest m, MonadIO m, HasCallStack) => Int -> m Bool
- doesSocketExist :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m Bool
- assertFileExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m ()
- assertPortOpen :: (MonadTest m, MonadIO m, HasCallStack) => Int -> m ()
- assertSocketExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m ()
- doesSprocketExist :: (MonadTest m, MonadIO m, HasCallStack) => Sprocket -> m Bool
Documentation
doesFileExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m Bool Source #
Test if a file exists
isPortOpen :: (MonadTest m, MonadIO m, HasCallStack) => Int -> m Bool Source #
Test if a port is open
doesSocketExist :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m Bool Source #
Test if a socket file exists
assertFileExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m () Source #
Assert that a file exists
assertPortOpen :: (MonadTest m, MonadIO m, HasCallStack) => Int -> m () Source #
Assert that a port is open
assertSocketExists :: (MonadTest m, MonadIO m, HasCallStack) => FilePath -> m () Source #
Assert that a socket file exists is open
doesSprocketExist :: (MonadTest m, MonadIO m, HasCallStack) => Sprocket -> m Bool Source #
Test if the sprocket exists