Added tests for html tools.
This commit is contained in:
parent
fb93897ac7
commit
60a99ee705
5 changed files with 39 additions and 0 deletions
|
|
@ -129,6 +129,18 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([(tools.splint, "hello.c", tools.Status.ok),
|
||||
(tools.splint, "hello.h", tools.Status.ok)])
|
||||
|
||||
def test_html_syntax(self):
|
||||
self._sub_tests([
|
||||
(tools.html_syntax, "hi.html", tools.Status.problem)])
|
||||
|
||||
def test_tidy(self):
|
||||
self._sub_tests([
|
||||
(tools.tidy, "hi.html", tools.Status.normal)])
|
||||
|
||||
def test_html2text(self):
|
||||
self._sub_tests([
|
||||
(tools.html2text, "hi.html", tools.Status.normal)])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
golden.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue