C# Class System.IO.Tests.File_Replace_str_str_str

Inheritance: System.IO.Tests.FileSystemTest
Show file Open project: dotnet/corefx

Public Methods

Method Description
Replace ( string source, string dest, string destBackup ) : void
Replace ( string source, string dest, string destBackup, bool ignoreMetadataErrors ) : void

Private Methods

Method Description
Backup_FileCopiedAndDeleted_DestCopied ( bool backupExists, bool ignoreMetadataErrors ) : void
InvalidFileNames ( ) : void
NoBackup_FileCopiedAndDeleted ( ) : void
NonExistentDestPath_ThrowsException ( ) : void
NonExistentSourcePath_ThrowsException ( ) : void
NullFileName ( ) : void

Method Details

Replace() public method

public Replace ( string source, string dest, string destBackup ) : void
source string
dest string
destBackup string
return void

Replace() public method

public Replace ( string source, string dest, string destBackup, bool ignoreMetadataErrors ) : void
source string
dest string
destBackup string
ignoreMetadataErrors bool
return void