6db761d162
The test runs wayland_scanner on a set of XML protocol files which have malformed element names, and confirms that an error is produced and indicates the correct line. Copyright notifications are not included in the test files, as they are not code; of course, the project license still applies. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
12 lines
388 B
XML
12 lines
388 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<protocol name="the_protocol">
|
|
<interface name="the_interface" version="1">
|
|
<description summary="the summary">
|
|
</description>
|
|
<enum name="4the_enum">
|
|
<entry name="60_seconds" value="1" summary="this is the first"/>
|
|
<entry name="invalid entry" value="2" summary="this is the first"/>
|
|
</enum>
|
|
</interface>
|
|
</protocol>
|