acs-tcl-test-procs.tcl

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- modernize tcl

  1. … 9 more files in changeset.
- fixing a wierd interaction between a db_foreach and db_transaction, which leads to wierd values in parameters. Moving from db_foreach to db_list_of_lists repairs the test case.

Added a test for global parameter set/get value.

Added test case

Added procedure to check if a user is actually registered. We should probably change auth::require_login to check if the user is registered instead of just checking for the existance of the cookie

  1. … 2 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Added acs_object::package_id procedure to retrieve the package_id along with testcase

  1. … 2 more files in changeset.
Replacing 'limit 0' with 'person_id=1 and person_id=2' so it can be run on both pg and oracle

fixing some stuff with parameters test, when you change those randomly strange things can happen! will be good to revert stuff

Added documentation to proc.

adding teardown and documentation to parameter__check_procs

adding parameter__check_procs smoke test case

Conditionalized tests of bindvar emulation so they're not run for Oracle.

Two of them don't work for Oracle (tries to do a "select" in db_exec_plsql)

and since Oracle's definition of bindvar semantics defines the emulation

semantics it seems silly to test if Oracle adheres to them or not :)

Conditionalized tests of bindvar emulation so they're not run for Oracle.

Two of them don't work for Oracle (tries to do a "select" in db_exec_plsql)

and since Oracle's definition of bindvar semantics defines the emulation

semantics it seems silly to test if Oracle adheres to them or not :)

Added a simple caching mechanism to the database API as discussed (and approved)

in TIP #57 many, many moons ago. Commands which are cache-enabled are db_string,

db_0or1row, db_1row, db_list, db_list_of_lists, and db_multirow.

  1. … 2 more files in changeset.
add a test to check the validity of all the xql files. break out the file scan tests into a seperate file

  1. … 5 more files in changeset.
add an apm_version_sortable public function, add a test which checks the db upgrade scripts are well ordered.

  1. … 4 more files in changeset.
add a test to validate the .info files all parse and have no duplicate params or mismatched package keys

check for unnamed constraints on postgres

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
Changing proc db_bind_var_substitution (used only for db_exec_plsql) so that it doesn't do bind var substitution for bind variables that are in quotes. fixing bug 1113

  1. … 1 more file in changeset.
added test case for 1450

merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 293 more files in changeset.
Added categories to the automated test(s).

  1. … 10 more files in changeset.
Added util::age_pretty proc

  1. … 1 more file in changeset.
util_url_valid_p now accepts ftp:// style URLs and also doesn't care

about the case (i.e. HTTP://example.com is a valid URL).

  1. … 1 more file in changeset.
added test for @returns

Added util::randomize_list, including automated test case

  1. … 1 more file in changeset.
added Jeff Davis's tcl-file tester

Lars added new proc util_get_subset_missing along with test cases

  1. … 1 more file in changeset.