Added tests for c++ tools.
This commit is contained in:
parent
60a99ee705
commit
db660521fa
4 changed files with 32 additions and 1 deletions
|
|
@ -123,7 +123,8 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([
|
||||
(tools.uncrustify, "closure-util.java", tools.Status.problem),
|
||||
(tools.uncrustify, "hello.c", tools.Status.normal),
|
||||
(tools.uncrustify, "hello.h", tools.Status.normal)])
|
||||
(tools.uncrustify, "hello.h", tools.Status.normal),
|
||||
(tools.uncrustify, "hello.cpp", tools.Status.normal)])
|
||||
|
||||
def test_splint(self):
|
||||
self._sub_tests([(tools.splint, "hello.c", tools.Status.ok),
|
||||
|
|
@ -141,6 +142,10 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([
|
||||
(tools.html2text, "hi.html", tools.Status.normal)])
|
||||
|
||||
def test_bcpp(self):
|
||||
self._sub_tests([
|
||||
(tools.bcpp, "hello.cpp", tools.Status.normal)])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
golden.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue