• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added convenience function ::xowiki::test::get_content

This function eases testing by just retrieving the content part of a

page, leaving out header and footers of the theme.

whitespace changes

cleanup test

use more compact idioms, remove useless code, etc.

added a test for checking the results of the preview of test-items

Since the preview workflow requires a multiple redirects, xowiki::test::edit_form_page

requires a new flag refetch to actually turn off automatic refetching of the result

page, since this does not give us access to the redirect location returned by

the edit command.

  1. … 3 more files in changeset.
include item_id in result dict of ::xowiki::test::create_form_page

this makes it possible to perform further checks without refetch by name

fixed test case

returned violation on plain instance

New automated test for a page, including another page, which includes a picture, checking that everything works as expected

added "@see" to deprecated proc

generalize locales with a decimal point as comma, extend test with repeated form fields

Bring back de_DE as language in the test

Use double quotes consistently in comment

Extend automated test with usage of a numeric formfield in the context of a compound field, use it_IT as the locale to check against, as upstream de_DE has also the dot separator like en_US

provide test case for the form-field "numeric" with switching the lanuage preferences

Perform a full initialize on both packages to get ::xo::cc initialized

- Define converters as procs

- Register these procs as aliases where convenient

- this effects:

dict_to_fc, dict_to_spec, spec_to_dict, fc_to_dict, dict_value

- extended regression test

- bumped version number to 5.10.1d9

  1. … 2 more files in changeset.
prefer "Package require" over "Package initialize" when possible

  1. … 2 more files in changeset.
adjust code with regression test, which performs literal comparison of rendered content

  1. … 1 more file in changeset.
replace deprecated calls in test

Fix typo, fix expected value in test

  1. … 1 more file in changeset.
Adjust expected value in xowiki.xowiki_test_cases automated test

reduce deprecated calls

  1. … 3 more files in changeset.
prefer usage of "xo::write_tmp_file" over "xo::write_file" for writing tmp files

  1. … 4 more files in changeset.
parameterize xowiki::test::edit_form_page with -next_page_must_contain

This changes supports more flexible checking of expected content on page after editing.

Default is backwards compatible

  1. … 1 more file in changeset.
added test case for form field validation

Add all whitespace characters between double quotes when converting a dict to hstore

Many thanks to Guenter Ernst for the analysis.

Extended regression test

  1. … 1 more file in changeset.
Fix typo

improve listing of procs covered by regression test

  1. … 1 more file in changeset.
whitespace change

extend regression test

extend regression test