Beispiel #1
0
 public void CheckTableConsistence_DoesNotThrow(string file, string xpath)
 {
     using (var conn = new AutoCheck.Core.Connectors.Html(GetSampleFile(file)))
         Assert.DoesNotThrow(() => conn.ValidateTable(xpath));
 }
Beispiel #2
0
 public void CheckTableConsistence_Throws_TableInconsistencyException(string file, string xpath)
 {
     //TODO: check for rowspan consistency
     using (var conn = new AutoCheck.Core.Connectors.Html(GetSampleFile(file)))
         Assert.Throws <TableInconsistencyException>(() => conn.ValidateTable(xpath));
 }