Exemple #1
0
def test_reopen_of_window(event_manager, element_factory, main_window):
    editor = ElementEditor(event_manager, element_factory, main_window)

    editor.open()
    editor.close()
    editor.open()
    editor.close()
Exemple #2
0
def test_reopen_of_window(event_manager, element_factory, diagrams):
    editor = ElementEditor(event_manager, element_factory, diagrams)

    editor.open()
    editor.close()
    editor.open()
    editor.close()
    def test1(self):
        from gi.repository import Gtk

        window = ElementEditor()
        assert (
            len(window.action_group.list_actions()) == 1
        ), window.action_group.list_actions()
        window.open()
        window.close()
 def test1(self):
     import gtk
     window = ElementEditor()
     assert len(window.action_group.list_actions()
                ) == 1, window.action_group.list_actions()
     window.open()
     window.close()
Exemple #5
0
 def test1(self):
     import gtk
     ui_manager = gtk.UIManager()
     window = ElementEditor()
     window.ui_manager = ui_manager
     assert len(window.action_group.list_actions()) == 1, window.action_group.list_actions()
     window.construct()
     window.close()
    def test1(self):
        from gi.repository import Gtk

        window = ElementEditor()
        assert (len(window.action_group.list_actions()) == 1
                ), window.action_group.list_actions()
        window.open()
        window.close()
Exemple #7
0
 def test1(self):
     import gtk
     window = ElementEditor()
     assert len(window.action_group.list_actions()) == 1, window.action_group.list_actions()
     window.open()
     window.close()