TestRunnerWindow
classin packageklyn.unittest.gui
public class TestRunnerWindow extends MainWindow
└ Window
└ TestRunnerWindow

Graphical test report window based on DockWorkspace.

The left tree groups packages, test classes and methods. Selecting a node displays its aggregate details while the Output tab preserves nominal and error streams from the complete execution.

Example
import klyn.unittest
import klyn.unittest.gui

window = TestRunnerWindow(report)
window.run()
Inherited Properties
propertyInherited Properties from MainWindow: centralWidget, menuBar
propertyInherited Properties from Window: appearanceMode, clientHeight, clientSize, clientWidth, focusedWidget, frame, icon, isVisible, title
propertyInherited Properties from Widget: accentColor, acceptFileDrops, backgroundColor, borderColor, bottom, canFocus, cornerRadius, cursor, font, foregroundColor, hasFocus, height, isEnabled, isHovered, isManaged, isPressed, isTabStop, isVisible, layoutParams, margin, maxHeight, maxWidth, minHeight, minWidth, parent, preferredHeight, preferredWidth, resolvedStyleCache, resolvedStyleCacheAppearanceMode, resolvedStyleCacheFont, resolvedStyleCacheRevision, resolvedStyleCacheStateKey, resolvedStyleCacheStyleClass, resolvedStyleCacheZoomRevision, right, size, sizePolicy, styleClass, toolTip, width, window, x, y
Inherited Events
eventInherited Events from Window: closed
eventInherited Events from Widget: filesDropped, focusGained, focusLost, keyPressed, keyReleased, mouseMoved, mousePressed, mouseReleased, mouseWheel, paintRequested, resized
Constructors
Modifier and Type Member Description
public TestRunnerWindow Creates a graphical window for a completed report.
Methods
Modifier and Type Member Description
public executeAction
executeAction(action as String) as Void
Executes an action exposed by the menu bar.
public start
start( runner as TestRunner, packages as IList<String>, jsonOutput as String = "" ) as Void
Starts a live package-filtered test execution.
public startSources
startSources( runner as TestRunner, sources as IList<FilePath>, jsonOutput as String = "" ) as Void
Starts a live execution for explicit test source files.
Inherited Methods
methodInherited Methods from MainWindow: applyLayout, applyTheme, paint, relayout, render, setBounds
methodInherited Methods from Window: adjustContentZoom, adjustFontZoom, applyContentZoom, applyLayout, applyNativeFrame, applyTheme, capture, capture, centerIn, close, copyToClipboard, emitClosed, getPlacement, maximize, readFromClipboard, relayout, render, repaint, repaintWidget, resetContentZoom, resetFontZoom, restore, run, setPlacement, show, simulateFilesDropped, simulateMouseClick, simulateMousePressed, simulateMouseReleased, syncContentZoomSize, theme
methodInherited Methods from Widget: applyThemeMetrics, blur, containsPoint, emitFilesDropped, emitFocusGained, emitFocusLost, emitKeyPressed, emitKeyReleased, emitMouseMoved, emitMousePressed, emitMouseReleased, emitMouseWheel, handleTabKey, notifyPaintRequested, paint, paintClipped, paintForeground, paintOverlay, preferredSizeIncludesContentZoom, repaint, requestFocus, resolvePreferredHeight, resolvePreferredWidth, resolvedFont, setBounds