summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/DummyBuildEngine.cs
blob: df76e13a79aabc4ff411df65346ecf45e30e858e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections;
using Microsoft.Build.Framework;

namespace Xamarin.Forms.Xaml.UnitTests
{
	public class DummyBuildEngine : IBuildEngine
	{
		public void LogErrorEvent (BuildErrorEventArgs e)
		{
		}

		public void LogWarningEvent (BuildWarningEventArgs e)
		{
		}

		public void LogMessageEvent (BuildMessageEventArgs e)
		{
		}

		public void LogCustomEvent (CustomBuildEventArgs e)
		{
		}

		public bool BuildProjectFile (string projectFileName, string[] targetNames, IDictionary globalProperties, IDictionary targetOutputs)
		{
			return false;
		}

		public bool ContinueOnError {
			get { return false; }
		}

		public int LineNumberOfTaskNode {
			get { return 1; }
		}

		public int ColumnNumberOfTaskNode {
			get { return 1; }
		}

		public string ProjectFileOfTaskNode {
			get { return String.Empty; }
		}
	}
}