Commit Graph

18 Commits

Author SHA1 Message Date
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