C# Class Flood.Tests.GUI

Inheritance: IDisposable
Datei anzeigen Open project: FloodProject/flood Class Usage Examples

Public Properties

Property Type Description
guiRenderable Flood.GUI.GuiRenderable
nativeWindow System.Windows.Window
window System.Windows.Window

Public Methods

Method Description
Dispose ( ) : void
GUI ( ) : System
Render ( string outputPath ) : void
RenderBounds ( Control control, int &width, int &height ) : void
Test ( Control control, string assertId, string assertMessage = "" ) : void

Private Methods

Method Description
Assert ( string assertId, string extension, GenerateDataDelegate generator, CompareDataDelegate comparer ) : bool
BuildDumpTree ( Control rootControl ) : GUIDumpData
CompareImages ( string expected, string actual, string diff ) : bool
DumpLayout ( Control control ) : GUIDumpData
HasRenderChanged ( Control id, string assertId ) : bool
HasSerializationChanged ( Control control, string assertId ) : bool
SerializeDumpData ( GUIDumpData data ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GUI() public method

public GUI ( ) : System
return System

Render() public method

public Render ( string outputPath ) : void
outputPath string
return void

RenderBounds() public method

public RenderBounds ( Control control, int &width, int &height ) : void
control Flood.GUI.Controls.Control
width int
height int
return void

Test() public method

public Test ( Control control, string assertId, string assertMessage = "" ) : void
control Flood.GUI.Controls.Control
assertId string
assertMessage string
return void

Property Details

guiRenderable public_oe property

public GuiRenderable,Flood.GUI guiRenderable
return Flood.GUI.GuiRenderable

nativeWindow public_oe property

public Window,System.Windows nativeWindow
return System.Windows.Window

window public_oe property

public Window,System.Windows window
return System.Windows.Window