Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar
diff options
context:
space:
mode:
authorJean-Christophe Savard <savard.jean.christophe@gmail.com>2009-04-19 22:08:17 (GMT)
committer Jean-Christophe Savard <savard.jean.christophe@gmail.com>2009-04-19 22:08:17 (GMT)
commitffaa84c5c20110ea0461fa2096cb66f71b3e84e6 (patch)
tree311752bad23a40c4a3f48616b1bfee30cf9a9020 /src/sugar
parentb94b444aaab2680bcdc6b85c0a00ed929dd58ef7 (diff)
Loading function for XMl in bundler.py
Diffstat (limited to 'src/sugar')
-rw-r--r--src/sugar/tutorius/bundler.py2
-rw-r--r--src/sugar/tutorius/tests/coretests.py2
-rwxr-xr-xsrc/sugar/tutorius/tests/run-tests.py1
-rw-r--r--src/sugar/tutorius/tests/serializertests.py2
4 files changed, 5 insertions, 2 deletions
diff --git a/src/sugar/tutorius/bundler.py b/src/sugar/tutorius/bundler.py
index 09babc6..9071be8 100644
--- a/src/sugar/tutorius/bundler.py
+++ b/src/sugar/tutorius/bundler.py
@@ -267,6 +267,7 @@ class XMLSerializer(Serializer):
@param properties_elem An XML element reprensenting a list of
properties
"""
+ # TODO
return []
def _load_xml_event_filters(self, filters_elem):
@@ -292,6 +293,7 @@ class XMLSerializer(Serializer):
@param states_elem An XML Element that represents a list of States
"""
+
return []
def _load_xml_fsm(self, fsm_elem):
diff --git a/src/sugar/tutorius/tests/coretests.py b/src/sugar/tutorius/tests/coretests.py
index 5f91a64..91f03fa 100644
--- a/src/sugar/tutorius/tests/coretests.py
+++ b/src/sugar/tutorius/tests/coretests.py
@@ -29,7 +29,7 @@ and event filters. Those are in their separate test module
import unittest
import logging
-from sugar.tutorius.actions import Action, ClickAction, TypeTextAction
+from sugar.tutorius.actions import Action, ClickAction, TypeTextActionz
from sugar.tutorius.core import *
from sugar.tutorius.filters import *
diff --git a/src/sugar/tutorius/tests/run-tests.py b/src/sugar/tutorius/tests/run-tests.py
index 0c9219b..6f22fee 100755
--- a/src/sugar/tutorius/tests/run-tests.py
+++ b/src/sugar/tutorius/tests/run-tests.py
@@ -48,5 +48,6 @@ if __name__=='__main__':
from servicestests import *
from gtkutilstests import *
from overlaytests import *
+ from serializertests import *
unittest.main()
diff --git a/src/sugar/tutorius/tests/serializertests.py b/src/sugar/tutorius/tests/serializertests.py
index c2aeda1..12e7ab8 100644
--- a/src/sugar/tutorius/tests/serializertests.py
+++ b/src/sugar/tutorius/tests/serializertests.py
@@ -80,7 +80,7 @@ class XMLSerializerTest(unittest.TestCase):
# Compare the two files
- #Remove test file and path
+ #Remove test file and path (commented for testing, to uncomment)
## os.remove(testpath + os.path.join(sugar.tutorius.bundler._get_store_root(), str(self.uuid)) + "/fsm.xml")
## os.removedirs(testpath)