Skip to content

Commit

Permalink
Fix build for drifted changes and mismerge
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Mendakiewicz committed Jul 13, 2017
1 parent faa72a2 commit ddeff66
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions GoogleTestAdapter/Common.Dynamic.GTA/Strings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace GoogleTestAdapter.Common
{
public class Strings : IStrings
{
public string ExtensionName => "Google Test Adapter";
public string TroubleShootingLink => "Check out Google Test Adapter's trouble shooting section at https://github.com/csoltenborn/GoogleTestAdapter#trouble_shooting";
public string TestDiscoveryStarting => "Google Test Adapter: Test discovery starting...";
public string TestExecutionStarting => "Google Test Adapter: Test execution starting...";
Expand Down
1 change: 1 addition & 0 deletions GoogleTestAdapter/Common.Dynamic.TAfGT/Strings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace GoogleTestAdapter.Common
{
public class Strings : IStrings
{
public string ExtensionName => "Test Adapter for Google Test";
public string TroubleShootingLink => "Check out Test Adapter for Google Test's trouble shooting section at https://go.microsoft.com/fwlink/?linkid=848168";
public string TestDiscoveryStarting => "Test Adapter for Google Test: Test discovery starting...";
public string TestExecutionStarting => "Test Adapter for Google Test: Test execution starting...";
Expand Down
1 change: 1 addition & 0 deletions GoogleTestAdapter/Common/IStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace GoogleTestAdapter.Common
{
public interface IStrings
{
string ExtensionName { get; }
string TroubleShootingLink { get; }
string TestDiscoveryStarting { get; }
string TestExecutionStarting { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private RunSettingsContainer SetupFinalRunSettingsContainer(
navigator.MoveToChild(Constants.RunSettingsName, "");
navigator.MoveToChild(GoogleTestConstants.SettingsName, "");

return RunSettingsContainer.LoadFromXml(navigator.ReadSubtree());
return RunSettingsContainer.LoadFromXml(navigator);
}

private RunSettingsContainer SetupSettingsContainer(string solutionWorkingDir,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public override void Log(Severity severity, string message)
throw new Exception($"Unknown enum literal: {severity}");
}

activityLog.LogEntry((uint)activitylogEntrytype, SettingsWrapper.OptionsCategoryName, message);
activityLog.LogEntry((uint)activitylogEntrytype, Strings.Instance.ExtensionName, message);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace GoogleTestAdapter.VsPackage
<# } #>
<# foreach (string executable in executables.Keys) { #>

[TestMethod <#= line.Ignore ? ", Ignore" : "" #>]
[TestMethod <#= executables[executable].Ignore ? ", Ignore" : "" #>]
[TestCategory(EndToEnd)]
public void List_TestsOf_<#= executable #>()
{
Expand Down

0 comments on commit ddeff66

Please sign in to comment.