C# Class Flood.Tests.GUI

Inheritance: IDisposable
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Свойство Type Description
guiRenderable Flood.GUI.GuiRenderable
nativeWindow System.Windows.Window
window System.Windows.Window

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

GUI() public méthode

public GUI ( ) : System
Résultat System

Render() public méthode

public Render ( string outputPath ) : void
outputPath string
Résultat void

RenderBounds() public méthode

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

Test() public méthode

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

Property Details

guiRenderable public_oe property

public GuiRenderable,Flood.GUI guiRenderable
Résultat Flood.GUI.GuiRenderable

nativeWindow public_oe property

public Window,System.Windows nativeWindow
Résultat System.Windows.Window

window public_oe property

public Window,System.Windows window
Résultat System.Windows.Window