Skip to content

Commit

Permalink
GH703: Add FileLogger switches to MSBuild Runner
Browse files Browse the repository at this point in the history
Addresses issue #703

Provides the ability to add FileLogger parameters to the MsBuild command
line.  The various fileloggerparameters (flp) can also be specified.

The parameters that can be created are /fl, /fl[1 thru 9], /flp, and
/flp[1 thru 9]
  • Loading branch information
bradtwurst committed Sep 9, 2016
1 parent 15d136e commit c742191
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Cake.Common.Tests/Unit/Tools/MSBuild/MSBuildSettingsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,18 @@ public void Should_Be_Empty_By_Default()
Assert.Empty(settings.Loggers);
}
}

public sealed class TheFileLoggersProperty
{
[Fact]
public void Should_Be_Empty_By_Default()
{
// Given
var settings = new MSBuildSettings();

// Then
Assert.Empty(settings.FileLoggers);
}
}
}
}

0 comments on commit c742191

Please sign in to comment.