PathExtensions GetDeltaEngineSolutionFilePath Method Delta Engine Documentation

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

public static string GetDeltaEngineSolutionFilePath()

Return Value

Type: String
Remarks

Tests: DeltaEngine.Tests.Extensions.PathExtensionsTests
Examples

2 unit tests call DeltaEngine.Extensions.PathExtensions.GetDeltaEngineSolutionFilePath
[Test, Ignore]
public void DefaultDeltaEngineSolutionFileShouldBeAvailable()
{
    string defaultSourceCodeDirectory = PathExtensions.GetDeltaEngineSolutionFilePath();
    Assert.IsTrue(File.Exists(defaultSourceCodeDirectory));
}
[Test, Ignore]
public void DeltaEngineSolutionFileHasToBeAvailable()
{
    string deltaEngineSolutionFilePath = PathExtensions.GetDeltaEngineSolutionFilePath();
    Assert.IsTrue(deltaEngineSolutionFilePath.Contains(DeltaEngineSolutionFilename));
    Assert.IsTrue(File.Exists(deltaEngineSolutionFilePath));
}
See Also