Mock a window for unit tests.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Mocks MockWindow
Namespace: DeltaEngine.Mocks
Assembly: DeltaEngine.Mocks (in DeltaEngine.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockWindow type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | MockWindow | Initializes a new instance of the MockWindow class |
Methods
Name | Description | |
---|---|---|
![]() | CloseAfterFrame | |
![]() | CopyTextToClipboard | |
![]() | Dispose | Releases all resources used by the MockWindow |
![]() | Present | |
![]() | SetCursorIcon | |
![]() | SetFullscreen | |
![]() | SetWindowed | |
![]() | ShowMessageBox |
Properties
Name | Description | |
---|---|---|
![]() | BackgroundColor | |
![]() | Handle | |
![]() | IsClosing | |
![]() | IsFullscreen | |
![]() | IsVisible | |
![]() | IsWindowsFormAndNotJustAPanel | |
![]() | Orientation | |
![]() | PixelPosition | |
![]() | ShowCursor | |
![]() | Title | |
![]() | TotalPixelSize | |
![]() | ViewportPixelPosition | |
![]() | ViewportPixelSize |
Events
Name | Description | |
---|---|---|
![]() | FullscreenChanged | |
![]() | OrientationChanged | |
![]() | ViewportSizeChanged |
See Also