Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Test.Version
Synopsis
- newtype Versioned' = Versioned' Versioned
- data Version5
- withVersion5 :: Version5 -> App a -> App a
- testVersion :: Versioned' -> App ()
- testVersionUnsupported :: App ()
- testVersionDisabled :: App ()
- testVersionDisabledNotAdvertised :: App ()
- testVersionDisabledDevNotAdvertised :: App ()
Documentation
newtype Versioned' Source #
Constructors
Versioned' Versioned |
Instances
TestCases Versioned' Source # | This instance is used to generate tests for some of the versions. (Not checking all of them for time efficiency reasons) |
Defined in Test.Version Methods mkTestCases :: IO [TestCase Versioned'] Source # |
Used to test endpoints that have changed after version 5
Constructors
Version5 | |
NoVersion5 |
testVersion :: Versioned' -> App () Source #
testVersionUnsupported :: App () Source #
testVersionDisabled :: App () Source #