Methods
|
|
|
|
__init__
|
__init__ (
self,
prog=None,
fromEric=0,
parent=None,
name=None,
modal=0,
fl=0,
)
Constructor
Arguments
- prog
- filename of the program to open
- fromEric
- flag to indicate whether we were call from within the eric3 IDE
- parent
- parent widget of this dialog (QWidget)
- name
- name of this dialog (string or QString)
- modal
- flag indicating a modal dialog
- fl
- window flags
|
|
colorizeProgressbar
|
colorizeProgressbar ( self, color )
Private methode to set the color of the progressbar.
Arguments
- color
- colour for the progressbar
|
|
handleFileDialog
|
handleFileDialog ( self )
Private slot to open a file dialog.
|
|
handleListboxDoubleClick
|
handleListboxDoubleClick ( self, lbitem )
Private slot called by doubleclicking an errorlist entry.
It will popup a dialog showing the stacktrace.
If called from eric, an additional button is displayed
to show the python source in an eric source viewer (in
erics main window.
Arguments
- lbitem
- the listbox item that was double clicked
|
|
handleRunning
|
handleRunning ( self )
Private method to set the GUI in running mode.
|
|
handleShowSource
|
handleShowSource ( self )
Private slot to show the source of a traceback in an eric3 editor.
|
|
handleStartTest
|
handleStartTest ( self )
Private slot to start the test.
|
|
handleStopTest
|
handleStopTest ( self )
Private slot to stop the test.
|
|
handleStopped
|
handleStopped ( self )
Private method to set the GUI in stopped mode.
|
|
handleTestErrored
|
handleTestErrored (
self,
test,
err,
)
Public method called if a test errors.
Arguments
- test
- name of the errored test
- err
- errorstring of the errored test
|
|
handleTestFailed
|
handleTestFailed (
self,
test,
err,
)
Public method called if a test fails.
Arguments
- test
- name of the failed test
- err
- errorstring of the failed test
|
|
handleTestFinished
|
handleTestFinished ( self, test )
Public method called if a test has finished.
Note: It is also called if it has already failed or errored.
Arguments
- test
- name of the errored test
|
|
handleTestStarted
|
handleTestStarted ( self, test )
Public method called if a test is about to be run.
Arguments
- test
- name of the errored test
|
|
insertProg
|
insertProg ( self, prog )
Public slot to insert the filename prog into the testsuiteComboBox object.
|