PathExtensionsTests GetAbsolutePath Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void GetAbsolutePath()
Examples

[Test]
public void GetAbsolutePath()
{
    Assert.AreEqual(Environment.CurrentDirectory, PathExtensions.GetAbsolutePath(null));
    Assert.AreEqual(Environment.CurrentDirectory, PathExtensions.GetAbsolutePath(""));
    Assert.AreEqual(Path.Combine(Environment.CurrentDirectory, "File.ext"),
        PathExtensions.GetAbsolutePath("File.ext"));
}
See Also