apm-parameter-test-procs.tcl

  • last updated 35 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve test for singleton package parameters (aka instance parameters of singleton packages):

- do not choose a parameter at random, test them all instead

- do not test for global parameters. For those, the api will behave differently

- do not test for parameters coming from the configuration file. The parameter::* api does not allow to manipulate those

- do not check for packages that are not mounted. A value would not be found for those

complete listing of covered procs in test cases

  1. … 14 more files in changeset.
make listing of tested procs more complete

  1. … 18 more files in changeset.
Adapt tests to the new behaviour of 'apm_parameter_unregister'

Rename 'random', 'randomInit' and 'randomRange' procs to something compliant to OpenACS naming convention, replace occurrences, create deprecated wrapper

  1. … 7 more files in changeset.
improve spelling

  1. … 14 more files in changeset.
Overhaul of test cases:

- make tested API calls explict

- reduce dependency on twt

  1. … 18 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

  1. … 7 more files in changeset.
parameter name should not contain space

Test cases for registration/unregistration of parameters.

Test cases for memoizing procs.

Test cases done by Adrian Catalan (ykro@galileo.edu)

    • -0
    • +37
    ./apm-parameter-test-procs.tcl
  1. … 1 more file in changeset.