Laurent Destailleur
f1f7ff315f
Fix: CRLF
2013-01-16 15:54:07 +01:00
Laurent Destailleur
d11cee399a
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
COPYRIGHT
htdocs/core/tpl/freeproductline_create.tpl.php
htdocs/core/tpl/predefinedproductline_create.tpl.php
htdocs/install/mysql/tables/llx_c_availability.sql
2013-01-16 15:45:17 +01:00
Laurent Destailleur
8d206fdfb0
Prepare move to other licence. For the moment all answers for licence
...
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Regis Houssin
cf12815ca9
Fix: phpunit error
2013-01-14 09:39:35 +01:00
Marcos García
aff96e5050
Added test for functions fetch_login and resiliate
2013-01-12 14:14:36 +01:00
Marcos García
729a8017c3
Added test for Adherent class functions setUserId and setThirdPartyId
2013-01-11 17:13:37 +01:00
Marcos García
88fdfec0eb
Improved AdherentTest and added testAdherentMakeSubstitution
2013-01-10 12:26:02 +01:00
Regis Houssin
b838895db9
Fix: change for a neutral email
2012-12-30 15:13:49 +01:00
Regis Houssin
5740c7e694
Fix: change for a neutral email
2012-12-30 15:11:07 +01:00
Laurent Destailleur
ca6e9643ea
Fix: Pb in json function for objects
2012-12-29 12:21:13 +01:00
Grand Philippe
8b5262cd82
fix
2012-12-10 11:28:39 +01:00
Grand Philippe
a91a96e72e
merge
2012-12-10 10:02:13 +01:00
Laurent Destailleur
88ffda4bfb
Qual: Enhance quality controls for 3.3
2012-12-10 02:00:21 +01:00
Laurent Destailleur
5d27fd61df
Beautify instal pg.
...
Fix: Debian package
Restore PHPUnit test (A PHP Unit test that fails should not be removed
but fixed and be kept in error until fix is published. Otherwise,
PHPUnit are useless).
Conflicts:
htdocs/install/fileconf.php
htdocs/install/inc.php
2012-12-05 00:45:10 +01:00
Laurent Destailleur
bbeab3e098
A PHPUnit test was successfull must never be removed. Creating
...
such test is useless if we removed them when they report error. When an
error is reported, the PHPUnit error must be kept until the code is
fixed (regression) or until the test is fixed (if code has changed
in a not compatible way, should be rare). But test must not be
removed. The error must be reported until fixed.
2012-12-03 20:26:27 +01:00
Regis Houssin
b5d4a16f1b
FIXME shiittttt
2012-12-03 11:24:30 +01:00
Regis Houssin
c0fba8262f
FIXME pending correction of the "addline" method
2012-12-03 11:20:03 +01:00
Regis Houssin
0c142594be
Fix: try invert test
2012-12-03 11:14:36 +01:00
Regis Houssin
0a72aeca88
Fix: avoid phpunit error if supplier price not exist
2012-12-03 11:06:39 +01:00
Laurent Destailleur
8f0b548714
Debug export filters. Seems to be enougth stable so it is now enabled by
...
default.
2012-11-20 15:56:44 +01:00
Laurent Destailleur
7c78e1c0f6
Doxygen and normalize code.
...
New: add more PHPUnit
2012-11-15 14:52:19 +01:00
Laurent Destailleur
7d5c4a3b38
Fix: Fix upgrade
...
New: Update dump file
Qual: Add label for PHPUnit tests
2012-11-11 14:34:55 +01:00
Laurent Destailleur
831fe6a29e
Fix: More fix about the new localtax system
2012-11-06 23:45:16 +01:00
Laurent Destailleur
f37c559235
Fix: regression
2012-11-06 19:23:23 +01:00
Laurent Destailleur
058325b7f2
Revert "Fix: avoid phpunit error"
...
This reverts commit 05b359fbff .
2012-11-06 12:48:58 +01:00
Regis Houssin
05b359fbff
Fix: avoid phpunit error
2012-11-04 10:09:03 +01:00
Laurent Destailleur
066bcbb469
Qual: Add dol_format_address PHPUnit tests
2012-10-31 01:45:48 +01:00
Regis Houssin
d4ec7581ac
Fix: best practice if result >= 0
...
assertGreaterThanOrEqual(expected, result)
2012-10-28 13:44:52 +01:00
Regis Houssin
d6a3b76270
Fix: regression
2012-10-28 13:37:09 +01:00
Regis Houssin
6b06b37116
Fix: remove filtered export test for the moment
2012-10-28 13:23:46 +01:00
Regis Houssin
75587b3a15
Fix: wrong delete invoice test
2012-10-28 13:18:15 +01:00
Regis Houssin
c48b91c182
Fix: remove $sql request for test filter
2012-10-28 13:10:01 +01:00
Regis Houssin
2119179226
Fix: field "amount" is obsolete
2012-10-28 12:23:58 +01:00
Regis Houssin
094c062cbd
Fix: regression and syntax error
2012-10-28 11:11:45 +01:00
Regis Houssin
fe223e2001
Fix: try the process isolation
2012-10-28 11:02:22 +01:00
Regis Houssin
31ff042e10
Fix: wrong syntax
2012-10-28 10:55:26 +01:00
Regis Houssin
bc2280e4ab
Fix: avoid phpunit warning
2012-10-26 09:12:19 +02:00
Laurent Destailleur
043e5edc2c
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2012-09-24 21:37:36 +02:00
Laurent Destailleur
7d83fdce5b
Fix: Several fixes into date functions
...
Qual: Add PHPUnit tests
2012-09-24 21:37:19 +02:00
Laurent Destailleur
e6d91a3e50
The phpunit test is correct. What's wrong is
...
inside dolibarr code (Really dont know why it fails with 1900. It
looks like a year 2000 bug). Let's try with 1915 and 1916
2012-09-24 18:56:28 +02:00
Regis Houssin
c268a62cab
Fix: try to disable 1900 test
2012-09-24 09:30:37 +02:00
Laurent Destailleur
9175d91bc0
Doxygen
2012-09-23 17:11:01 +02:00
Laurent Destailleur
7fac6b65f6
Fix: Fix for compatibility with previous version and for case "@=".
...
Qual: Add a lot of phpunit tests to validate all get_next_value()
cases.
2012-09-23 16:25:08 +02:00
Laurent Destailleur
d1cfe2ec54
Fix: Bug when metafile is on
2012-09-19 13:30:59 +02:00
Laurent Destailleur
1347ecf14e
Qual: Removed warnings
2012-09-19 12:49:58 +02:00
Laurent Destailleur
ef00d592e7
Fix: Backward compatibility with spain.
2012-09-11 01:42:50 +02:00
Laurent Destailleur
e68f861923
New: Add more test and enhancement to make new calcul_price function
...
more reliable. We need to add more PHPUnit test case on this function
(testcase using localtax1 and localtax2).
2012-09-11 01:09:34 +02:00
Laurent Destailleur
0dfc9e59fe
New: Creation of meta file works for all elements. Disabled by default.
2012-09-07 10:30:02 +02:00
Laurent Destailleur
055bb7a9b8
Fix: Restore correct includes.
...
All entry pages must start with a require main.inc.php, except command
line script that start with master.inc.php.
To avoid errors into jenkins, we must exclude file common.inc.php.
All files ending *.inc.php must be excluded from jenkins because such
files are not "start/entry pages". That's the difference with
standard files *.php.
*.php
2012-09-06 10:39:25 +02:00
Regis Houssin
8787a703a0
Fix: remove old tests
2012-09-06 08:06:48 +02:00
Regis Houssin
3e5e301725
Fix: remove deleted files from phpunit test
2012-09-05 07:48:17 +02:00
Laurent Destailleur
816e317dd2
Fix into categorie functions
2012-08-05 23:58:42 +02:00
Laurent Destailleur
895b491d84
Uniformize files
2012-08-05 14:06:09 +02:00
Laurent Destailleur
386a1dcb55
More phpunit tests
2012-08-05 13:07:17 +02:00
Marcos García
5a73c32f46
Migrated ClassName to __construct() function
...
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
a429a930d0
Fix: Uniformize code and PHPUnit tests
2012-07-29 20:07:03 +02:00
Laurent Destailleur
b40c0a5d86
Fix: Check conditions to run test
2012-07-29 19:40:20 +02:00
Regis Houssin
3bfd9182e0
Fix: uniformize code
2012-07-06 13:43:59 +02:00
Regis Houssin
6f1651309e
Fix: global converting lines delimiter
2012-07-02 19:30:37 +02:00
Laurent Destailleur
018cafe92c
Fix: Add an unsecape function to decode javascript escape
...
encoding. This also fix ecm for cyrillic chars.
2012-06-24 19:32:19 +02:00
Regis Houssin
d061025955
Fix: rename and include unit test
2012-06-20 22:19:03 +02:00
Laurent Destailleur
c273f9f698
Fix: escape double quotes into dol_html_escapetag
...
New: Passwords not reset into install page.
2012-06-17 23:27:17 +02:00
Laurent Destailleur
d20aa0f4a2
Qual: More phpunit tests
2012-06-15 00:15:59 +02:00
Laurent Destailleur
90fd8abddf
Qual: More phpunit tests
2012-06-14 20:16:40 +02:00
Laurent Destailleur
a9d5109d3d
Qual: More phpunit tests
2012-06-14 20:15:50 +02:00
Regis Houssin
af38a2fab7
Fix: bad parameters, use global
2012-06-10 10:29:43 +02:00
Laurent Destailleur
b0c1fa5b4f
Fix: Pgsql
2012-05-15 01:52:46 +02:00
Laurent Destailleur
4a9baa590c
Fix: Bad timezone function. Daylight was not used.
2012-05-14 16:46:48 +02:00
Laurent Destailleur
70f7cd8232
Fix: missing include
2012-05-14 14:06:27 +02:00
Laurent Destailleur
acef702c27
Fix: pgsql compatibility not complete.
...
New: Move convert sql functions as static.
New: Add phpunit tests for database drivers.
2012-05-13 14:30:11 +02:00
Laurent Destailleur
8abacfaf35
Fix: Bad phpunit test
2012-05-13 14:26:25 +02:00
Laurent Destailleur
5499c91712
New: Monaco is like France for default vat calculation
...
Qual: More phpunit tests
2012-04-29 11:42:30 +02:00
Laurent Destailleur
7977897fd8
Fix: dol_uncompress function now works with all PHP and OS. Use PHP
...
native code. Only zip is supported. This is enough, modules must be zip
and only zip (tgz not more allowed).
2012-04-28 18:21:51 +02:00
Regis Houssin
e6a89633ae
Fix: disable core test for avoid this message: Click here to finish
...
Dolibarr install process
2012-04-16 09:32:23 +02:00
Regis Houssin
00bcbd45d1
Try to fix phpunit error
2012-04-16 09:22:39 +02:00
Regis Houssin
b0b3ce826f
Fix: wrong file name
2012-04-16 09:04:07 +02:00
Laurent Destailleur
9a70541084
Fix: Missing migration field
...
Fix: Date must be quoted
2012-04-15 18:41:38 +02:00
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