C# Class Microsoft.Protocols.TestSuites.Rdp.RdpTestClassBase

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Show file Open project: Microsoft/WindowsProtocolTestSuites

Protected Properties

Property Type Description
bVerifyRdpbcgrMessage bool
bitmapSavePath string
enLevel EncryptionLevel
enMethod EncryptionMethods
imageForVideoMode Image
imageId int
image_64X64 Image
isClientSuportAutoReconnect bool
isClientSupportEmptyRdpNegData bool
isClientSupportFastPathInput bool
isClientSupportRDPEFS bool
isClientSupportServerRedirection bool
isClientSupportSoftSync bool
isClientSupportTunnelingStaticVCTraffic bool
isWindowsImplementation bool
isclientSupportPersistentBitmapCache bool
maxRequestSize uint
payloadLength ushort
payloadNum int
rdpServerVersion TS_UD_SC_CORE_version_Values
rdpbcgrAdapter IRdpbcgrAdapter
selectedProtocol selectedProtocols_Values
shortWaitTime System.TimeSpan
sutControlAdapter IRdpSutControlAdapter
sutDisplayShift Point
tmpFilePath string
transportProtocol EncryptedProtocol
verifySUTDisplay bool
waitTime System.TimeSpan

Public Methods

Method Description
BaseCleanup ( ) : void
BaseInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void

Protected Methods

Method Description
LoadConfig ( ) : void
TestCleanup ( ) : void
TestInitialize ( ) : void
VerifySUTDisplay ( bool usingRemoteFX, Rectangle compareRect, int callStackIndex = 1 ) : void

Verify SUT Dispaly

triggerClientRDPConnect ( EncryptedProtocol enProtocol, bool fullScreen = false ) : void

Private Methods

Method Description
GetSupportedRDPVersion ( Attribute attributes ) : string

Find the RDP version from the attributes of test case

VerifyRDPVersion ( String testCaseName, String version ) : void

Verify the version of operation system or MSTSC

assumeFailForInvalidPtfProp ( string propName ) : void
captureScreenImage ( int left, int top, int width, int height ) : Bitmap
testClassBase_getConfirmActivePduInfo ( Client_Confirm_Active_Pdu confirmActivePdu ) : void

Method Details

BaseCleanup() public static method

public static BaseCleanup ( ) : void
return void

BaseInitialize() public static method

public static BaseInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void
context Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
return void

LoadConfig() protected method

protected LoadConfig ( ) : void
return void

TestCleanup() protected method

protected TestCleanup ( ) : void
return void

TestInitialize() protected method

protected TestInitialize ( ) : void
return void

VerifySUTDisplay() protected method

Verify SUT Dispaly
protected VerifySUTDisplay ( bool usingRemoteFX, Rectangle compareRect, int callStackIndex = 1 ) : void
usingRemoteFX bool Whether the output image is using RemoteFX codec
compareRect System.Drawing.Rectangle The Rectangle on the image to be compared
callStackIndex int Call stack index from the test method
return void

triggerClientRDPConnect() protected method

protected triggerClientRDPConnect ( EncryptedProtocol enProtocol, bool fullScreen = false ) : void
enProtocol EncryptedProtocol
fullScreen bool
return void

Property Details

bVerifyRdpbcgrMessage protected property

protected bool bVerifyRdpbcgrMessage
return bool

bitmapSavePath protected property

protected string bitmapSavePath
return string

enLevel protected property

protected EncryptionLevel enLevel
return EncryptionLevel

enMethod protected property

protected EncryptionMethods enMethod
return EncryptionMethods

imageForVideoMode protected static property

protected static Image imageForVideoMode
return Image

imageId protected property

protected int imageId
return int

image_64X64 protected static property

protected static Image image_64X64
return Image

isClientSuportAutoReconnect protected property

protected bool isClientSuportAutoReconnect
return bool

isClientSupportEmptyRdpNegData protected property

protected bool isClientSupportEmptyRdpNegData
return bool

isClientSupportFastPathInput protected property

protected bool isClientSupportFastPathInput
return bool

isClientSupportRDPEFS protected property

protected bool isClientSupportRDPEFS
return bool

isClientSupportServerRedirection protected property

protected bool isClientSupportServerRedirection
return bool

isClientSupportSoftSync protected property

protected bool isClientSupportSoftSync
return bool

isClientSupportTunnelingStaticVCTraffic protected property

protected bool isClientSupportTunnelingStaticVCTraffic
return bool

isWindowsImplementation protected property

protected bool isWindowsImplementation
return bool

isclientSupportPersistentBitmapCache protected property

protected bool isclientSupportPersistentBitmapCache
return bool

maxRequestSize protected property

protected uint maxRequestSize
return uint

payloadLength protected property

protected ushort payloadLength
return ushort

payloadNum protected property

protected int payloadNum
return int

rdpServerVersion protected property

protected TS_UD_SC_CORE_version_Values rdpServerVersion
return TS_UD_SC_CORE_version_Values

rdpbcgrAdapter protected property

protected IRdpbcgrAdapter rdpbcgrAdapter
return IRdpbcgrAdapter

selectedProtocol protected property

protected selectedProtocols_Values selectedProtocol
return selectedProtocols_Values

shortWaitTime protected property

protected TimeSpan,System shortWaitTime
return System.TimeSpan

sutControlAdapter protected property

protected IRdpSutControlAdapter sutControlAdapter
return IRdpSutControlAdapter

sutDisplayShift protected property

protected Point sutDisplayShift
return Point

tmpFilePath protected property

protected string tmpFilePath
return string

transportProtocol protected property

protected EncryptedProtocol transportProtocol
return EncryptedProtocol

verifySUTDisplay protected property

protected bool verifySUTDisplay
return bool

waitTime protected property

protected TimeSpan,System waitTime
return System.TimeSpan