[tools] Rename c_syntax and cpp_syntax.

This commit is contained in:
Andrew Hamilton 2016-11-27 13:45:10 +01:00
parent 6c425d34b5
commit 8f39ecf2ce
5 changed files with 14 additions and 14 deletions

View file

@ -153,8 +153,8 @@ class ToolsTestCase(unittest.TestCase):
("hello.h", tools.Status.normal),
("hello.cpp", tools.Status.normal)])
def test_c_syntax(self):
self._test_tool(tools.c_syntax, [("hello.c", tools.Status.ok)])
def test_c_syntax_gcc(self):
self._test_tool(tools.c_syntax_gcc, [("hello.c", tools.Status.ok)])
def test_splint(self):
self._test_tool(tools.splint, [("hello.c", tools.Status.ok),
@ -197,8 +197,8 @@ class ToolsTestCase(unittest.TestCase):
def test_html2text(self):
self._test_tool(tools.html2text, [("hi.html", tools.Status.normal)])
def test_cpp_syntax(self):
self._test_tool(tools.cpp_syntax, [("hello.cpp", tools.Status.ok)])
def test_cpp_syntax_gcc(self):
self._test_tool(tools.cpp_syntax_gcc, [("hello.cpp", tools.Status.ok)])
def test_bcpp(self):
self._test_tool(tools.bcpp, [("hello.cpp", tools.Status.normal)])