diff --git a/.tx/config b/.tx/config index 989a71b6cd9..53aceb471dd 100644 --- a/.tx/config +++ b/.tx/config @@ -1111,8 +1111,3 @@ source_lang = en file_filter = addons/web_tests/i18n/.po source_file = addons/web_tests/i18n/web_tests.pot source_lang = en - -[odoo-9.web_tests_demo] -file_filter = addons/web_tests_demo/i18n/.po -source_file = addons/web_tests_demo/i18n/web_tests_demo.pot -source_lang = en diff --git a/addons/web_tests_demo/__init__.py b/addons/web_tests_demo/__init__.py deleted file mode 100644 index f94714ad9fe..00000000000 --- a/addons/web_tests_demo/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -from openerp.osv import orm, fields - -class TestObject(orm.TransientModel): - _name = 'web_tests_demo.model' - - _columns = { - 'name': fields.char("Name", required=True), - 'thing': fields.char("Thing"), - 'other': fields.char("Other", required=True) - } - _defaults = { - 'other': "bob" - } diff --git a/addons/web_tests_demo/__openerp__.py b/addons/web_tests_demo/__openerp__.py deleted file mode 100644 index e753d2f5e5e..00000000000 --- a/addons/web_tests_demo/__openerp__.py +++ /dev/null @@ -1,15 +0,0 @@ -{ - 'name': "Demonstration of web/javascript tests", - 'category': 'Hidden', - 'description': """ -OpenERP Web demo of a test suite -================================ - -Test suite example, same code as that used in the testing documentation. - """, - 'depends': ['web'], - 'data' : [ - 'views/web_tests_demo.xml', - ], - 'qweb': ['static/src/xml/demo.xml'], -} diff --git a/addons/web_tests_demo/i18n/de.po b/addons/web_tests_demo/i18n/de.po deleted file mode 100644 index b72b0eb140e..00000000000 --- a/addons/web_tests_demo/i18n/de.po +++ /dev/null @@ -1,58 +0,0 @@ -# German translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-08-18 20:05+0000\n" -"Last-Translator: Ralf Hilgenstock \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-08-19 07:07+0000\n" -"X-Generator: Launchpad (build 17156)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Angelegt von" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Angelegt am" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Zuletzt aktualisiert durch" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Zuletzt aktualisiert am" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Name" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Andere" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Sache" diff --git a/addons/web_tests_demo/i18n/en_GB.po b/addons/web_tests_demo/i18n/en_GB.po deleted file mode 100644 index 25e9dda938d..00000000000 --- a/addons/web_tests_demo/i18n/en_GB.po +++ /dev/null @@ -1,58 +0,0 @@ -# English (United Kingdom) translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-09-02 15:09+0000\n" -"Last-Translator: Anthony Harrington \n" -"Language-Team: English (United Kingdom) \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-03 07:30+0000\n" -"X-Generator: Launchpad (build 17196)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Created by" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Created on" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Last Updated by" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Last Updated on" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Name" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Other" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Thing" diff --git a/addons/web_tests_demo/i18n/es.po b/addons/web_tests_demo/i18n/es.po deleted file mode 100644 index 38f0246823d..00000000000 --- a/addons/web_tests_demo/i18n/es.po +++ /dev/null @@ -1,58 +0,0 @@ -# Spanish translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-08-15 07:19+0000\n" -"Last-Translator: Pedro Manuel Baeza \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-08-16 06:57+0000\n" -"X-Generator: Launchpad (build 17156)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Creado por" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Creado en" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Última actualización de" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Última actualización en" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Nombre" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Otro" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Cosa" diff --git a/addons/web_tests_demo/i18n/hu.po b/addons/web_tests_demo/i18n/hu.po deleted file mode 100644 index 326e5745280..00000000000 --- a/addons/web_tests_demo/i18n/hu.po +++ /dev/null @@ -1,58 +0,0 @@ -# Hungarian translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-09-04 09:17+0000\n" -"Last-Translator: krnkris \n" -"Language-Team: Hungarian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-05 01:13+0000\n" -"X-Generator: Launchpad (build 17196)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Készítette" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Létrehozás dátuma" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "Azonosító ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Utoljára frissítve, által" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Utoljára frissítve ekkor" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Név" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Egyéb" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Ügy" diff --git a/addons/web_tests_demo/i18n/nl.po b/addons/web_tests_demo/i18n/nl.po deleted file mode 100644 index cb62845f104..00000000000 --- a/addons/web_tests_demo/i18n/nl.po +++ /dev/null @@ -1,58 +0,0 @@ -# Dutch translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-08-14 19:30+0000\n" -"Last-Translator: Mario Gielissen (Openworx) \n" -"Language-Team: Dutch \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-08-15 08:24+0000\n" -"X-Generator: Launchpad (build 17156)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Aangemaakt door" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Aangemaakt op" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Laatst bijgewerkt door" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Laatst bijgewerkt op" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Naam" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Overige" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Ding" diff --git a/addons/web_tests_demo/i18n/pt.po b/addons/web_tests_demo/i18n/pt.po deleted file mode 100644 index 16811d73274..00000000000 --- a/addons/web_tests_demo/i18n/pt.po +++ /dev/null @@ -1,58 +0,0 @@ -# Portuguese translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-09-16 13:43+0000\n" -"Last-Translator: Opencloud - PT \n" -"Language-Team: Portuguese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-09-17 08:29+0000\n" -"X-Generator: Launchpad (build 17196)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Criada por" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Criado em" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Última Actualização por" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Última Actualização em" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Nome" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Outro" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Coisa" diff --git a/addons/web_tests_demo/i18n/pt_BR.po b/addons/web_tests_demo/i18n/pt_BR.po deleted file mode 100644 index 8231c04899c..00000000000 --- a/addons/web_tests_demo/i18n/pt_BR.po +++ /dev/null @@ -1,59 +0,0 @@ -# Brazilian Portuguese translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-08-30 00:30+0000\n" -"Last-Translator: Fábio Martinelli - http://zupy.com.br " -"\n" -"Language-Team: Brazilian Portuguese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-08-30 08:40+0000\n" -"X-Generator: Launchpad (build 17176)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Criado por" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Criado em" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Última atualização por" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Última atualização em" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Nome" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Outro" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Item" diff --git a/addons/web_tests_demo/i18n/ro.po b/addons/web_tests_demo/i18n/ro.po deleted file mode 100644 index 2728145cbb2..00000000000 --- a/addons/web_tests_demo/i18n/ro.po +++ /dev/null @@ -1,58 +0,0 @@ -# Romanian translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-10-23 17:05+0000\n" -"Last-Translator: Dorin \n" -"Language-Team: Romanian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-10-24 07:08+0000\n" -"X-Generator: Launchpad (build 17203)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Creat de" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Creat la" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Ultima actualizare făcută de" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Ultima actualizare în" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Nume" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Altul" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Lucru" diff --git a/addons/web_tests_demo/i18n/tr.po b/addons/web_tests_demo/i18n/tr.po deleted file mode 100644 index e74806b71be..00000000000 --- a/addons/web_tests_demo/i18n/tr.po +++ /dev/null @@ -1,58 +0,0 @@ -# Turkish translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-10-03 17:18+0000\n" -"Last-Translator: Ayhan KIZILTAN \n" -"Language-Team: Turkish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-10-04 06:51+0000\n" -"X-Generator: Launchpad (build 17196)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "Oluşturan" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "Oluşturma" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "Son Güncelleyen" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "Son Güncelleme" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "Adı" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "Diğer" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "Şey" diff --git a/addons/web_tests_demo/i18n/web_tests_demo.pot b/addons/web_tests_demo/i18n/web_tests_demo.pot deleted file mode 100644 index 2681e37eb37..00000000000 --- a/addons/web_tests_demo/i18n/web_tests_demo.pot +++ /dev/null @@ -1,57 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_tests_demo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-21 14:09+0000\n" -"PO-Revision-Date: 2015-01-21 14:09+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "" - diff --git a/addons/web_tests_demo/i18n/zh_CN.po b/addons/web_tests_demo/i18n/zh_CN.po deleted file mode 100644 index e24b2360175..00000000000 --- a/addons/web_tests_demo/i18n/zh_CN.po +++ /dev/null @@ -1,58 +0,0 @@ -# Chinese (Simplified) translation for openerp-web -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-web package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-web\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2014-08-14 13:09+0000\n" -"PO-Revision-Date: 2014-08-20 02:31+0000\n" -"Last-Translator: Wei \"oldrev\" Li \n" -"Language-Team: Chinese (Simplified) \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-08-21 06:54+0000\n" -"X-Generator: Launchpad (build 17163)\n" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_uid:0 -msgid "Created by" -msgstr "创建者" - -#. module: web_tests_demo -#: field:web_tests_demo.model,create_date:0 -msgid "Created on" -msgstr "创建时间" - -#. module: web_tests_demo -#: field:web_tests_demo.model,id:0 -msgid "ID" -msgstr "ID" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_uid:0 -msgid "Last Updated by" -msgstr "最近更新者" - -#. module: web_tests_demo -#: field:web_tests_demo.model,write_date:0 -msgid "Last Updated on" -msgstr "最近更新时间" - -#. module: web_tests_demo -#: field:web_tests_demo.model,name:0 -msgid "Name" -msgstr "名称" - -#. module: web_tests_demo -#: field:web_tests_demo.model,other:0 -msgid "Other" -msgstr "其它" - -#. module: web_tests_demo -#: field:web_tests_demo.model,thing:0 -msgid "Thing" -msgstr "东西" diff --git a/addons/web_tests_demo/static/src/js/demo.js b/addons/web_tests_demo/static/src/js/demo.js deleted file mode 100644 index 1a08e3ba171..00000000000 --- a/addons/web_tests_demo/static/src/js/demo.js +++ /dev/null @@ -1,17 +0,0 @@ -odoo.define('web_tests_demo.demo', function (require) { -"use strict"; - -var core = require('web.core'); - -var SomeType = core.Class.extend({ - init: function (value) { - this.value = value; - }, -}); - -return { - value_true: true, - SomeType: SomeType, -}; - -}); diff --git a/addons/web_tests_demo/static/src/xml/demo.xml b/addons/web_tests_demo/static/src/xml/demo.xml deleted file mode 100644 index 1bd3862d70e..00000000000 --- a/addons/web_tests_demo/static/src/xml/demo.xml +++ /dev/null @@ -1,7 +0,0 @@ - -
- -

