85 references to _mockEngine
Microsoft.Build.Tasks.UnitTests (85)
Unzip_Tests.cs (85)
37BuildEngine = _mockEngine,
45unzip.Execute().ShouldBeTrue(_mockEngine.Log);
47_mockEngine.Log.ShouldContain("638AF4AE88A146E09CB69FE1CA7083DC", customMessage: _mockEngine.Log);
66BuildEngine = _mockEngine,
74unzip.Execute().ShouldBeFalse(_mockEngine.Log);
75_mockEngine.Log = string.Empty;
80BuildEngine = _mockEngine,
88unzip2.Execute().ShouldBeTrue(_mockEngine.Log);
90_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log);
91_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log);
96BuildEngine = _mockEngine,
104unzip3.Execute().ShouldBeTrue(_mockEngine.Log);
126BuildEngine = _mockEngine,
134unzip.Execute().ShouldBeTrue(customMessage: _mockEngine.Log);
136_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log);
137_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log);
138_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "F83E9633685494E53BEF3794EDEEE6A6.txt"), customMessage: _mockEngine.Log);
139_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "21D6D4596067723B3AC5DF9A8B3CBFE7.txt"), customMessage: _mockEngine.Log);
149BuildEngine = _mockEngine,
154unzip.Execute().ShouldBeFalse(_mockEngine.Log);
156_mockEngine.Log.ShouldContain("MSB3931", customMessage: _mockEngine.Log);
196BuildEngine = _mockEngine,
204unzip.Execute().ShouldBeFalse(_mockEngine.Log);
206_mockEngine.Log.ShouldContain("D6DFD219DACE48F8B86EFCDF98433333.txt' is denied", customMessage: _mockEngine.Log);
221BuildEngine = _mockEngine,
227unzip.Execute().ShouldBeFalse(_mockEngine.Log);
229_mockEngine.Log.ShouldContain("MSB3933", customMessage: _mockEngine.Log);
242BuildEngine = _mockEngine,
248unzip.Execute().ShouldBeFalse(_mockEngine.Log);
250_mockEngine.Log.ShouldContain("MSB3932", customMessage: _mockEngine.Log);
268BuildEngine = _mockEngine,
277unzip.Execute().ShouldBeTrue(_mockEngine.Log);
279_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log);
280_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log);
298BuildEngine = _mockEngine,
307unzip.Execute().ShouldBeTrue(_mockEngine.Log);
309_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log);
310_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log);
332BuildEngine = _mockEngine,
342unzip.Execute().ShouldBeTrue(_mockEngine.Log);
344_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file1.js"), customMessage: _mockEngine.Log);
345_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "file1.js.map"), customMessage: _mockEngine.Log);
346_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file2.js"), customMessage: _mockEngine.Log);
347_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "readme.txt"), customMessage: _mockEngine.Log);
348_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "sub", "subfile.js"), customMessage: _mockEngine.Log);
366BuildEngine = _mockEngine,
375unzip.Execute().ShouldBeFalse(_mockEngine.Log);
377_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log);
395BuildEngine = _mockEngine,
404unzip.Execute().ShouldBeFalse(_mockEngine.Log);
406_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log);
424BuildEngine = _mockEngine,
433unzip.Execute().ShouldBeFalse(_mockEngine.Log);
435_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log);
453BuildEngine = _mockEngine,
462unzip.Execute().ShouldBeFalse(_mockEngine.Log);
464_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log);
488BuildEngine = _mockEngine,
495unzip.Execute().ShouldBeTrue(_mockEngine.Log);
497_mockEngine.Log.ShouldContain(unzippedFilePath, customMessage: _mockEngine.Log);