Géry Debongnie
b960f8ad52
[REF] web: update test suite to new module system
...
The test suite needs to be adapted to the modules. Also, the update
of qunit changes the API, so the tests needs to be changed as well.
2015-03-18 09:01:50 +01:00
Fabien Meghazi
a29c44be31
[FIX] python strftime to moment.js format conversion
2014-11-05 15:28:00 +01:00
Cedric Snauwaert
a878de477f
[FIX] web: fix remarks from pr
2014-11-05 15:27:59 +01:00
Cedric Snauwaert
a8d9743c0c
[FIX] web: fix tests on date parsing
2014-11-05 15:27:59 +01:00
Cedric Snauwaert
ef886aed2f
[FIX] web: remove datejs and replace by momentjs
2014-11-05 15:27:59 +01:00
niv-openerp
2e6d38f068
[IMP] Moved the date formatting functions in openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130808134520-v0n2b29vuffstyu0
2013-08-08 15:45:20 +02:00
niv-openerp
c63a86c593
[IMP] Merged corelib.js and coresetup.js into core.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130806122623-pq6bpkjk65jx0fnp
2013-08-06 14:26:23 +02:00
niv-openerp
38bc6817d6
Fixed problem with parsing functions tests that created side effects
...
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00
niv-openerp
17ba69eb52
Applied jshint on test files and corrected errors
...
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890
2013-07-25 13:24:16 +02:00
Anand Patel (OpenERP)
be9f4b43b7
[IMP] Added some test cases for the float_time
...
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
Xavier Morel
a130035409
[IMP] port basic/existing tests to new framework, apart from editor stuff
...
bzr revid: xmo@openerp.com-20121026092144-0arxx2v9oi28e3d6
2012-10-26 11:21:44 +02:00
Xavier Morel
e7ab44929f
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20120419081213-m3fhofkgydj6gp1m
2012-04-19 10:12:13 +02:00
Xavier Morel
a01c57c31f
[FIX] handling of date and time formats with bare/literal characters
...
lp bug: https://launchpad.net/bugs/932448 fixed
bzr revid: xmo@openerp.com-20120215153237-4q1y6snebxk6sheh
2012-02-15 16:32:37 +01:00
Xavier Morel
9cc531505f
[FIX] formatting of float_time fields
...
lp bug: https://launchpad.net/bugs/928220 fixed
bzr revid: xmo@openerp.com-20120208135655-79qnr5tl6admxr1e
2012-02-08 14:56:55 +01:00
niv-openerp
7760df3d44
[fix] problem with date and time parsing
...
bzr revid: nicolas.vanhoren@openerp.com-20120126152822-z98udmqoj1qc9cx6
2012-01-26 16:28:22 +01:00
Xavier Morel
a23e7f362c
[ADD] test edge cases for formatting float_time using Lorenzo Battistini's test cases
...
bzr revid: xmo@openerp.com-20120113092246-0dmh2khwj2748apo
2012-01-13 10:22:46 +01:00
Xavier Morel
5882ba65e3
[FIX] correctly format group header values
...
lp bug: https://launchpad.net/bugs/902302 fixed
bzr revid: xmo@openerp.com-20111212131534-z1a7c35c43u85c5g
2011-12-12 14:15:34 +01:00
Xavier Morel
53f60f0dea
[FIX] parsing of UTC datetime data from server
...
lp bug: https://launchpad.net/bugs/902439 fixed
bzr revid: xmo@openerp.com-20111212123557-4bfqmgjnpkv0nsha
2011-12-12 13:35:57 +01:00
Xavier Morel
5f9c91621b
[IMP] add some tests to format's intersperse (from corresponding server tests)
...
bzr revid: xmo@openerp.com-20111130100347-8jd8nugnjgtj12oj
2011-11-30 11:03:47 +01:00
Xavier Morel
90dfdbaf6a
[FIX] Add tests for parsing integers and floats, fix parsing of floats in case user locale defines thousand separator as the dot
...
lp bug: https://launchpad.net/bugs/893575 fixed
bzr revid: xmo@openerp.com-20111129095958-966ikmsgf6zwamdh
2011-11-29 10:59:58 +01:00
Xavier Morel
76a02ead76
[FIX] support 'thousands' separator for floats
...
lp bug: https://launchpad.net/bugs/886471 fixed
bzr revid: xmo@openerp.com-20111114155332-3on98ot7o808z0gi
2011-11-14 16:53:32 +01:00
Xavier Morel
42c7cb86d9
[FIX] support 'thousands' separator for integers
...
lp bug: https://launchpad.net/bugs/886471 fixed
bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14 16:45:10 +01:00
Xavier Morel
4aafc01a3c
[ADD] function to insert 'thousands' separators
...
bzr revid: xmo@openerp.com-20111114153436-pj6vq6lamfrjpg7f
2011-11-14 16:34:36 +01:00
Xavier Morel
7094859be3
[REM] can't be arsed to fix the broken date and time parsing tests
...
bzr revid: xmo@openerp.com-20111114144120-2rctezb1x63fytnr
2011-11-14 15:41:20 +01:00
Xavier Morel
9d4602fcb8
[FIX] unfuck formatting of negative floats
...
bzr revid: xmo@openerp.com-20111027125448-3wkk61xpt8uwjgt1
2011-10-27 14:54:48 +02:00
Xavier Morel
01897c8aa6
[FIX] completely broken float formatting when leading 0
...
Formatting converted the decimal part into an integer, dropping all
leading 0s and failing to reinsert them.
The conversion also lead to compounded errors, casting 0.1100 into
0.10999 (something like that).
Replace this by a straight float formatting via _.sprintf and the
slicing of the decimal part from the resulting string (Math.abs and %1
clamp the value to format to the [0, 1[ range, ensuring we just need
to slice off the first two characters). Also add some tests.
lp bug: https://launchpad.net/bugs/879355 fixed
bzr revid: xmo@openerp.com-20111021120741-813im5bzup7vho1f
2011-10-21 14:07:41 +02:00
Xavier Morel
4da3e5d354
[FIX] tests runner: changed file names
...
bzr revid: xmo@openerp.com-20111021115018-0qbmhwhcjmckco0w
2011-10-21 13:50:18 +02:00
Antony Lesuisse
bedfc48dcf
rename base into web part1
...
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00