<<

basic_usage

call displayServers with no parameters and investigate the things that it returns. This depends on there being at least one server defined, as do some other tests in this module.

position_does_not_exist

call displayServers with a position that does not exist and make sure that we get none back.

position_does_exist

call displayServers with a position that does exist and make sure that we get at least one back.

type_does_not_exist

call displayServers with a type that does not exist and make sure that we get none back.

type_does_exist

call displayServers with a type that does exist and make sure that we get at least one back.

position_and_type

call displayServers with a variety of both positions and types and verify that we get either something or nothing back.

INTERNAL METHODS

these are not test methods, but they help me write them.

_get_a_position

returns a position value for which at least one server exists

_get_a_type

returns a type value for which at least one server exists

_get_a_position_and_type

returns a position and type for a server

<<