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); 201BuildEngine = _mockEngine, 209unzip.Execute().ShouldBeFalse(_mockEngine.Log); 211_mockEngine.Log.ShouldContain("D6DFD219DACE48F8B86EFCDF98433333.txt' is denied", customMessage: _mockEngine.Log); 226BuildEngine = _mockEngine, 232unzip.Execute().ShouldBeFalse(_mockEngine.Log); 234_mockEngine.Log.ShouldContain("MSB3933", customMessage: _mockEngine.Log); 247BuildEngine = _mockEngine, 253unzip.Execute().ShouldBeFalse(_mockEngine.Log); 255_mockEngine.Log.ShouldContain("MSB3932", customMessage: _mockEngine.Log); 273BuildEngine = _mockEngine, 282unzip.Execute().ShouldBeTrue(_mockEngine.Log); 284_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 285_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 303BuildEngine = _mockEngine, 312unzip.Execute().ShouldBeTrue(_mockEngine.Log); 314_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "BE78A17D30144B549D21F71D5C633F7D.txt"), customMessage: _mockEngine.Log); 315_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "A04FF4B88DF14860B7C73A8E75A4FB76.txt"), customMessage: _mockEngine.Log); 337BuildEngine = _mockEngine, 347unzip.Execute().ShouldBeTrue(_mockEngine.Log); 349_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file1.js"), customMessage: _mockEngine.Log); 350_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "file1.js.map"), customMessage: _mockEngine.Log); 351_mockEngine.Log.ShouldContain(Path.Combine(destination.Path, "file2.js"), customMessage: _mockEngine.Log); 352_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "readme.txt"), customMessage: _mockEngine.Log); 353_mockEngine.Log.ShouldNotContain(Path.Combine(destination.Path, "sub", "subfile.js"), customMessage: _mockEngine.Log); 371BuildEngine = _mockEngine, 380unzip.Execute().ShouldBeFalse(_mockEngine.Log); 382_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 400BuildEngine = _mockEngine, 409unzip.Execute().ShouldBeFalse(_mockEngine.Log); 411_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log); 429BuildEngine = _mockEngine, 438unzip.Execute().ShouldBeFalse(_mockEngine.Log); 440_mockEngine.Log.ShouldContain("MSB3937", customMessage: _mockEngine.Log); 458BuildEngine = _mockEngine, 467unzip.Execute().ShouldBeFalse(_mockEngine.Log); 469_mockEngine.Log.ShouldContain("MSB3938", customMessage: _mockEngine.Log); 493BuildEngine = _mockEngine, 500unzip.Execute().ShouldBeTrue(_mockEngine.Log); 502_mockEngine.Log.ShouldContain(unzippedFilePath, customMessage: _mockEngine.Log);