C# Class Microsoft.Protocols.TestSuites.Rdpedisp.RdpedispTestSuite

Show file Open project: Microsoft/WindowsProtocolTestSuites

Protected Methods

Method Description
TestCleanup ( ) : void
TestInitialize ( ) : void

Private Methods

Method Description
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void
DEVMODEValueToOrientation ( int value ) : MonitorLayout_OrientationValues

Covert DEVMODE orientation value to MonitorLayout_OrientationValues

InitializeDisplaySetting ( ) : void

Trigger client to initialize display settings

LoadImage ( ) : Bitmap

Load Rdpedisp test image RdpedispTestImage

OrientationToDEVMODEValue ( MonitorLayout_OrientationValues orientation ) : int

Covert MonitorLayout_OrientationValues to DEVMODE orientation value

RDPConnect ( NotificationType testType, bool initialize = true ) : void

Trigger client to connect to server

RDPEGFX_CapabilityExchange ( ) : void
SendInstruction ( ushort screenWidth, ushort screenHeight, Bitmap bitmap ) : void
SendRfxProgCodecEcodedData ( byte[]>.List layerDataList, bool positiveTest = true ) : uint

Copy from RDPEGFX test suite Send Rfx Progressive Codec Encoded bitmap data to client

StartRDPConnection ( ) : void

Start RDP connection

StopRDPConnection ( ) : void

Stop RDP connection

VerifyMonitorsAdjacent ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT monitors ) : bool

Check each monitor is adjacent to at least one other monitor (even if only at a single point)

VerifyMonitorsOverlap ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT monitors ) : bool

Check none of the specified monitors overlap

VerifyRDPVersion ( ) : void

Verify the version of operation system or MSTSC

isAdjacent ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT monitor1, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT monitor2 ) : bool

Check whether two monitors are adjacent and not overlapped

isOverlap ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT monitor1, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedisp.DISPLAYCONTROL_MONITOR_LAYOUT Monitor2 ) : bool

Check whether two monitors are overlapped

receiveAndLogClientRfxCapabilites ( ) : void

Copy from RDPRFX test suite code

setServerCapabilitiesWithRemoteFxSupported ( ) : void

Copy from RDPRFX test suite code

Method Details

TestCleanup() protected method

protected TestCleanup ( ) : void
return void

TestInitialize() protected method

protected TestInitialize ( ) : void
return void