(tmpdir)
| 158 | |
| 159 | |
| 160 | def test_help(tmpdir): |
| 161 | exe = __copy_cppcheck_premium(tmpdir) |
| 162 | |
| 163 | exitcode, stdout, _ = cppcheck(['--help'], cppcheck_exe=exe) |
| 164 | assert exitcode == 0 |
| 165 | assert stdout.startswith('Cppcheck ') # check for product name - TODO: should be "Cppcheck Premium" |
| 166 | assert '--premium=' in stdout, stdout # check for premium option |
| 167 | assert 'cppchecksolutions.com' in stdout, stdout # check for premium help link |
| 168 | |
| 169 | |
| 170 | def test_cwe(tmpdir): |
nothing calls this directly
no test coverage detected