Inteface to add a test section.
tempcode
ad
()
Inteface to add a test.
tempcode
add_test
()
Choose a test section to edit.
tempcode
ed
()
Standard modular entry-point finder function.
?array
get_entry_points
()
Get a list to choose a section.
tempcode
get_section_list
([?AUTO_LINK $it = NULL], [boolean $unassigned = false])
-
?AUTO_LINK
$it: The section to select by default (NULL: no specific default)
-
boolean
$unassigned: Whether to only select inheritable sections
Get a list to choose a tester.
tempcode
get_tester_list
(?MEMBER $it)
-
?MEMBER
$it: The member to select by default (NULL: Select N/A)
Get tempcode for a test adding/editing form.
tempcode
get_test_form_fields
(string $stub, [SHORT_TEXT $test = ''], [?MEMBER $assigned_to = NULL], [BINARY $enabled = 1], [string $inherit_from = ''])
-
string
$stub: A short stub to prefix the field name
-
SHORT_TEXT
$test: The text of the test
-
?MEMBER
$assigned_to: The member the test is assigned to (NULL: test section member)
-
BINARY
$enabled: Whether the test is enabled
-
string
$inherit_from: The section this test inherits from (blank: none)
Get tempcode for a test section adding/editing form.
tempcode
get_test_section_form_fields
([SHORT_TEXT $section = ''], [LONG_TEXT $notes = ''], [?MEMBER $assigned_to = NULL], [BINARY $inheritable = 0])
-
SHORT_TEXT
$section: The name of the section
-
LONG_TEXT
$notes: Notes for the section
-
?MEMBER
$assigned_to: The member the tests are assigned to (NULL: not a normal section, one that gets inherited into tests)
-
BINARY
$inheritable: Whether this test section is intended to be inherited, not used by itself
Run through tests.
tempcode
go
()
Standard modular info function.
?array
info
()
Standard modular install function.
void
install
([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
-
?integer
$upgrade_from: What version we're upgrading from (NULL: new install)
-
?integer
$upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
A bug report for a test.
tempcode
report
()
Standard modular run function.
tempcode
run
()
Show statistics on test progress.
tempcode
stats
()
Standard modular uninstall function.
void
uninstall
()
Actualiser to add a test section.
tempcode
_ad
()
Add in any new tests added in the form.
void
_add_new_tests
(AUTO_LINK $section_id)
-
AUTO_LINK
$section_id: The section to put the tests in.
Actualiser to add a test.
tempcode
_add_test
()
Interface to edit a test section.
tempcode
_ed
()
Save test run through results.
tempcode
_go
()
Actualiser to edit a test section.
tempcode
__ed
()