Safe Haskell | None |
---|
Test.Ganeti.HTools.Loader
Description
Unittests for ganeti-htools.
Synopsis
- prop_lookupNode :: [(String, Int)] -> String -> String -> Property
- prop_lookupInstance :: [(String, Int)] -> String -> Property
- prop_assignIndices :: Property
- prop_mergeData :: [Node] -> Bool
- prop_compareNameComponent_equal :: String -> Bool
- prop_compareNameComponent_prefix :: NonEmptyList Char -> String -> Bool
- testHTools_Loader :: Test
Documentation
prop_lookupNode :: [(String, Int)] -> String -> String -> Property Source #
prop_lookupInstance :: [(String, Int)] -> String -> Property Source #
prop_assignIndices :: Property Source #
prop_mergeData :: [Node] -> Bool Source #
Checks that the number of primary instances recorded on the nodes is zero.
prop_compareNameComponent_equal :: String -> Bool Source #
Check that compareNameComponent on equal strings works.
prop_compareNameComponent_prefix :: NonEmptyList Char -> String -> Bool Source #
Check that compareNameComponent on prefix strings works.
testHTools_Loader :: Test Source #