* 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).
24 lines
617 B
C#
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 + ">";
|
|
}
|
|
}
|
|
}
|