(tmpdir, test_file, ignore)
| 2068 | |
| 2069 | |
| 2070 | def __write_gui_project(tmpdir, test_file, ignore): |
| 2071 | project_file = os.path.join(tmpdir, 'test.cppcheck') |
| 2072 | with open(project_file, 'wt') as f: |
| 2073 | f.write( |
| 2074 | """<?xml version="1.0" encoding="UTF-8"?> |
| 2075 | <project> |
| 2076 | <paths> |
| 2077 | <dir name="{}"/> |
| 2078 | </paths> |
| 2079 | <ignore> |
| 2080 | <path name="{}"/> |
| 2081 | </ignore> |
| 2082 | </project>""".format(test_file, ignore)) |
| 2083 | |
| 2084 | return project_file |
| 2085 | |
| 2086 | |
| 2087 | def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False): |
no test coverage detected