private TestInitWithLocationSetToBadPath ( ) : void | ||
리턴 | void |
public void TestInitWithLocationSetToBadPath()
{
RecoveryFileLogger logger = new RecoveryFileLogger();
logger.Location = this.nonExistantPath;
try
{
logger.Initialize(rmId.ToString());
Assert.Fail("Should have detected an invalid dir and thrown an exception");
}
catch
{
}
}