| 47 | }; |
| 48 | |
| 49 | static Settings create_settings() |
| 50 | { |
| 51 | // TODO: load std.cfg |
| 52 | Settings s; |
| 53 | s.templateFormat = "{bold}{file}:{line}:{column}: {red}{inconclusive:{magenta}}{severity}:{inconclusive: inconclusive:}{default} {message} [{id}]{reset}\\n{code}"; |
| 54 | s.templateLocation = "{bold}{file}:{line}:{column}: {dim}note:{reset} {info}\\n{code}"; |
| 55 | s.addEnabled("all"); |
| 56 | s.certainty.setEnabled(Certainty::inconclusive, true); |
| 57 | return s; |
| 58 | } |
| 59 | static const Settings s_settings = create_settings(); |
| 60 | static DummyErrorLogger s_errorLogger; |
| 61 | static const FileWithDetails s_file("test.cpp", Standards::Language::CPP, 0); |
no test coverage detected