aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2012-12-11 16:04:08 +0200
committerYakov Goldberg <yakov.g@samsung.com>2012-12-13 17:36:35 +0200
commitffccf7a59a213a4ad232b46be2a6154222a20984 (patch)
tree27a5f25f9726031915783d6a7474aa491dba9136 /tests
parentCommand line options added for Py generator (diff)
downloadeo_bindings-ffccf7a59a213a4ad232b46be2a6154222a20984.tar.gz
Major fixes
Fix: parsing filenames in helper XML gen: option -X(--xmldir) used to include xml dir Signal, evas, evas_elm examples updated Py gen; added prefixes to proper folders layout and setup.py script - Updated examples to search for everything in eorepo - const.PREFIX="eorepo" added this const must provide package path. And also used to generate files Creates two packages: eoparser - with cpyrser, xmlparser modules eorepo - with eodefault, eobase modules. examples are witten in /usr/local/share/eoparser/examples This needed to be changed in other way eorepo/ __init__.py (empty) base/ eodefault.so eobase.so __init__.py (from base.eobase import smth) (from base.eodefault import smth) elementary/ c_elm.so __init__.so (from elementary.c_elm import Win) (from elementary.c_elm import Button) That will provide the following: example.py import elementary (and the following can be used elementary.Win()) from elementary import * (and the following can be used Win()) Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 0567a8c..d924a27 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -42,6 +42,8 @@ class testP(unittest.TestCase):
def test_isXML(self):
self.assertTrue(isXML("abc.xml"))
+ self.assertTrue(isXML("/abc/def/abc.xml"))
+ self.assertTrue(isXML("/abc/py2.7/abc.xml"))
self.assertFalse(isXML("abc.h"))
self.assertFalse(isXML("abc.qwe.xml"))