Added a test for the jlint tool.
This commit is contained in:
parent
36a09288fa
commit
39859cd49e
3 changed files with 5 additions and 0 deletions
BIN
golden-files/input/javaversion.class
Normal file
BIN
golden-files/input/javaversion.class
Normal file
Binary file not shown.
1
golden-files/results/jlint-javaversion_class
Normal file
1
golden-files/results/jlint-javaversion_class
Normal file
|
|
@ -0,0 +1 @@
|
|||
Verification completed: 0 reported messages.
|
||||
|
|
@ -129,6 +129,10 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([
|
||||
(tools.antic, "closure-util.java", tools.Status.problem)])
|
||||
|
||||
def test_jlint(self):
|
||||
self._sub_tests([
|
||||
(tools.jlint, "javaversion.class", tools.Status.ok)])
|
||||
|
||||
def test_uncrustify(self):
|
||||
self._sub_tests([
|
||||
(tools.uncrustify, "closure-util.java", tools.Status.problem),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue