public void IndexSource()
        {
            var task = new SvnSourceIndex();

            task.BuildEngine = new MockBuild();

            var pdfFile = new TaskItem(Path.GetFullPath("MSBuild.Community.Tasks.pdb"));

            task.SymbolFiles = new ITaskItem[] { pdfFile };

            var result = task.Execute();

            Assert.IsTrue(result);
        }
示例#2
0
        public void IndexSource()
        {
            var task = new SvnSourceIndex();

            task.BuildEngine = new MockBuild();

            var pdfFile = new TaskItem(Path.GetFullPath("MSBuild.Community.Tasks.pdb"));

            task.SymbolFiles         = new ITaskItem[] { pdfFile };
            task.SourceServerSdkPath = @"C:\Program Files\Debugging Tools for Windows (x64)\srcsrv";

            var result = task.Execute();

            Assert.IsTrue(result);
        }