d83fb2b2de
Parsing unit test checks that the xml values are parsed correctly and that the DriverInfo structure is populated with the expected values. Evaluate unit test checks that blacklisting / whitelisting logic blocks OS/vendor/driver/device as expected. Change-Id: Ib1b0926606f0835207c324193bbe19ba83f86bdc Reviewed-on: https://gerrit.libreoffice.org/22371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
47 lines
1.3 KiB
XML
Executable file
47 lines
1.3 KiB
XML
Executable file
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
|
|
<!--
|
|
entry attributes:
|
|
os - "all", "xp", "server2003", "vista", "7", "8", "8_1", "10"
|
|
vendor - "all", "intel", "ati", "amd", "nvidia", "microsoft"
|
|
compare - "less", "less_equal", "greater", "greater_equal", "equal", "not_equal", "between_exclusive", "between_inclusive", "between_inclusive_start"
|
|
version
|
|
minVersion
|
|
maxVersion
|
|
-->
|
|
|
|
<root>
|
|
<whitelist>
|
|
</whitelist>
|
|
<blacklist>
|
|
<entry os="xp" vendor="all">
|
|
<device id="all"/>
|
|
</entry>
|
|
<entry os="server2003" vendor="all">
|
|
<device id="all"/>
|
|
</entry>
|
|
<entry os="vista" vendor="all">
|
|
<device id="all"/>
|
|
</entry>
|
|
|
|
<entry os="all" vendor="amd" compare="less" version="10.20.30.40">
|
|
<device id="all"/>
|
|
</entry>
|
|
|
|
<entry os="all" vendor="microsoft">
|
|
<device id="all"/>
|
|
</entry>
|
|
|
|
<entry os="all" vendor="intel" compare="less" version="10.18.14.4264">
|
|
<device id="all"/>
|
|
</entry>
|
|
|
|
</blacklist>
|
|
</root>
|