Пример #1
0
 public async Task UpdateOutputFilesDoesNotGenerateWarningWhenDefaultOutputFileIsEmpty() // Because there may be nothing developer can do about it
 {
     await UIThreadDispatcher.Invoke <Task>(async delegate
     {
         this.output.File = string.Empty;
         this.output.Content.Clear();
         this.output.Content.Append(WhiteSpaceText);
         this.provider.UpdateOutputFiles(this.input.FileNames[1], new[] { this.output });
         await this.SimulateCustomTool();
         Assert.IsFalse(ErrorItems.Any(item => item.FileName == this.input.FileNames[1]));
     });
 }