85 references to _mockEngine
Microsoft.Build.Tasks.UnitTests (85)
Unzip_Tests.cs (85)
39BuildEngine = _mockEngine, 46unzip.Execute().ShouldBeTrue(_mockEngine.Log); 48_mockEngine.Log.ShouldContain("638AF4AE88A146E09CB69FE1CA7083DC", customMessage: _mockEngine.Log); 67BuildEngine = _mockEngine, 74unzip.Execute().ShouldBeFalse(_mockEngine.Log); 75_mockEngine.Log = string.Empty; 80BuildEngine = _mockEngine, 87unzip2.Execute().ShouldBeTrue(_mockEngine.Log); 89_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 90_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 95BuildEngine = _mockEngine, 102unzip3.Execute().ShouldBeTrue(_mockEngine.Log); 124BuildEngine = _mockEngine, 131unzip.Execute().ShouldBeTrue(customMessage: _mockEngine.Log); 133_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 134_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 135_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "F83E9633685494E53BEF3794EDEEE6A6.txt"), customMessage: _mockEngine.Log); 136_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "subdir", "21D6D4596067723B3AC5DF9A8B3CBFE7.txt"), customMessage: _mockEngine.Log); 146BuildEngine = _mockEngine, 150unzip.Execute().ShouldBeFalse(_mockEngine.Log); 152_mockEngine.Log.ShouldContain("MSB3931", customMessage: _mockEngine.Log); 192BuildEngine = _mockEngine, 199unzip.Execute().ShouldBeFalse(_mockEngine.Log); 201_mockEngine.Log.ShouldContain("D6DFD219DACE48F8B86EFCDF98433333.txt' is denied", customMessage: _mockEngine.Log); 216BuildEngine = _mockEngine, 221unzip.Execute().ShouldBeFalse(_mockEngine.Log); 223_mockEngine.Log.ShouldContain("MSB3933", customMessage: _mockEngine.Log); 236BuildEngine = _mockEngine, 241unzip.Execute().ShouldBeFalse(_mockEngine.Log); 243_mockEngine.Log.ShouldContain("MSB3932", customMessage: _mockEngine.Log); 261BuildEngine = _mockEngine, 269unzip.Execute().ShouldBeTrue(_mockEngine.Log); 271_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 272_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 290BuildEngine = _mockEngine, 298unzip.Execute().ShouldBeTrue(_mockEngine.Log); 300_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 301_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 323BuildEngine = _mockEngine, 332unzip.Execute().ShouldBeTrue(_mockEngine.Log); 334_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file1.js"), customMessage: _mockEngine.Log); 335_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "file1.js.map"), customMessage: _mockEngine.Log); 336_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file2.js"), customMessage: _mockEngine.Log); 337_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "readme.txt"), customMessage: _mockEngine.Log); 338_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "sub", "subfile.js"), customMessage: _mockEngine.Log); 356BuildEngine = _mockEngine, 364unzip.Execute().ShouldBeFalse(_mockEngine.Log); 366_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 384BuildEngine = _mockEngine, 392unzip.Execute().ShouldBeFalse(_mockEngine.Log); 394_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log); 412BuildEngine = _mockEngine, 420unzip.Execute().ShouldBeFalse(_mockEngine.Log); 422_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 440BuildEngine = _mockEngine, 448unzip.Execute().ShouldBeFalse(_mockEngine.Log); 450_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log); 474BuildEngine = _mockEngine, 480unzip.Execute().ShouldBeTrue(_mockEngine.Log); 482_mockEngine.Log.ShouldContain(unzippedFilePath, customMessage: _mockEngine.Log);