Safe Haskell | None |
---|
Unittests for Network Queries.
Synopsis
- prop_getGroupConnection :: NodeGroup -> Property
- prop_getGroupConnection_notFound :: NodeGroup -> String -> Property
- prop_instIsConnected :: ConfigData -> Property
- prop_instIsConnected_notFound :: ConfigData -> String -> Property
- testQuery_Network :: Test
Documentation
prop_getGroupConnection :: NodeGroup -> Property Source #
Check if looking up a valid network ID of a nodegroup yields a non-Nothing result.
prop_getGroupConnection_notFound :: NodeGroup -> String -> Property Source #
Checks if looking up an ID of a non-existing network in a node group
yields Nothing
.
prop_instIsConnected :: ConfigData -> Property Source #
Checks whether actually connected instances are identified as such.
prop_instIsConnected_notFound :: ConfigData -> String -> Property Source #
Tests whether instances that are not connected to a network are correctly classified as such.
testQuery_Network :: Test Source #