dolibarr/test/phpunit
MDW f3a3de8ea2
Qual: Fix/complete/refactor ModuleTest case. (#28373)
* Fix: Correct CommonClassTest's constructor

# Fix: Correct CommonClassTest's constructor

Dataproviders did not work because of the issue with the constructor

* Qual: Refactor module name list, add mapping to class name

# Qual: Refactor module name list, add mapping to class name

Based on ModuleTest and search for modules in the code, complete the
list of modules and map to the class names.

This will allow reuse in the ModuleTest.

* Qual: Refactor ModulesInit test

# Qual: Refactor ModulesInit test

Use the updated common module mapping list, more complete than
the original list.
Also refactor the test to use a data provider.

* Fix: valid module test must now use array_key_exists

# Fix: valid module test must now use array_key_exists

Because of the introduction of null key values, isset on the array no
longer works, using array_key_exists to test if the modulename is valid.

* fixup! Qual: Refactor module name list, add mapping to class name

* Qual: Less verbosity for tests

# Qual: Less verbosity for tests

The verbosity on setup/teardown/... is not really usefull and
makes the log less readable.  Reducing the verbosity while allowing
to set an environment variable PHPUNIT_DEBUG to enable it.
2024-02-23 17:43:18 +01:00
..
functional Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
AccountingAccountTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ActionCommTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
AdherentTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
AdminLibTest.php Test/adminlib/remove deprecation (#28302) 2024-02-20 10:38:27 +01:00
AllTests.php Qual: Re-enable open_basedir restriction in tests (#28315) 2024-02-21 13:57:05 +01:00
AssetModelTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
BankAccountTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
BarcodeTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
BOMTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
BonPrelevementTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
BuildDocTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CategorieTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ChargeSocialesTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CMailFileTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CodingPhpTest.php Qual: Fix/complete/refactor ModuleTest case. (#28373) 2024-02-23 17:43:18 +01:00
CodingSqlTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CommandeFournisseurTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CommandeTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CommonClassTest.class.php Qual: Fix/complete/refactor ModuleTest case. (#28373) 2024-02-23 17:43:18 +01:00
CommonInvoiceTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CommonObjectTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CompanyBankAccountTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CompanyLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ContactTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ContratTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
CoreTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
DateLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
DateLibTzFranceTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
DiscountTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
DoliDBTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
EmailCollectorTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
EntrepotTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
EvalMathTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ExpenseReportTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ExportTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FactureFournisseurTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FactureRecTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FactureTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FactureTestRounding.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FichinterTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
file_import_company_1.csv Add phpunit to test the rename/move into a corrupted pdf file. 2024-02-17 18:59:57 +01:00
file_pdf_with_js.pdf.jpg Add phpunit to test the rename/move into a corrupted pdf file. 2024-02-17 18:59:57 +01:00
FilesLibTest.php Add phpunit to test the rename/move into a corrupted pdf file. 2024-02-17 18:59:57 +01:00
FormAdminTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FormTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
Functions2LibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
FunctionsLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
GetUrlLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
HolidayTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ImagesLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
imap_header.txt Add samples for imap functions test 2021-07-15 23:03:24 +02:00
imap_htmlmsg.txt Add samples for imap functions test 2021-07-15 23:03:24 +02:00
imap_plaintext.txt Add samples for imap functions test 2021-07-15 23:03:24 +02:00
img250x20.png I forgot image file 2012-04-02 09:47:35 +02:00
img250x50.jpg Qual: Use a shared function to define logo heigth. 2012-04-01 23:57:15 +02:00
imgsvgwithjs.svg Fix #yogosha4490 2020-09-18 03:07:13 +02:00
ImportTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
InventoryTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
JsonLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
KnowledgeRecordTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
LangTest.php Fix warning 2024-02-21 12:46:20 +01:00
LesscTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
LoanTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
MarginsLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ModulesTest.php Qual: Fix/complete/refactor ModuleTest case. (#28373) 2024-02-23 17:43:18 +01:00
MouvementStockTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
NumberingModulesTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ODFTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
PaypalTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
PdfDocTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
PgsqlTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
phpunit.dtd Fix: Removed warning no dtd found 2011-01-12 14:33:57 +00:00
phpunittest.xml Fix: Improve test configuration (#28294) 2024-02-20 01:26:25 +01:00
PricesTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ProductTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ProfidLibTest.php Clean code 2024-02-17 15:50:51 +01:00
ProjectTest.php Add phpunit test on tasks 2024-02-20 01:17:00 +01:00
PropalTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ReceptionTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
RepositoryTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
RestAPIContactTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
RestAPIDocumentTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
RestAPIUserTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
ScriptsTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
SecurityTest.php Close #28293 2024-02-20 14:58:46 +01:00
SocieteTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
StripeTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
SupplierProposalTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
TargetTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
testemailing.txt Fix: Error management of mass email feature 2014-05-17 19:02:47 +02:00
testvirus.txt Make virus file no more detected. 2022-01-23 12:59:15 +01:00
textiso.txt Update test samples 2012-02-12 19:15:17 +01:00
textutf8.txt Update test samples 2012-02-12 19:15:17 +01:00
TicketTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
UserGroupTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
UserTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
UtilsTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesInvoicesTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesOrdersTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesOtherTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesProductsTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesThirdpartyTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebservicesUserTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
WebsiteTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00
XCalLibTest.php Qual: Improve test messages to help locate errors + php-cs-fixer on tests (#28272) 2024-02-19 15:28:21 +01:00