20 references to _mockEngine
Microsoft.Build.Tasks.UnitTests (20)
ZipDirectory_Tests.cs (20)
36BuildEngine = _mockEngine,
41zipDirectory.Execute().ShouldBeTrue(_mockEngine.Log);
43_mockEngine.Log.ShouldContain(sourceFolder.Path, customMessage: _mockEngine.Log);
44_mockEngine.Log.ShouldContain(zipFilePath, customMessage: _mockEngine.Log);
77BuildEngine = _mockEngine,
83zipDirectory.Execute().ShouldBeTrue(_mockEngine.Log);
85_mockEngine.Log.ShouldContain(sourceFolder.Path, customMessage: _mockEngine.Log);
86_mockEngine.Log.ShouldContain(file.Path, customMessage: _mockEngine.Log);
116BuildEngine = _mockEngine,
121zipDirectory.Execute().ShouldBeFalse(_mockEngine.Log);
123_mockEngine.Log.ShouldContain("MSB3942", customMessage: _mockEngine.Log);
132BuildEngine = _mockEngine,
136zipDirectory.Execute().ShouldBeFalse(_mockEngine.Log);
138_mockEngine.Log.ShouldContain("MSB3941", customMessage: _mockEngine.Log);