81 references to _mockEngine
Microsoft.Build.Tasks.UnitTests (81)
Unzip_Tests.cs (81)
38BuildEngine = _mockEngine, 45unzip.Execute().ShouldBeTrue(_mockEngine.Log); 47_mockEngine.Log.ShouldContain("638AF4AE88A146E09CB69FE1CA7083DC", customMessage: _mockEngine.Log); 66BuildEngine = _mockEngine, 73unzip.Execute().ShouldBeFalse(_mockEngine.Log); 74_mockEngine.Log = string.Empty; 79BuildEngine = _mockEngine, 86unzip2.Execute().ShouldBeTrue(_mockEngine.Log); 88_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 89_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 94BuildEngine = _mockEngine, 101unzip3.Execute().ShouldBeTrue(_mockEngine.Log); 123BuildEngine = _mockEngine, 130unzip.Execute().ShouldBeTrue(customMessage: _mockEngine.Log); 132_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 133_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 134_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "F83E9633685494E53BEF3794EDEEE6A6.txt"), customMessage: _mockEngine.Log); 135_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "21D6D4596067723B3AC5DF9A8B3CBFE7.txt"), customMessage: _mockEngine.Log); 145BuildEngine = _mockEngine, 149unzip.Execute().ShouldBeFalse(_mockEngine.Log); 151_mockEngine.Log.ShouldContain("MSB3931", customMessage: _mockEngine.Log); 191BuildEngine = _mockEngine, 198unzip.Execute().ShouldBeFalse(_mockEngine.Log); 200_mockEngine.Log.ShouldContain("D6DFD219DACE48F8B86EFCDF98433333.txt' is denied", customMessage: _mockEngine.Log); 215BuildEngine = _mockEngine, 220unzip.Execute().ShouldBeFalse(_mockEngine.Log); 222_mockEngine.Log.ShouldContain("MSB3933", customMessage: _mockEngine.Log); 235BuildEngine = _mockEngine, 240unzip.Execute().ShouldBeFalse(_mockEngine.Log); 242_mockEngine.Log.ShouldContain("MSB3932", customMessage: _mockEngine.Log); 260BuildEngine = _mockEngine, 268unzip.Execute().ShouldBeTrue(_mockEngine.Log); 270_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 271_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 289BuildEngine = _mockEngine, 297unzip.Execute().ShouldBeTrue(_mockEngine.Log); 299_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 300_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 322BuildEngine = _mockEngine, 331unzip.Execute().ShouldBeTrue(_mockEngine.Log); 333_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file1.js"), customMessage: _mockEngine.Log); 334_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "file1.js.map"), customMessage: _mockEngine.Log); 335_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file2.js"), customMessage: _mockEngine.Log); 336_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "readme.txt"), customMessage: _mockEngine.Log); 337_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "sub", "subfile.js"), customMessage: _mockEngine.Log); 355BuildEngine = _mockEngine, 363unzip.Execute().ShouldBeFalse(_mockEngine.Log); 365_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 383BuildEngine = _mockEngine, 391unzip.Execute().ShouldBeFalse(_mockEngine.Log); 393_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log); 411BuildEngine = _mockEngine, 419unzip.Execute().ShouldBeFalse(_mockEngine.Log); 421_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 439BuildEngine = _mockEngine, 447unzip.Execute().ShouldBeFalse(_mockEngine.Log); 449_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log);