datamodel-test-procs.tcl

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
minor changes: don't complain about postgres internal constraint names, provide hints for oversizing

make listing of tested procs more complete

  1. … 18 more files in changeset.
Fix typo in library doc

Add 'db_name' to the list of covered procs of different testcases

  1. … 1 more file in changeset.
Replace string equal idiom

whitespace cleanup

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

- make tested API calls explict

- reduce dependency on twt

  1. … 18 more files in changeset.
Declass constraint names breaking the very strict OpenACS naming convention from errors to warnings

Rationale: it is sometimes impossible to have constraint names that are both < 30 chars and consistent with the naming scheme 'table_name'_'column_name'_'constraint_type' for all those defined on a particular table (see e.g. acs_named_objects).

Breaking this convention might be suboptimal, but is not harmful in itself.

Add TIMESTAMP to the list of feasible time database types in tests

Add user_tab_columns.BPCHAR to the list of possible boolean physical datatypes

Fix even more typos

  1. … 29 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.
case fold before checking if column exists

accept pkey, fkey, and key as constraint suffixes since the pg automatic names use them and are good

fix regression test in cases it fails

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 code to check more than 1 level of inheritance

Add check for supertype when table_name is null

Reduce duplicated code

Added code to check constraint name for postgresql

Improve constraint names test for oracle, checking name, type, constraint name length and giving a hint to standarize the constraint name

Does not include system table in the result of the test (oracle)

__named_constraints: added code for oracle

__acs_object_type_check: fix queries to be run also on oracle

__acs_attribute_check: added missing oracle datatype (date/timestamp is still pending).

tweak documentation

  1. … 1 more file in changeset.
adds test for acs_object_type internal consistency, proc documentation, xql files, named constraints, acs_attributes internal consistency

    • -0
    • +149
    ./datamodel-test-procs.tcl
  1. … 3 more files in changeset.