unit_test
Vars | |
name | Optional 'Descriptive Name' that replaces the typepath in log messages. |
---|---|
priority | The priority of the test, the larger it is the later it fires |
run_loc_floor_bottom_left | The bottom left floor turf of the testing zone |
run_loc_floor_top_right | The top right floor turf of the testing zone |
Procs | |
allocate | Allocates an instance of the provided type, and places it somewhere in an available loc Instances allocated through this proc will be destroyed when the test is over |
click_wrapper | Helper to perform a click |
Var Details
name
Optional 'Descriptive Name' that replaces the typepath in log messages.
priority
The priority of the test, the larger it is the later it fires
run_loc_floor_bottom_left
The bottom left floor turf of the testing zone
run_loc_floor_top_right
The top right floor turf of the testing zone
Proc Details
allocate
Allocates an instance of the provided type, and places it somewhere in an available loc Instances allocated through this proc will be destroyed when the test is over
click_wrapper
Helper to perform a click
- clicker: The mob that will be clicking
- clicked_on: The atom that will be clicked
- passed_params: A list of parameters to pass to the click