コード例 #1
0
ファイル: test_model.py プロジェクト: zwunix/robotframework
 def test_representation(self):
     ForLoop = ForLoopWithFakeParent
     assert_equal(
         ForLoop(['${var}', 'IN', 'value1', 'value2']).as_list(),
         ['FOR', '${var}', 'IN', 'value1', 'value2'])
     assert_equal(
         ForLoop(['${v2}', '${v2}', 'IN RANGE', '100']).as_list(),
         ['FOR', '${v2}', '${v2}', 'IN RANGE', '100'])
コード例 #2
0
ファイル: stepcontrollers.py プロジェクト: MEDBEDb/RIDE
 def __init__(self, cells, first_cell=':FOR', comment=None):
     self._cells = cells
     self._first_cell = first_cell
     ForLoop.__init__(self, cells, comment)
コード例 #3
0
ファイル: stepcontrollers.py プロジェクト: kaelzhang81/RIDE
 def __init__(self, cells, first_cell=':FOR', comment=None):
     self._cells = cells
     self._first_cell = first_cell
     ForLoop.__init__(self, cells, comment)
コード例 #4
0
ファイル: test_model.py プロジェクト: zwunix/robotframework
 def __init__(self, *args, **kws):
     ForLoop.__init__(self, self, *args, **kws)
コード例 #5
0
 def __init__(self, *args, **kws):
     ForLoop.__init__(self, self, *args, **kws)
コード例 #6
0
ファイル: stepcontrollers.py プロジェクト: atthaboon/RIDE
 def __init__(self, cells, first_cell=':FOR'):
     self._cells = cells
     self._first_cell = first_cell
     ForLoop.__init__(self, cells)