summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb-test-attributes.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-09-08 15:36:16 +0200
committerXavier Morel <xmo@openerp.com>2014-10-06 19:13:40 +0200
commit9fe71a5d18a9d9f765ff0315951ec8a96e0de9d4 (patch)
tree9c4203f6b73641e7f030e41973120a9b13d97c39 /addons/web/static/lib/qweb/qweb-test-attributes.xml
parent8843974d048816a1e26f9624fc987f4dc2828009 (diff)
[IMP] update qweb-js tests
* latest qunit * template loading (handle async) * add format tests
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-attributes.xml')
-rw-r--r--addons/web/static/lib/qweb/qweb-test-attributes.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/web/static/lib/qweb/qweb-test-attributes.xml b/addons/web/static/lib/qweb/qweb-test-attributes.xml
index 91317d5194b..d0d22b179dc 100644
--- a/addons/web/static/lib/qweb/qweb-test-attributes.xml
+++ b/addons/web/static/lib/qweb/qweb-test-attributes.xml
@@ -19,4 +19,10 @@
<t t-name="format-value">
<div t-attf-foo="b#{value}r"/>
</t>
+ <t t-name="format-expression">
+ <div t-attf-foo="#{value + 37}"/>
+ </t>
+ <t t-name="format-multiple">
+ <div t-attf-foo="a #{value1} is #{value2} of #{value3} ]"/>
+ </t>
</templates>