• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bring back old default behavior of using Gravatar as a fallback, but allow to disable it, reuse existing Gravatar code

Add 'db_dml', 'db_0or1row' , 'db_abort_transaction' and 'db_multirow' to the list of covered procs of different testcases

    • -1
    • +6
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Add 'ad_tmpdir' and 'ad_url' to the list of covered procs of different testcases

    • -0
    • +2
    ./acs-tcl/tcl/test/http-client-procs.tcl
    • -1
    • +5
    ./acs-tcl/tcl/test/openacs-kernel-procs.tcl
Add 'xml_doc_get_first_node', 'randomRange', 'whos_online::user_invisible_p' and 'site_node::get_url_from_object_id' to the list of covered procs of different testcases

    • -2
    • +8
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
    • -1
    • +2
    ./acs-tcl/tcl/test/site-nodes-test-procs.tcl
    • -0
    • +1
    ./acs-tcl/tcl/test/whos-online-procs.tcl
Add 'db_string', 'db_list' and 'db_list_of_lists' to the list of covered procs of different testcases

    • -2
    • +10
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Add 'db_nextval' to the list of covered procs of different testcases

    • -1
    • +2
    ./acs-tcl/tcl/test/object-test-case-procs.tcl
    • -1
    • +3
    ./acs-tcl/tcl/test/test-permissions-procs.tcl
Add 'db_name' to the list of covered procs of different testcases

    • -3
    • +3
    ./acs-tcl/tcl/test/datamodel-test-procs.tcl
    • -1
    • +2
    ./acs-tcl/tcl/test/object-test-case-procs.tcl
Intentation changes

    • -136
    • +136
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Add 'db_flush_cache' to the list of covered procs of the 'db__caching' testcase

    • -2
    • +5
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Add testcase for 'acs_user::ban' and 'acs_user::approve'

    • -0
    • +22
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Move styles into CSS

    • -41
    • +41
    ./acs-automated-testing/www/admin/index.adp
    • -15
    • +15
    ./acs-automated-testing/www/admin/testcase.adp
    • -64
    • +3
    ./acs-automated-testing/www/admin/testcase.tcl
Book includelet consistent view (thanks to Monika Andergassen)

Fix doc link

Show proc test coverage only on package view

Make so that newly displayed column 'title' in child-resources is not displayed by default, therefore keeping old behavior for those who don't want it explicitly

Now one can either select displayed columns by blacklist (hide) or whitelist (columns)

improve styling in book-mode and bootstrap, prefer CSS over inline styles

fix for openacs site issue #148

Add the global test proc coverage percentage to the 'automated-testing' admin/index page, and link it to the new 'proc-coverage' page

Remove duplicated property

Add package name to the coverage data

Replace completely the 'proc-coverage' page, using the new api and providing proc test coverage information for packages and system wide

    • -21
    • +74
    ./acs-automated-testing/www/admin/proc-coverage.tcl
Fix return error in proc

    • -2
    • +2
    ./acs-automated-testing/tcl/coverage-procs.tcl
Simplify styles

Add missing public flag to proc

    • -2
    • +2
    ./acs-automated-testing/tcl/coverage-procs.tcl
New test proc coverage library (proc-coverage) for the 'automated-testing' package:

- New proc 'aa::coverage::proc_covered_p', checks if a particular proc is covered by any automated test.

- New proc 'aa::coverage::proc_list', returns a list of procs, sistem wide or in a package, with their coverage status.

- New proc 'aa::coverage::proc_coverage', returns a summary of information (number of procs, number of covered procs, coverage percentage) about the coverage of the api of a package, or system wide.

- New proc 'aa::coverage::proc_coverage_level', returns a level value (high, medium, low...) for a particular percentage.

Also add new CSS file for the automated tests summary page, which should help reducing the inline styling in the package, and different styles for the proc coverage levels.

    • -60
    • +1
    ./acs-automated-testing/tcl/aa-test-procs.tcl
    • -0
    • +171
    ./acs-automated-testing/tcl/coverage-procs.tcl
file coverage-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-automated-testing/tcl/coverage-procs.tcl
file tests.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-automated-testing/www/resources/tests.css
Use a more generic message key for name (e.g. for cases when this is used for something different than pages, such as files)

Display the title in child-resources (optionally hidden)

Make file optional, validator already takes care to check whether this is a new upload and therefore requires one or not