Commit Graph

48 Commits

Author SHA1 Message Date
Antony Lesuisse 1f67b2165c [IMP] phantomtest helper
bzr revid: al@openerp.com-20140209223917-vruzjvl0mtsqoo87
2014-02-09 23:39:17 +01:00
Antony Lesuisse e6ac29ee43 [IMP] move test cases to tests.py remove deprecated wsgi import
bzr revid: al@openerp.com-20140209151822-cgk0wibqe1kfd42w
2014-02-09 16:18:22 +01:00
Antony Lesuisse 82372e6a02 move tests
move test modules
remove xml test
add phantomjs test
readd remove uninstall test (currently disabled because of cr.commit)

bzr revid: al@openerp.com-20140209003745-ehrx8ikwkmusa644
2014-02-09 01:37:45 +01:00
Fabien Pinckaers 849125efd2 [FIX] removing test that commits and small fix
bzr revid: fp@tinyerp.com-20140131002701-4eaggu8tszph4vl5
2014-01-31 01:27:01 +01:00
Xavier Morel 2837c1dc27 [ADD] composition function utility
bzr revid: xmo@openerp.com-20130925145205-vumu9cgr5kob0900
2013-09-25 16:52:05 +02:00
Xavier Morel c36bd85c27 [REM] automagic tag creation in t-field rendering
bzr revid: xmo@openerp.com-20130925121028-s1i1628vt7rtopzn
2013-09-25 14:10:28 +02:00
Xavier Morel 2e8c9a48e1 [IMP] move testing of xml conversion alongside test data to ensure tests only run if module on addons_path/loaded
bzr revid: xmo@openerp.com-20130429122317-yzv4prie9hc7f7l6
2013-04-29 14:23:17 +02:00
Xavier Morel 45bb6ec7f1 [ADD] file field type in xml_convert, tests
bzr revid: xmo@openerp.com-20130429112459-ol1ayn2z34j32r54
2013-04-29 13:24:59 +02:00
Xavier Morel 4923d1b82d [MOVE] ir.ui.view tests inside base tests
bzr revid: xmo@openerp.com-20130424154310-vdygcckrz6jm578p
2013-04-24 17:43:10 +02:00
Xavier Morel c9a6e74bf4 [IMP] add tests for locate_node
bzr revid: xmo@openerp.com-20130422091014-qbd4jun4n9u4402x
2013-04-22 11:10:14 +02:00
Vo Minh Thu ff31ff5ca9 [REF] tests: removed the temporary import for test_xmlrpc.
bzr revid: vmt@openerp.com-20130201161553-0cqsnv9l7962wwls
2013-02-01 17:15:53 +01:00
Vo Minh Thu 19b0315f68 [REF] model service: removed the unneeded object_service class.
bzr revid: vmt@openerp.com-20130130113646-pviw5d6gnohk7wrb
2013-01-30 12:36:46 +01:00
Antony Lesuisse 549c011893 [MERGE] turnk
bzr revid: al@openerp.com-20121220020708-ioiaoz58ncgw5wg7
2012-12-20 03:07:08 +01:00
Antony Lesuisse 9568552636 revert test change will be moved to an other branch
bzr revid: al@openerp.com-20121216193932-foluon7b5bqqvrib
2012-12-16 20:39:32 +01:00
Antony Lesuisse 70aa2c995a filestore testcase and fix bugs
bzr revid: al@openerp.com-20121216190317-xoz0jij2cfk0c2zk
2012-12-16 20:03:17 +01:00
Antony Lesuisse 2569587c90 Simplify openerp testing, deprecated redondant test declaration, we feed all
tests.* modules to unittest2.TestLoader.loadTestsFromModule(module)

bzr revid: al@openerp.com-20121216173856-euntlfi80uzutkp0
2012-12-16 18:38:56 +01:00
Vo Minh Thu 055f46f290 [IMP] tests: add test_acl to the openerp.tests suite.
bzr revid: vmt@openerp.com-20121211122844-6y060gex2lbq76hp
2012-12-11 13:28:44 +01:00
Thibault Delavallée efc6e78d25 [IMP] [MOV] Moved test_osv and test_translate from unchecked test directory to tests, to be now effectively run. Updated test_osv to matche the new alias coding style.
bzr revid: tde@openerp.com-20121207142931-6ll5yduitdk3ijes
2012-12-07 15:29:31 +01:00
Thibault Delavallée d52fdd0ab3 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112160536-63tx1u3c6yr2u8x9
2012-11-12 17:05:36 +01:00
Xavier Morel 59301c655f [MERGE] from server
bzr revid: xmo@openerp.com-20121107111011-9q0c8kbuype5a8l6
2012-11-07 12:10:11 +01:00
Thibault Delavallée 207675a174 [REN] html_sanitize -> mail, to have a central file for methods about mail (html sanitizing, html management, emails related functions, ...).
bzr revid: tde@openerp.com-20121106115420-1h8mvzohol9zjysa
2012-11-06 12:54:20 +01:00
Raphael Collet 401dd57f30 [MERGE] from trunk
bzr revid: rco@openerp.com-20121105083756-jdr9fxp32djpifqk
2012-11-05 09:37:56 +01:00
Olivier Dony 43513d7ccc [ADD] tests.common: added testcase for ref() and browse_ref(), renaming existing test file to make it more generic
bzr revid: odo@openerp.com-20121031152011-gyih3j9itbgfauwv
2012-10-31 16:20:11 +01:00
Raphael Collet ba9a47a771 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029155310-14mmqsq7sjrwi4bt
2012-10-29 16:53:10 +01:00
Raphael Collet 42f0962f99 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029153047-sd8i97sfkdy1wcb1
2012-10-29 16:30:47 +01:00
Vo Minh Thu 3ffc363cd2 [IMP] tests: added a whole-class setup/teardown base class to tests/common.
bzr revid: vmt@openerp.com-20121029142302-ug3phcx3c26cxd91
2012-10-29 15:23:02 +01:00
Raphael Collet ae0a437aa6 [FIX] tests: add missing test
bzr revid: rco@openerp.com-20121015101849-hf7pyxjzkbxd4tgf
2012-10-15 12:18:49 +02:00
Olivier Dony efa0f9b263 [IMP] html_sanitize: attempt to make slightly more pythonic/readable + re-enable test. Proper review + test still needed.
bzr revid: odo@openerp.com-20120905225746-npjjzy1w00k05vtc
2012-09-06 00:57:46 +02:00
Olivier Dony 8e96d71bf3 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20120905072646-m4269m97ej1oicoq
bzr revid: odo@openerp.com-20120905220158-ulg8jy5alny97ff3
2012-09-06 00:01:58 +02:00
niv-openerp 29a9316566 [REVERT] 4394, because Thu is stupid
bzr revid: nicolas.vanhoren@openerp.com-20120905145703-7t8uiyqur0l16n2b
2012-09-05 16:57:03 +02:00
Olivier Dony d37745559e [ADD] tools.misc: new function append_to_html, can be used to inject blocks (html or plaintext) to existing HTML snippets
bzr revid: odo@openerp.com-20120831132337-of2p1wlh5l4lpvez
2012-08-31 15:23:37 +02:00
Vo Minh Thu ae4852f597 [IMP] html_sanitize: remove dependency on pyquery.
Relying on pyquery is unnecessary (using etree alone is enough). This patch
reimplements the html_sanitize() function without pyquery. The new
implementation still goes through the provided test suite with success.

