forked from Wavyzz/dolibarr
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
This commit is contained in:
@@ -57,6 +57,8 @@ class MyObjectTest extends PHPUnit\Framework\TestCase
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
|
*
|
||||||
|
* @param string $name Name
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return AccountingAccountTest
|
* @return AccountingAccountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ActionCommTest
|
* @return ActionCommTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class AdherentTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return AdherentTest
|
* @return AdherentTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class AdminLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return AdminLibTest
|
* @return AdminLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ class AllTests
|
|||||||
*/
|
*/
|
||||||
public static function suite()
|
public static function suite()
|
||||||
{
|
{
|
||||||
|
|
||||||
$suite = new PHPUnit\Framework\TestSuite('PHPUnit Framework');
|
$suite = new PHPUnit\Framework\TestSuite('PHPUnit Framework');
|
||||||
|
|
||||||
//require_once dirname(__FILE__).'/CoreTest.php';
|
//require_once dirname(__FILE__).'/CoreTest.php';
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class BOMTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BOMTest
|
* @return BOMTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BankAccountTest
|
* @return BankAccountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ class BarcodeTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BarcodeTest
|
* @return BarcodeTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class BonPrelevementTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BankAccountTest
|
* @return BankAccountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BuildDocTest
|
* @return BuildDocTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CMailFile
|
* @return CMailFile
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class CategorieTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CategorieTest
|
* @return CategorieTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class ChargeSocialesTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ChargeSocialesTest
|
* @return ChargeSocialesTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SecurityTest
|
* @return SecurityTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SecurityTest
|
* @return SecurityTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CommandeFournisseurTest
|
* @return CommandeFournisseurTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CommandeTest
|
* @return CommandeTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class CommonInvoiceTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CommonObjectTest
|
* @return CommonObjectTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class CommonObjectTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CommonObjectTest
|
* @return CommonObjectTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CompanyBankAccountTest
|
* @return CompanyBankAccountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class CompanyLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return AdminLibTest
|
* @return AdminLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ class ContactTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ContactTest
|
* @return ContactTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class ContratTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ContratTest
|
* @return ContratTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ class CoreTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CoreTest
|
* @return CoreTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ class DateLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return DateLibTest
|
* @return DateLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return DateLibTest
|
* @return DateLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class DiscountTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return DiscountTest
|
* @return DiscountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class DoliDBTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return DiscountTest
|
* @return DiscountTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class EmailCollectorTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ExpenseReportTest
|
* @return ExpenseReportTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return EntrepotTest
|
* @return EntrepotTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class EvalMathTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return InventoryTest
|
* @return InventoryTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class ExpenseReportTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ExpenseReportTest
|
* @return ExpenseReportTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class ExportTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ExportTest
|
* @return ExportTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class FactureFournisseurTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureFournisseurTest
|
* @return FactureFournisseurTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class FactureRecTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureTest
|
* @return FactureTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class FactureTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureTest
|
* @return FactureTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -55,11 +55,12 @@ class FactureTestRounding extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureTest
|
* @return FactureTest
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct($name);
|
||||||
|
|
||||||
//$this->sharedFixture
|
//$this->sharedFixture
|
||||||
global $conf,$user,$langs,$db;
|
global $conf,$user,$langs,$db;
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class FichinterTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ContratTest
|
* @return ContratTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FilesLibTest
|
* @return FilesLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class FormAdminTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureTest
|
* @return FactureTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class FormTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FactureTest
|
* @return FactureTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ class Functions2LibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CoreTest
|
* @return CoreTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CoreTest
|
* @return CoreTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class GetUrlLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return FilesLibTest
|
* @return FilesLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class HolidayTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return HolidayTest
|
* @return HolidayTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class ImagesLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ImagesLibTest
|
* @return ImagesLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ class ImportTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ImportTest
|
* @return ImportTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return InventoryTest
|
* @return InventoryTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ class JsonLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return CoreTest
|
* @return CoreTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ class KnowledgeRecordTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return KnowledgeRecordTest
|
* @return KnowledgeRecordTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class LangTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SecurityTest
|
* @return SecurityTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class LesscTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SecurityTest
|
* @return SecurityTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class LoanTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return LoanTest
|
* @return LoanTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class MarginsLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return DateLibTest
|
* @return DateLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class ModulesTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return BuildDocTest
|
* @return BuildDocTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class MouvementStockTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ContratTest
|
* @return ContratTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class NumberingModulesTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return NumberingModulesTest
|
* @return NumberingModulesTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ class ODFTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return BOMTest
|
* @param string $name Name
|
||||||
|
* @return ODFTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ class PaypalTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return ProductTest
|
* @param string $name Name
|
||||||
|
* @return PaypalTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return PdfDocTest
|
* @return PdfDocTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -58,7 +58,8 @@ class PgsqlTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return ContactTest
|
* @param string $name Name
|
||||||
|
* @return PgsqlTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ class PricesTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return CoreTest
|
* @param string $name Name
|
||||||
|
* @return PriceTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class ProductTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ProductTest
|
* @return ProductTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class ProjectTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ProjectTest
|
* @return ProjectTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class PropalTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return PropalTest
|
* @return PropalTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -87,7 +87,8 @@ class RepositoryTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return SecurityTest
|
* @param string $name Name
|
||||||
|
* @return RepositoryTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables.
|
* We save global variables into local variables.
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return RestAPIDocumentTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return RestAPIUserTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ class ScriptsTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return ScriptsTest
|
* @return ScriptsTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SecurityTest
|
* @return SecurityTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class SocieteTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return SocieteTest
|
* @return SocieteTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ class StripeTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return ProductTest
|
* @param string $name Name
|
||||||
|
* @return StripeTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return PropalTest
|
* @param string $name Name
|
||||||
|
* @return SupplierProposalTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ class TargetTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return TargetTest
|
* @return TargetTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -57,7 +57,8 @@ class TicketTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return ContratTest
|
* @param string $name Name
|
||||||
|
* @return TicketTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return UserGroupTest
|
* @return UserGroupTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class UserTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return UserTest
|
* @return UserTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class UtilsTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
|
* @param string $name Name
|
||||||
* @return UserTest
|
* @return UserTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ class WebservicesInvoicesTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesInvoicesTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesOrdersTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ class WebservicesOtherTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesOtherTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,7 +66,8 @@ class WebservicesProductsTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesProductsTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,7 +66,8 @@ class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesThirdpartyTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ class WebservicesUserTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return DateLibTest
|
* @param string $name Name
|
||||||
|
* @return WebservicesUserTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -89,7 +89,8 @@ class WebsiteTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return SecurityTest
|
* @param string $name Name
|
||||||
|
* @return WebsiteTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ class XCalLibTest extends PHPUnit\Framework\TestCase
|
|||||||
* Constructor
|
* Constructor
|
||||||
* We save global variables into local variables
|
* We save global variables into local variables
|
||||||
*
|
*
|
||||||
* @return FilesLibTest
|
* @param string $name Name
|
||||||
|
* @return XCalLibTest
|
||||||
*/
|
*/
|
||||||
public function __construct($name = '')
|
public function __construct($name = '')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user