def _no_item_selected_plugin(self):
     return FakePlugin(self._registered_editors, None)
 def _datafile_plugin(self):
     return FakePlugin(self._registered_editors,
                       self._datafile_controller())
 def _variable_plugin(self):
     return FakePlugin(self._registered_editors,
                       VariableController(VariableTableController(
                           self._datafile_controller(), None), Variable('','')))
Пример #4
0
 def setUp(self):
     controller = TestCaseController(IncredibleMock(), IncredibleMock())
     plugin = FakePlugin({}, controller)
     self.tc_editor = TestCaseEditor(plugin, wx.Frame(None), controller,
                                     None)