Files
Sourcetrail/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailPluginTests/Helpers/TestPathResolver.cs
T
malte_langkabel 72f3dcfc19 logic: improved plugin performance
* reduced file open/close events while writing cdb
* fixed detection of header paths
* refactored Visual Studio extension code
* removed very old menu option for converting a solution directly into a Coati project (which would have been performed by Coati itself, not by the plugin).
2017-06-12 12:10:48 +02:00

24 lines
617 B
C#

using CoatiSoftware.SourcetrailPlugin.Utility;
using VCProjectEngineWrapper;
namespace CoatiSoftware.SourcetrailPlugin.IntegrationTests.Helpers
{
class TestPathResolver : IPathResolver
{
public override string GetCompilationDatabaseFilePath()
{
return "<CompilationDatabaseFilePath>";
}
protected override string DoGetAsAbsoluteCanonicalPath(string path, IVCProjectWrapper project)
{
return "<ProjectBaseDirectory>/" + path;
}
protected override string ResolveVsMacro(string potentialMacro, IVCConfigurationWrapper vcProjectConfig)
{
return "<Macro " + potentialMacro + ">";
}
}
}