Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)