-
-
-
diff --git a/addons/web_tests_demo/static/test/demo.js b/addons/web_tests_demo/static/test/demo.js deleted file mode 100644 index bb8943f47bd..00000000000 --- a/addons/web_tests_demo/static/test/demo.js +++ /dev/null @@ -1,66 +0,0 @@ - -odoo.define_section('basic section', [], function (test, mock) { - test('my first test', function (assert) { - assert.ok(true, "this test has run"); - }); - - test('module content', ['web_tests_demo.demo'], function (assert, tests_demo) { - assert.ok(tests_demo.value_true, "should have a true value"); - var type_instance = new tests_demo.SomeType(42); - assert.strictEqual(type_instance.value, 42, "should have provided value"); - }); - - test('DOM content', function (assert) { - var $fix = $( "#qunit-fixture"); - $fix.html('
ok
'); - assert.ok($fix.find('span').hasClass('foo'), - "should have provided class"); - }); - - test('clean fixture', function (assert) { - var $fix = $( "#qunit-fixture"); - assert.ok(!$fix.children().length, "should have no content"); - assert.ok(!$fix.text(), "should have no text"); - }); - - test('templates', ['web.core'], function (assert, core) { - var s = core.qweb.render('DemoTemplate'); - var texts = $(s).find('p').map(function () { - return $(this).text(); - }).get(); - - assert.deepEqual(texts, ['0', '1', '2', '3', '4']); - }); - - test('asynchronous', function (assert) { - assert.expect(1); - - var d = $.Deferred(); - setTimeout(function () { - assert.ok(true); - d.resolve(); - }, 100); - return d; - }); - - - test('XML-RPC', ['web.DataModel'], function (assert, Model) { - assert.expect(3); - - mock.add('people.famous:name_search', function (args, kwargs) { - assert.strictEqual(kwargs.name, 'bob'); - return [ - [1, "Microsoft Bob"], - [2, "Bob the Builder"], - [3, "Silent Bob"] - ]; - }); - return new Model('people.famous') - .call('name_search', {name: 'bob'}).then(function (result) { - assert.strictEqual(result.length, 3, "shoud return 3 people"); - assert.strictEqual(result[0][1], "Microsoft Bob", - "the most famous bob should be Microsoft Bob"); - }); - }); - -}); diff --git a/addons/web_tests_demo/views/web_tests_demo.xml b/addons/web_tests_demo/views/web_tests_demo.xml deleted file mode 100644 index d9c1954dc96..00000000000 --- a/addons/web_tests_demo/views/web_tests_demo.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -