Пример #1
0
 public void ValidateFile_SimpleLift_ReturnsNull()
 {
     var handler = new LiftFileHandler();
     using(var file = new TempFile("<lift/>"))
     {
         var result = handler.ValidateFile(file.Path, new ConsoleProgress());
         Assert.IsNull(result);
     }
 }
Пример #2
0
 public void ValidateFile_IllFormedXml_ReturnsProblem()
 {
     var handler = new LiftFileHandler();
     using (var file = new TempFile("<lift>"))
     {
         var result = handler.ValidateFile(file.Path, new ConsoleProgress());
         Assert.IsNotNull(result);
     }
 }