Commit Graph

254 Commits

Author SHA1 Message Date
Laurent Destailleur
753434a545 Qual: More phpunit tests 2012-04-15 17:56:13 +02:00
Laurent Destailleur
49113b4ab8 I forgot image file 2012-04-02 09:47:35 +02:00
Laurent Destailleur
46251db167 Qual: Use a shared function to define logo heigth.
Qual: Add more phpunit tests
Fix: This also solve overlapping logos.
2012-04-01 23:57:15 +02:00
Laurent Destailleur
d8c975da3d More fields into import of products 2012-03-30 00:54:41 +02:00
Regis Houssin
7da4d7f072 Fix: phpunit test dol_json_* 2012-03-26 08:21:40 +02:00
Regis Houssin
d7d5681b4b Fix: avoid phpunit warning 2012-03-26 08:18:03 +02:00
Laurent Destailleur
693d0441b3 Fix: json emulated function now support utf8 char. 2012-03-25 14:25:32 +02:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
b6b33877a7 Fix: Better fix 2012-03-21 13:57:47 +01:00
Laurent Destailleur
89c906dde6 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-21 12:51:09 +01:00
Laurent Destailleur
ab6c1a5160 Qual: Add new PHPUnit test and fix bugs the test show me 2012-03-21 12:33:51 +01:00
Regis Houssin
b1f1c203fd Fix: return the good result value 2012-03-21 12:00:29 +01:00
Regis Houssin
14996257a2 Fix: try another method 2012-03-21 11:44:04 +01:00
Regis Houssin
0c62709a9c Fix: save and restore value of $this->id 2012-03-21 11:33:50 +01:00
Regis Houssin
0432609502 Fix: unset $this->id for good check test 2012-03-21 11:24:30 +01:00
Regis Houssin
0f3f822e3d Fix: add test 2012-03-21 11:06:53 +01:00
Regis Houssin
7508974cbb Fix: print log before the test 2012-03-21 10:45:50 +01:00
Regis Houssin
6734549436 Fix: use good function with good parameters 2012-03-21 10:38:13 +01:00
Regis Houssin
5dbb246db0 Fix: the expected value is the first parameter 2012-03-21 10:28:31 +01:00
Regis Houssin
e62424294a Fix: test if equals for stop on failure 2012-03-21 10:19:52 +01:00
Regis Houssin
22c232f82d Fix: move phpunit in first and stop if failure 2012-03-21 08:33:36 +01:00
Laurent Destailleur
845fe95128 Return specific code for duplicate 2012-03-20 13:51:50 +01:00
Regis Houssin
da4a29462e Fix: php unit test error 2012-03-17 08:50:09 +01:00
Laurent Destailleur
3f001e3938 Qual: More PHPUnit tests 2012-03-13 01:24:21 +01:00
Laurent Destailleur
aea97075f1 Fix: Fix some bugs (phpunit is now ok with pgsql too) 2012-03-11 21:45:17 +01:00
Laurent Destailleur
64d5c85880 Qual: Add more phpunit 2012-03-10 14:04:26 +01:00
Regis Houssin
0e0f8a3864 Fix: unit test error 2012-03-09 07:18:05 +01:00
Laurent Destailleur
70ea13a0f2 Add more phpunit tests 2012-03-08 19:38:58 +01:00
Laurent Destailleur
57c94c6736 Fix: chrome detection 2012-02-29 20:51:44 +01:00
Laurent Destailleur
55904f7f37 New: Test on browser version during install step.
Mutualize code to detect browser version.
2012-02-29 19:41:12 +01:00
Laurent Destailleur
6550ba53f6 More phpunit test 2012-02-29 11:48:03 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Laurent Destailleur
e699711b36 Fix: Add a test to be sure PHPunit tests are run with correct language. 2012-02-20 01:36:01 +01:00
Laurent Destailleur
f54573be12 Qual: Add more php unit tests 2012-02-19 23:12:48 +01:00
Laurent Destailleur
8d6655061e Qual: Full description of lines for ODT generation share same
function.
2012-02-19 21:08:17 +01:00
Laurent Destailleur
75bb0eddd7 Fix: Bad br. 2012-02-19 20:31:59 +01:00
Laurent Destailleur
fc62b1c9c7 Removed all checkstyle errors into phpunit files 2012-02-18 01:07:52 +01:00
Laurent Destailleur
9b3bab5ff9 Doxygen 2012-02-17 16:02:35 +01:00
Regis Houssin
c4750a8f9a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-17 09:58:13 +01:00
Regis Houssin
1ad98968dc Fix: add logs 2012-02-17 09:57:38 +01:00
Laurent Destailleur
881df18f0c Doxygen 2012-02-17 09:55:48 +01:00
Laurent Destailleur
6acf38b77c Qual: Add specific test for all prof id checks. 2012-02-17 09:43:26 +01:00
Regis Houssin
3abc0604cc Fix: add country code 2012-02-17 08:46:31 +01:00
Regis Houssin
2f1c0b76fc Fix: add specific logs 2012-02-17 08:33:00 +01:00
Laurent Destailleur
dd491a5197 Add more phpunit 2012-02-17 01:41:58 +01:00
Laurent Destailleur
1810189cda Doxygen 2012-02-15 13:41:05 +01:00
Laurent Destailleur
89b51eeeb2 Update test samples 2012-02-12 19:15:17 +01:00
Laurent Destailleur
447922c218 More phpunit tests 2012-02-12 18:30:50 +01:00
Laurent Destailleur
036e578e0f Move security function into security.lib.php
Split security.lib.php into 2 files: One always loaded, the other for
rare functions.
2012-02-12 17:41:28 +01:00
Laurent Destailleur
ffa767bb33 Qual: Add more PHPunit tests 2012-02-12 16:41:43 +01:00
Laurent Destailleur
4489eba5c6 Add samples for tests 2012-02-12 16:22:19 +01:00
Laurent Destailleur
842fb07d08 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-08 00:22:58 +01:00
Laurent Destailleur
104a4532b9 Fix: miscellaneous not initialized vars 2012-02-07 18:48:50 +01:00
Laurent Destailleur
55f6cdd495 Qual: Removed warnings 2012-02-07 10:25:58 +01:00
Laurent Destailleur
66ccb8c679 First change to prepare usage of native PHP functions for date instead 2012-02-06 05:31:19 +01:00
Laurent Destailleur
7b527e085d Add more test to prepare option for rounding lines 2012-02-06 00:07:48 +01:00
Laurent Destailleur
2093b3f0be New: Allow to use ODT templates for prososal like it's done for invoices 2012-02-05 19:37:52 +01:00
Laurent Destailleur
1574f4a795 Add more test to prepare option for rounding lines 2012-02-05 15:47:28 +01:00
Laurent Destailleur
866e8ac556 First change to prepare usage of native PHP functions for date instead
of adodb-time library.
2012-02-05 15:13:31 +01:00
Laurent Destailleur
b22dc4170c Fix: From must be escaped between " 2012-02-02 10:22:04 +01:00
Laurent Destailleur
ed4a0742c8 Add a test to be sure module is on 2012-01-31 00:51:52 +01:00
Laurent Destailleur
82db98ee1d [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-28 00:43:39 +01:00
Regis Houssin
114a1793a5 Fix: phpunit error 2012-01-24 07:05:06 +01:00
Regis Houssin
a51948c245 Fix: wrong name 2012-01-21 18:46:36 +01:00
Laurent Destailleur
70a67bc3f1 Qual: Move a not frequently used function out of functions.lib.php
Enhance PHPUnit tests
2012-01-21 14:10:22 +01:00
Laurent Destailleur
02b37d499c More PHPUnit 2012-01-20 19:39:58 +01:00
Regis Houssin
1714990769 Fix: bad file name 2012-01-20 16:28:16 +01:00
Laurent Destailleur
0340403c52 Add more phpunit tests 2012-01-20 10:08:16 +01:00
Laurent Destailleur
27568ad82f Try to uniformize this setup too. 2012-01-12 09:58:31 +01:00
Regis Houssin
d45a473d22 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	test/phpunit/PricesTest.php
2012-01-12 09:35:46 +01:00
Regis Houssin
d79c9dd17e Fix: add logs 2012-01-12 09:31:45 +01:00
Regis Houssin
84d1ef2a8f Fix: float to string 2012-01-12 09:10:49 +01:00
Regis Houssin
aa66a630e4 Fix: custom directories not in official repository but is used in
personnal phpunit test
2012-01-12 08:31:05 +01:00
Laurent Destailleur
a57295cc73 Qual: Add phpunit test before working on different rounding modes 2012-01-11 16:35:12 +01:00
Laurent Destailleur
c773e25c21 Add timeouts 2012-01-11 16:01:35 +01:00
Laurent Destailleur
4b1ac579f2 Try to unifromize config file. We will se if it's ok with jenkins. 2012-01-11 14:13:09 +01:00
Laurent Destailleur
6b8d4391ac Try to uniformize config files 2012-01-11 13:42:27 +01:00
Laurent Destailleur
db77b43f9c Add more phpunit tests 2012-01-11 13:07:02 +01:00
Regis Houssin
f3e5774469 Fix: uniform jenkins filename 2012-01-08 09:02:47 +01:00
Regis Houssin
f61ed34848 Fix: exclude all directory 2012-01-08 08:39:17 +01:00
Laurent Destailleur
ebf8a6eef4 artichow was used only for captcha generation so i replaced with
dolibarr code to allow to remove completely artichow (artichow project
is dead).
2012-01-07 23:31:25 +01:00
Laurent Destailleur
4c0d7378d3 Some change to prepare artichow removal 2012-01-07 21:32:35 +01:00
Laurent Destailleur
3f8d2cbef8 Qual: Remove checkstyle warnings 2012-01-04 21:23:50 +01:00
Laurent Destailleur
90b7cd1aae [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Move pdf and odt to doc dir
2012-01-04 02:04:55 +01:00
Regis Houssin
1e4141087e Fix: no status field in llx_socpeople 2012-01-02 10:02:17 +01:00
Regis Houssin
790f013ed2 Fix: debug phpunit 2012-01-02 09:25:32 +01:00
Regis Houssin
a02d07c969 Test to fix Jenkins phpunit error 2012-01-02 09:07:10 +01:00
Regis Houssin
a3a3db58e3 Fix: test phpunit error 2011-12-31 11:30:49 +01:00
Laurent Destailleur
e97078f6c1 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/contact/class/contact.class.php
	test/phpunit/ContactTest.php
	test/phpunit/SocieteTest.php
2011-12-30 14:22:17 +01:00
Laurent Destailleur
55156edd0d Enhance PHPUnits 2011-12-30 14:18:19 +01:00
Laurent Destailleur
4bf03a2d0e Enhance PHPUnits 2011-12-30 12:33:41 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
95a292f41b Fix: Update licence files 2011-12-17 21:58:44 +01:00
Laurent Destailleur
f48348cade More PHPUnit tests 2011-12-17 16:53:36 +01:00
Laurent Destailleur
1aa75b847b New: dol_trunc has an option to make "exact" truncation (without adding
... if truncation is done).
2011-12-17 16:44:48 +01:00
Laurent Destailleur
6dd126749f Qual: enhance PHPUnit tests 2011-12-12 17:10:09 +01:00
Grand Philippe
057e573aa6 fix: tree was changed for class ModelePdfExpedition 2011-12-08 11:17:11 +01:00
Laurent Destailleur
1f37dc906f Qual: Uniformize name of barcode into "barcode". 2011-12-07 11:59:41 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Laurent Destailleur
7f3c336b7b Clean invoice class and enhance phpunit tests 2011-12-03 15:12:18 +01:00