aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-13 15:08:27 -0700
committerRob Mensching <rob@firegiant.com>2018-07-13 15:08:27 -0700
commit06835732a8e6e9d18d548fbb4487bcaf5c8e1725 (patch)
treec10530de5d650115326d68cdd5f016a6a91c9097 /src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs
parent6b9b24f21f3a9273b0b1b1000a05ba732fcf301f (diff)
downloadwix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.tar.gz
wix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.tar.bz2
wix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.zip
Fix MSBuild handling of cultures plus add unit tests
Fixes #5847
Diffstat (limited to 'src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs')
-rw-r--r--src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs b/src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs
new file mode 100644
index 00000000..0559057f
--- /dev/null
+++ b/src/test/WixToolsetTest.BuildTasks/FakeBuildEngine.cs
@@ -0,0 +1,29 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolsetTest.BuildTasks
4{
5 using System.Collections;
6 using System.Diagnostics;
7 using Microsoft.Build.Framework;
8
9 internal class FakeBuildEngine : IBuildEngine
10 {
11 public int ColumnNumberOfTaskNode => 0;
12
13 public bool ContinueOnError => false;
14
15 public int LineNumberOfTaskNode => 0;
16
17 public string ProjectFileOfTaskNode => "fake_wix.targets";
18
19 public bool BuildProjectFile(string projectFileName, string[] targetNames, IDictionary globalProperties, IDictionary targetOutputs) => throw new System.NotImplementedException();
20
21 public void LogCustomEvent(CustomBuildEventArgs e) => Debug.Write(e.Message);
22
23 public void LogErrorEvent(BuildErrorEventArgs e) => Debug.Write(e.Message);
24
25 public void LogMessageEvent(BuildMessageEventArgs e) => Debug.Write(e.Message);
26
27 public void LogWarningEvent(BuildWarningEventArgs e) => Debug.Write(e.Message);
28 }
29}