Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

LoveStack's tests in Exponential's suite

Besides testing each feature, Exponential compared LoveStack's own tests/ tree with its own. Mugo Web changed test files in 18 commits since the common ancestor (3429aa91bb, 9 March 2016) up to e61e9fdf0c (23 February…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/bc/6.0/love/TESTS-MAPPING.md

LoveStack's tests in Exponential's suite

Besides testing each feature, Exponential compared LoveStack's own tests/ tree with its own. Mugo Web changed test files in 18 commits since the common ancestor (3429aa91bb, 9 March 2016) up to e61e9fdf0c (23 February 2026), 173 files in all; 152 of them changed only their file mode. Every test case among the rest that covers behaviour Exponential has is now in Exponential's PHPUnit suite, rebuilt for PHPUnit as Exponential runs it, with thanks to Mugo Web. Each of these test files names the LoveStack commit it comes from.

Paths are relative to tests/tests/ in Exponential and to tests/tests/ in LoveStack. Tests marked live need an installation and roll back what they write; the others need no database.

LoveStack commitLoveStack testIn ExponentialStatus
f2284944b2lib/ezutils/ezuri_test.php: testBuildFullUrl, testBuildRelativeUrllib/ezutils/eZURIBuildTest.php (L25): both cases with the same inputs and results, plus host mode, escaping and parity with ezurlcovered
95d86f5990kernel/classes/eznamepatternresolver_regression.phpkernel/classes/eZNamePatternResolverLimitTest.php: the EZP-21410 length limit cases (ASCII, white space, comma and dot, UTF-8 with and without the ideographic comma) through eZNamePatternResolver::resolve() and the constructorbrought over; Exponential keeps the constructor rather than LoveStack's instance() (L18)
e280ff5d64kernel/classes/ezcontentobjecttreenode_test2.php: testSortingByTrashedkernel/classes/eZContentObjectTreeNodeSortingTest.php: ascending (LoveStack's case), descending, short form, combined keysbrought over
60a40cdc05kernel/datatypes/ezuser/ezusertype_regression.php: testUpdatePasswordUpdatesSerializedDatakernel/datatypes/ezuser/eZUserTypePasswordDraftLiveTest.php (live): the stored hash is the new password's, the attribute's data holds the new hash, an id without an account is refusedbrought over
30c1260b84, 09e49ce1ffkernel/private/rest/request_parser_data/*: recorded REST requestskernel/private/rest/ezpRestHttpRequestParserRecordedRequestsTest.php: every recorded request against its expected result, the Accept order by qualitybrought over (the data was already in Exponential)
d894b9e885kernel/common/ezautolinkoperator_test.php: http, https, mail, ftpkernel/common/eZAutoLinkOperatorLinksTest.php: the four cases with LoveStack's results, shortened text, an unlisted schemebrought over (the fix itself had reached Exponential through upstream)
5286068d5bezsimplifiedxmlinputparser_regression.php: testParseAttributeWithAmpersandkernel/classes/xmltext/eZSimplifiedXMLInputParserTest.php: a bare & in a link address (<link> and <a>)brought over
7517c0e925lib/ezi18n/ezchartransform_test.php: trailing characters of URL aliaseslib/ezi18n/eZCharTransformTrailingCleanupTest.php (L33): LoveStack's five inputs, with the option off and oncovered
55029bd473, 4a27ffecb4kernel/classes/ezsitedata_test.php: testCreatekernel/classes/eZSiteDataCreateTest.php (create() without a database), kernel/classes/eZSiteDataCreateNewLiveTest.php (live: createNew() stores and replaces by name)brought over
cb8a3a1c58, 30c1260b84, 54c9fd9e3f, dfa6f4c9ac, 09e49ce1ff (part)workflow event tests, the database test suite setup, skips of retired test servers, PHP 5.5 export normalisationthe same changes are already in Exponential's filesalready in Exponential
0a52081473siteaccess tests renamed from plain/admin to test—not taken: follows the removal of the example siteaccesses, which Exponential does not do
db5e171aefa debug label in the approve workflow test—not taken: debug label wording
eaf72c6ef3tests/runtests.php loads vendor/autoload.php—not needed: Exponential's tests load it through tests/bootstrap.php
9f5b99fd2a152 files: the executable flag removed—file modes only, not a test case

Tests added for the features

Besides the per-feature tests listed in TESTING.md, these tests were added while checking the features as a whole:

  • kernel/classes/expShippedFeatureDefaultsTest.php: the defaults an upgraded site keeps;
  • kernel/content/eZAdminFullViewCopyButtonTest.php (L15), kernel/content/eZEditLocationsVisibilityTest.php (L20), kernel/datatypes/eZSelectionMatrixViewTemplateTest.php (L21): the templates;
  • extension/ezjscore/ezjscServerFunctionsAjaxUploaderImageTest.php (L05) and ezjscServerFunctionsAjaxUploaderAltTextTest.php (L16): the AJAX uploader;
  • kernel/content/eZLoginTemplatesRegisterLinkTest.php (L02), extension/ezoe/expOECustomTagAssetsTest.php (L22, L23), kernel/classes/packages/eZStylePackageCreatorTest.php (L06), kernel/classes/eZContentCacheEventSendersTest.php (L36);
  • kernel/common/eZTemplateRawURLEncodeOperatorTest.php (L27), which found that the URL encoding operators handed null to PHP for an unset value on PHP 8.1 and later; fixed.

Not given a PHPUnit test on purpose: the Symfony session handler's destroy() (it returns early on the command line; its behaviour is covered by the logout test) and L24 (a JavaScript dialog, checked in the browser).

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x