From 6db761d16229084e576848967402d30b656e2dbf Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Sat, 13 Apr 2019 18:33:06 -0400 Subject: tests: Verify that wayland_scanner can catch bad identifiers 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 --- tests/data/bad-identifier-interface.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/data/bad-identifier-interface.xml (limited to 'tests/data/bad-identifier-interface.xml') diff --git a/tests/data/bad-identifier-interface.xml b/tests/data/bad-identifier-interface.xml new file mode 100644 index 0000000..17404c5 --- /dev/null +++ b/tests/data/bad-identifier-interface.xml @@ -0,0 +1,8 @@ + + + + + + + + -- cgit v1.2.3-70-g09d2