Exemplo n.º 1
0
        public void TemporarySymbolDirectoryDoesNotExists()
        {
            var buildEngine = new MockBuildEngine();
            var task        = new PublishArtifactsInManifestV3()
            {
                BuildEngine = buildEngine,
            };
            var path    = TestInputs.GetFullPath("Symbol");
            var publish = task.HandleSymbolPublishingAsync(path, MsdlToken, SymWebToken, "", path, false);

            Assert.True(task.Log.HasLoggedErrors);
        }
Exemplo n.º 2
0
        public async Task TemporarySymbolDirectoryDoesNotExists()
        {
            var buildEngine = new MockBuildEngine();
            var task        = new PublishArtifactsInManifestV3()
            {
                BuildEngine = buildEngine,
            };
            var path       = TestInputs.GetFullPath("Symbol");
            var buildAsset = new Dictionary <string, HashSet <Asset> >();
            await task.HandleSymbolPublishingAsync(path, MsdlToken, SymWebToken, "", false, buildAsset, null, path);

            Assert.True(task.Log.HasLoggedErrors);
        }