bzr revid: vmt@openerp.com-20120816104540-9374llhzde54h2vz
2012-08-16 12:45:40 +02:00
Vo Minh Thu 7a0abed231 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813142443-73d6zm10bqhm17mp
2012-08-13 16:24:43 +02:00
Vo Minh Thu 00d2d2fe05 [IMP] impex tests: moved test cases and models in their own test module.
bzr revid: vmt@openerp.com-20120807143744-zsbwktjmy5d79jki
2012-08-07 16:37:44 +02:00
Vo Minh Thu 66d054471c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120806102630-psx2mywo3w5da81i
2012-08-06 12:26:30 +02:00
Xavier Morel 64910eaeba [ADD] boolean field import tests
bzr revid: xmo@openerp.com-20120730111105-k6q8xop0ru71l0dj
2012-07-30 13:11:05 +02:00
Xavier Morel fc36345ca0 [ADD] test cases for export of simple fields
bzr revid: xmo@openerp.com-20120723150306-6zgtr9ho0d3ud78u
2012-07-23 17:03:06 +02:00
Vo Minh Thu 2666ab3fe0 [IMP] ir.ui.view: Added assertion-based checks.
bzr revid: vmt@openerp.com-20120622131004-stn7tf68xph3f278
2012-06-22 15:10:04 +02:00
Vo Minh Thu fa4c2a40c0 [IMP] uninstall: moving tests to the openerp test framework (i.e. under openerp/tests/).
bzr revid: vmt@openerp.com-20120604104404-zibru6794ma1996x
2012-06-04 12:44:04 +02:00
Xavier Morel 33e585a607 [TEST] (ir.filters).get_filters
bzr revid: xmo@openerp.com-20120522110031-pddbryncp07dwfjk
2012-05-22 13:00:31 +02:00
Raphael Collet 82f492bc2c [FIX] related fields: fix and simplify search (was wrong with a single indirection)
bzr revid: rco@openerp.com-20120309152938-n467ap8hnw406rau
2012-03-09 16:29:38 +01:00
Vo Minh Thu 6323111950 [IMP] tests:
- moved a few YAML tests to unittest2 for demonstration purpose
- changed --test-disable to --test-enable (and swapped its meaning)

bzr revid: vmt@openerp.com-20120301134608-szuktuj8imdhmn0r
2012-03-01 14:46:08 +01:00
Vo Minh Thu d85da03314 [IMP] tests: xml-rpc test drops the created database (which has its own name, not clashing with the main db name).
bzr revid: vmt@openerp.com-20120301105419-8ik3z5eikwjnackk
2012-03-01 11:54:19 +01:00
Vo Minh Thu d709d602d8 [ADD] FEATURES.rst: whenever a feature branch is reviewed (but normally also when it is started),
the description of the implented features must be provided, so
here they are.

bzr revid: vmt@openerp.com-20120228112418-r8tjx3o6xc2cbaej
2012-02-28 12:24:18 +01:00
Vo Minh Thu ed71ad0946 [FIX] tests: `core` is really `common`. Also added some comments
and a second test suite variable for sanity checks. The comments will
later be changed to point to some documentation instead.

bzr revid: vmt@openerp.com-20120217150049-in1lmo24qay8ulmh
2012-02-17 16:00:49 +01:00
Vo Minh Thu 1cf8f5680a [IMP] tests: expose an explicit list of test sub-modules.
bzr revid: vmt@openerp.com-20120213162058-e7u9jap679z4hep5
2012-02-13 17:20:58 +01:00
Vo Minh Thu ee988a8955 [IMP] tests: export all the tests in a single suite.
bzr revid: vmt@openerp.com-20120201164404-yvnf30okqyj69sfy
2012-02-01 17:44:04 +01:00
Vo Minh Thu 43745c4cb9 [IMP] tests: moved tests into openerp.tests, expose test suites.
bzr revid: vmt@openerp.com-20111201140012-y9kmto0le0ugxdzf
2011-12-01 15:00:12 +01:00