(tmpdir)
| 69 | |
| 70 | |
| 71 | def test_json_no_arguments(tmpdir): |
| 72 | compilation_db = [ |
| 73 | {"directory": str(tmpdir), |
| 74 | "file": "bug1.cpp", |
| 75 | "output": "bug1.o"} |
| 76 | ] |
| 77 | |
| 78 | expected = "no 'arguments' or 'command' field found in compilation database entry" |
| 79 | |
| 80 | __test_project_error(tmpdir, "json", json.dumps(compilation_db), expected) |
| 81 | |
| 82 | |
| 83 | def test_json_invalid_arguments(tmpdir): |
nothing calls this directly
no test coverage detected