C# Class Illumina.TerminalVelocity.Tests.DownloadTests

Afficher le fichier Open project: basespace/TerminalVelocity Class Usage Examples

Méthodes publiques

Méthode Description
DownloadTests ( ) : System
Md5SumByProcess ( string file ) : string
SafePath ( string fileName ) : string

Private Methods

Méthode 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 méthode

public DownloadTests ( ) : System
Résultat System

Md5SumByProcess() public static méthode

public static Md5SumByProcess ( string file ) : string
file string
Résultat string

SafePath() public static méthode

public static SafePath ( string fileName ) : string
fileName string
Résultat string