Rules file syntax

Those tests check that the variaton in comment, casing, punctuation, etc. do not impact rules understanding.

Summary
Rules file syntaxThose tests check that the variaton in comment, casing, punctuation, etc.
Tests
Reference fileThis rules file will serve as reference for all folowing tests
Casing
Spacing and comments

Tests

Reference file

This rules file will serve as reference for all folowing tests

App contains Main
GUI contains Gtk
GUI contains Glib
GUI contains Pango
archicheck -lc reference_rules.txt

The reference result is :

GUI contains Gtk and Glib and Pango
App contains Main

Casing

App contains Main
GUI CONTAINS Gtk
GUI coNTains Glib
GUI Contains Pango

Spacing and comments

App contains Main -- final comment

-- comment

   -- Tab and extra spaces :
            GUI       contains  Gtk

GUI contains Glib

-- Not a comment, should be taken into account :
- GUI contains Pango

-- comment, should not be taken into account :
-- DB contains DB.Query  *********************

-- comment :
--DB contains DB.IO