~andrew-haigh-b/cdts/bug1214896

« back to all changes in this revision

Viewing changes to plainbox-gui/driver-testing/qml/ResumeView.qml

  • Committer: Andrew Haigh
  • Date: 2013-09-09 18:57:38 UTC
  • Revision ID: andrew.haigh@cellsoftware.co.uk-20130909185738-3tkjh5ejl2q5a4o0
Snapshot for zyga. NO WARRANTY :) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            text: i18n.tr("Re-run last test")
61
61
            width: buttoncol.buttonWidth
62
62
            color: UbuntuColors.orange
63
 
            onClicked: mainView.state = "RUNMANAGER"
 
63
            onClicked: {
 
64
 
 
65
                guiEngine.GuiResumeSession(true /* re-run last test */);
 
66
 
 
67
                // We need this to show the list of stuff
 
68
                testitemFactory.CreateTestListModel(testListModel);
 
69
 
 
70
                mainView.state = "RUNMANAGER"
 
71
            }
64
72
        }
65
73
 
66
74
        Button {
68
76
            text: i18n.tr("Continue")
69
77
            width: buttoncol.buttonWidth
70
78
            color: UbuntuColors.lightAubergine
71
 
            onClicked: mainView.state = "RUNMANAGER"
 
79
            onClicked: {
 
80
 
 
81
                /* We need to setup everything first
 
82
                */
 
83
                guiEngine.GuiResumeSession(false /* re-run last test */);
 
84
 
 
85
                // We need this to show the list of stuff
 
86
                testitemFactory.CreateTestListModel(testListModel);
 
87
 
 
88
                mainView.state = "RUNMANAGER"
 
89
            }
72
90
        }
73
91
 
74
92
        Button {