C# Class Microsoft.Protocols.TestSuites.Rdpegfx.RdpegfxTestSuite

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
GetH264TestData ( string H264TestDataPath ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RdpegfxH264TestDatas

Load H264 test data for a test suite.

GetTestData ( ) : void

Get Test Image Data

GetTestDataFile ( int callStackIndex = 1 ) : string

Get Test Data file path

InitializeForSoftSync ( DynamicVC_TransportType transportType = DynamicVC_TransportType.RDP_UDP_Reliable ) : bool

Create graphic dynamic virtual channel over UDP transport.

IsH264Supported ( ) : bool

Whether H264 codec, AVC420 or AVC444, is supported

RDPEGFX_CacheManagement ( DynamicVC_TransportType transport, bool isSoftSync ) : void
RDPEGFX_CacheManagement_Negative_CacheToSurface_InexistentCacheSlot ( ) : void
RDPEGFX_CacheManagement_Negative_CacheToSurface_InexistentSurface ( ) : void
RDPEGFX_CacheManagement_Negative_Default_ExceedMaxCacheSize ( ) : void
RDPEGFX_CacheManagement_Negative_Delete_InexistentCacheSlot ( ) : void
RDPEGFX_CacheManagement_Negative_SurfaceToCache_InexistentSurface ( ) : void
RDPEGFX_CacheManagement_PositiveTest ( ) : void
RDPEGFX_CacheManagement_PositiveTest_CacheToSurface_DestRectsBorderOverlapSurface ( ) : void
RDPEGFX_CacheManagement_PositiveTest_CacheToSurface_DestRectsOverlapped ( ) : void
RDPEGFX_CacheManagement_PositiveTest_EvictCache_DeleteCacheSlot ( ) : void
RDPEGFX_CacheManagement_PositiveTest_OverUDP_Lossy_SoftSync ( ) : void
RDPEGFX_CacheManagement_PositiveTest_OverUDP_Reliable_SoftSync ( ) : void
RDPEGFX_CacheManagement_PositiveTest_SurfaceToCache_MaxCacheSize ( ) : void
RDPEGFX_CacheManagement_PositiveTest_SurfaceToCache_MaxCacheSlot ( ) : void
RDPEGFX_CacheManagement_PositiveTest_SurfaceToCache_SrcRectBorderOverlapSurface ( ) : void
RDPEGFX_CacheManagement_PositiveTest_SurfaceToCache_UpdateCache ( ) : void
RDPEGFX_CapabilityExchange ( DynamicVC_TransportType transportType = DynamicVC_TransportType.RDP_TCP, bool isSoftSync = false ) : void

Method to do capability exchange with RDP client. This function is recommended to be called by other test cases to do capability exchange.

RDPEGFX_Compression_Negative_IncorrectCompressFlag ( ) : void
RDPEGFX_Compression_Negative_IncorrectCompressType ( ) : void
RDPEGFX_Compression_Negative_InvalidCompressPdu ( ) : void
RDPEGFX_Compression_PositiveTest ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC420_BaseProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC420_HighProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC420_MainProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC420_MainProfile_CABACEnabled ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Chroma420Separated_MainProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Chroma420Together_MainProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Chroma420Together_MainProfile_LargeSize ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_BaseProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_HighProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_MainProfile ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_MainProfile_CABACEnabled ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_MainProfile_ISliceOnly ( ) : void
RDPEGFX_H264Codec_PositiveTest_AVC444_YUV420Only_MainProfile_LargeSize ( ) : void
RDPEGFX_H264Codec_PositiveTest_H264Support ( ) : void
RDPEGFX_Segmentation_Negative_CompressedNoSegmentHeader ( ) : void
RDPEGFX_Segmentation_Negative_IncorrectSegmentDescriptor ( ) : void
RDPEGFX_Segmentation_Negative_MultiSegmentNoSegmentArray ( ) : void
RDPEGFX_Segmentation_Negative_MultiSegmentNoSegmentCount ( ) : void
RDPEGFX_Segmentation_Negative_MultiSegmentNoUncompressedSize ( ) : void
RDPEGFX_Segmentation_Negative_SingleSegmentWithSegmentArray ( ) : void
RDPEGFX_Segmentation_Negative_SingleSegmentWithSegmentCount ( ) : void
RDPEGFX_Segmentation_Negative_SingleSegmentWithUncompressedSize ( ) : void
RDPEGFX_Segmentation_Negative_UncompressedNoSegmentHeader ( ) : void
RDPEGFX_Segmentation_Positive_MultipleSegmentedPacking ( ) : void
RDPEGFX_Segmentation_Positive_UncompressedSegmentHeader ( ) : void
RDPEGFX_WireToSurface_PositiveTest ( ) : void
RDPEGFX_WireToSurface_PositiveTest_ImageBorderOverlapSurface ( ) : void
SendH264CodecStream ( string h264DataFile, bool isAVC444 ) : void

Common function to send H264 data to the client

SendRfxCodecEcodedData ( byte[]>.Dictionary frDataDict ) : uint

Send Rfx Codec Encoded bitmap data to client

SendRfxProgCodecEcodedData ( byte[]>.List layerDataList, bool positiveTest = true ) : uint

Send Rfx Progressive Codec Encoded bitmap data to client

StartRDPConnection ( bool isSoftSync = false ) : void

Start RDP connection

StopRDPConnection ( ) : void

Stop RDP connection

VerifySUTDisplay ( bool usingRemoteFX, RDPGFX_RECT16 rect, int callStackIndex = 1 ) : void

Verify SUT Display

setServerCapabilitiesWithRemoteFxSupported ( ) : void

Method Details

TestCleanup() protected method

protected TestCleanup ( ) : void
return void

TestInitialize() protected method

protected TestInitialize ( ) : void
return void