C# Class Illumina.TerminalVelocity.Tests.DownloadTests

显示文件 Open project: basespace/TerminalVelocity Class Usage Examples

Public Methods

Method Description
DownloadTests ( ) : System
Md5SumByProcess ( string file ) : string
SafePath ( string fileName ) : string

Private Methods

Method Description
CalculateChunkCalcs ( ) : void
CancellationTokenWillCancel ( ) : void
ChunkCalculationsForLargeFiles ( ) : void
DownloadSmallerFile ( ) : void
DownloadSmallerFileWriteToStream ( ) : void
DownloadSmallerInSingleChunk ( ) : void
DownloadZeroByteFile ( ) : void
ExpectedDownloadTimeCalculation ( int chunkSize, int expected ) : void
IfFileSizeIsZeroReturn100PercentProgress ( ) : void
MultipleParallelChunkedDownload ( int threadCount, int parallelFactor ) : void
ParallelChunkedDownload ( int threadCount ) : void
ParallelChunkedOneGig ( int threadCount ) : void
ReadStackReturnsSequentially ( ) : void
SimpleGetClientCanDownloadTwentyMegFileSynchronously ( ) : void
SimpleGetClientGetsFirst100Bytes ( ) : void
TearDown ( ) : void
TestStaleWriteEmptyStack ( ) : void
TestStaleWriteNonEmptyStack ( ) : void
ValidateGZip ( string path, long fileSize, string checksum ) : void
ValidateSpeedOfWebRequest ( ) : void

Method Details

DownloadTests() public method

public DownloadTests ( ) : System
return System

Md5SumByProcess() public static method

public static Md5SumByProcess ( string file ) : string
file string
return string

SafePath() public static method

public static SafePath ( string fileName ) : string
fileName string
return string