Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +02:00
Pierre Goiffon
ec143c43db
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
...
"Return type declaration must be compatible with parent"
See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
2022-04-21 12:02:35 +02:00
Pierre Goiffon
e530cbb4f2
N°4624 Restore processIsolation on tests which actually need it
...
Warning, one symptom was having the CI returning an empty phpunit.results.xml !!
2022-01-07 17:25:18 +01:00
Pierre Goiffon
ddb8378fe6
N°4624 align phpunit annotations
...
Remove processIsolation when not needed
When needed, make sure to have also their counterpart (preserveGlobalState and backupGlobals)
2022-01-07 15:20:34 +01:00
Pierre Goiffon
c9ef543e2e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/log.class.inc.php
# datamodels/2.x/itop-attachments/renderers.itop-attachments.php
# js/search/search_form_criteria_enum.js
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# test/core/dictTest.php
2021-12-08 18:30:20 +01:00
odain
0cbf34ba5a
N°4125 - fix tests under windows (again)
2021-11-26 09:47:01 +01:00
odain
bea52d5fb9
N°4125 - test did not run under windows
2021-11-26 09:12:58 +01:00
odain
c98ad106c4
N°4125 - Make translations loading more robust toward APCu cache corruption or invalid dictionnary
2021-07-01 17:34:23 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Pierre Goiffon
b85b4d0067
N°3663 Group exception classes in /application/exceptions
...
Original files kept for compatibility issues :
- core/coreexception.class.inc.php
There are remaining exceptions in /core/oql, but those files are generated
2021-01-26 15:50:26 +01:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02:00
Eric Espié
c485286114
Advanced Search: External keys to hierarchical class selects sub-classes as in previous version
...
SVN:trunk[5675]
2018-04-16 16:35:20 +00:00
Eric Espié
3e35dafefb
Unit tests based on PHPUnit
...
These tests run with the sample datamodel and they don't commit any data (only some indexes are incremented).
To launch the test suite, run the following command from the test repository:
php.exe <PATH_TO>/phpunit.phar --configuration <PATH_TO>/test/PHPunit.xml
SVN:trunk[5164]
2017-12-22 13:37:26 +00:00