Revision: 3401
Author: jussi.ao.malinen
Date: Mon May 24 01:27:12 2010
Log: added multisourcesuite
http://code.google.com/p/robotframework/source/detail?r=3401
Modified:
/trunk/src/robot/running/model.py
=======================================
--- /trunk/src/robot/running/model.py Sun May 23 22:12:15 2010
+++ /trunk/src/robot/running/model.py Mon May 24 01:27:12 2010
@@ -160,6 +160,23 @@
self.run_errors.end_suite()
+class RunnableMultiTestSuite(RunnableTestSuite):
+
+ def __init__(self, suitedatas):
+ BaseTestSuite.__init__(self, name='')
+ self.variables = GLOBAL_VARIABLES.copy()
+ self.doc = ''
+ self.imports = []
+ # FIXME: remove if possible
+ #self.user_keywords = UserLibrary(data.keyword_table.keywords)
+ self.setup = Setup(None, None)
+ self.teardown = Teardown(None, None)
+ for suite in suitedatas:
+ RunnableTestSuite(suite, parent=self)
+ self._run_mode_exit_on_failure = False
+ self._run_mode_dry_run = False
+
+
class RunnableTestCase(BaseTestCase):
def __init__(self, tc_data, parent):