Commit Graph

3 Commits

Author SHA1 Message Date
Vsevolod Fedorov 6b92807cd7 Tests: Rename yamlparser tests and fixture directories
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures
directory in the following commits.

Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
2023-01-26 11:06:23 +03:00
Darragh Bailey e5738d0852 Allow whitespace to be significant
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.

Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.

Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
2015-08-11 18:31:48 +01:00
Max Rydahl Andersen cb876b481e Add support for 'raw' to inject direct xml to job configs.
'raw' allow users to have a fallback in case
a plugin is not yet supported or the plugin is not generating the
expected result.

Only intended as a last fallback, but useful when waiting for
review to complete.

Change-Id: If0d22d7d43d35649e78aa7481e1c0f1ed21a6025
2015-05-02 15:42:32 -07:00