(tmpdir)
| 81 | |
| 82 | |
| 83 | def test_json_invalid_arguments(tmpdir): |
| 84 | compilation_db = [ |
| 85 | {"directory": str(tmpdir), |
| 86 | "arguments": "", |
| 87 | "file": "bug1.cpp", |
| 88 | "output": "bug1.o"} |
| 89 | ] |
| 90 | |
| 91 | expected = "'arguments' field in compilation database entry is not a JSON array" |
| 92 | |
| 93 | __test_project_error(tmpdir, "json", json.dumps(compilation_db), expected) |
| 94 | |
| 95 | |
| 96 | def test_sln_invalid_file(tmpdir): |
nothing calls this directly
no test coverage detected