Safe Haskell | None |
---|
Unittests for ganeti-htools.
- genNonCommaString :: Gen String
- prop_commaJoinSplit :: Property
- prop_commaSplitJoin :: String -> Property
- prop_fromObjWithDefault :: Integer -> String -> Bool
- prop_if'if :: Bool -> Int -> Int -> Gen Prop
- prop_select :: Int -> [Int] -> [Int] -> Gen Prop
- prop_select_undefd :: [Int] -> NonEmptyList Int -> Gen Prop
- prop_select_undefv :: [Int] -> NonEmptyList Int -> Gen Prop
- prop_parseUnit :: NonNegative Int -> Property
- case_niceSort_static :: Assertion
- prop_niceSort_single :: Property
- prop_niceSort_generic :: Property
- prop_niceSort_numbers :: Property
- prop_niceSortKey_equiv :: Property
- prop_rStripSpace :: NonEmptyList Char -> Property
- case_new_uuid :: Assertion
- prop_clockTimeToString :: Integer -> Integer -> Property
- prop_chompPrefix_normal :: String -> Property
- prop_chompPrefix_last :: Property
- prop_chompPrefix_empty_string :: Property
- prop_chompPrefix_nothing :: Property
- prop_trim :: NonEmptyList Char -> Property
- prop_splitRecombineEithers :: [Either Int Int] -> Property
- testUtils :: Test
Documentation
genNonCommaString :: Gen StringSource
prop_commaJoinSplit :: PropertySource
prop_commaSplitJoin :: String -> PropertySource
prop_fromObjWithDefault :: Integer -> String -> BoolSource
prop_if'if :: Bool -> Int -> Int -> Gen PropSource
prop_select :: Int -> [Int] -> [Int] -> Gen PropSource
prop_select_undefd :: [Int] -> NonEmptyList Int -> Gen PropSource
prop_select_undefv :: [Int] -> NonEmptyList Int -> Gen PropSource
prop_parseUnit :: NonNegative Int -> PropertySource
case_niceSort_static :: AssertionSource
prop_niceSort_single :: PropertySource
prop_niceSort_generic :: PropertySource
prop_niceSort_numbers :: PropertySource
prop_niceSortKey_equiv :: PropertySource
prop_rStripSpace :: NonEmptyList Char -> PropertySource
case_new_uuid :: AssertionSource
prop_clockTimeToString :: Integer -> Integer -> PropertySource
prop_chompPrefix_normal :: String -> PropertySource
prop_chompPrefix_last :: PropertySource
prop_chompPrefix_empty_string :: PropertySource
prop_chompPrefix_nothing :: PropertySource
prop_splitRecombineEithers :: [Either Int Int] -> PropertySource