Tests: add test for diagnostics using all `valac` switches
In to fix this issue:
- Create a new set of tests source code project where:
a)
Use a customvapi
;b)
use aresource file
for costume widgets; the sources should not use meson to build a target - Create a new test case based on
lsp-diagnostics-outoftree
where the Cliente'sValaConfiguration
gets allvala_args
in place - Catch the diagnostics publication for the interested files:
a)
First without the complete arguments (no--vapidir
for example) checking byassert
s that the diagnostics detects the problems on missing arguments (i.e., name space not found); andb)
Second with all required switches, there should not trigger diagnostics