• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Document public api

Streamline idiom

acs::test::visualize_control_chars

    • -0
    • +16
    ./test/acs-automated-testing-procs.tcl
Deprecate twt::user::create and twt::user::delete, superseded by their acs::test::user:: counterparts

  1. … 11 more files in changeset.
Claim additional coverage

    • -0
    • +1
    ./test/acs-automated-testing-procs.tcl
Deprecate twt::server_url, superseded by acs::test::url

  1. … 3 more files in changeset.
Centralize retrieval of the test URL

  1. … 5 more files in changeset.
Deprecate old api

Increase proc coverage

    • -0
    • +84
    ./test/acs-automated-testing-procs.tcl
Improve acs::test::form_reply so that when the attributes of a file upload (*.tmpfile or *.content-type) are part of the update argument, it will switch automatically to a multipart request and implement a "real" file upload

This is important on newer NaviServer versions that will reject any *.tmpfile parameter in a request that was not produced internally after a file upload

  1. … 1 more file in changeset.
acs::test::user::delete: added flag -delete_created_acs_objects and fix regression test for file-storage

  1. … 4 more files in changeset.
For web interface testing, add authorization headers

The change eases testing of packages that are based on HTTP Basic

Authorization. When email and password are provided for the test user

if the HTTP request, an Authorization header is added now

automatically.

Bumped version number to 5.10.1d1

  1. … 1 more file in changeset.
provide better error messages in case dom parsing fails during test

Fix the test, which was not actually reproducing the issue

in order to do so, I had to fix the behavior of acs::test::xpath::get_form_values: we should in fact NOT extract the value of disabled formfield, as a real browser will not send them in the POST request.

  1. … 1 more file in changeset.
differentiate between directly and indirectly covered API calls to make output pages easier to interprete

  1. … 3 more files in changeset.
Do not consider unchecked radio buttons as form values, or when an unselected radio exists, the last value will might be picked

Fixes xowiki.create_form_with_form_instance, breaks xowf.create_test_items

Add explicit level to uplevel occurrences

improve spelling

  1. … 42 more files in changeset.
make spelling more consistent

- support var args for "aa_log_result" like for "ns_log" and "ad_log"

- make form parsing via xpath more robust

(don't assume, every INPUT has a name, allthough it should)

removed further "global" statments

Reduced number of "global" statements (which are often not used and probably leftovers from ancient times)

Comment command that won't be defined in upstream codebase

fix broken test category handling

previously, the exclusion categories were provided as categories, but the "real" categories could not be selected. An in case they were selected via query-parameter, filtering was broken.

  1. … 1 more file in changeset.
delete modifying user info in acs_objects such that test user can be deleted as well

extend web testing by adding a call to fined a link via link label

previously, we just could follow a link based on a link label

Make '::acs::test::login' public, as it is used in other packages. Fixes 'callgraph__bad_library_calls' test case

bug fix: do not swallow errors in "aa_run_with_teardown" when -rollback s activated

fix typo

adjust luminosity calculation to the 2020 standard for UHDTV and HDR