The cstyle and cppstyle indenter had certain issues with auto brackets (wrong indentation and semicolons inserted instead of closing braces). This patch fixes those issues and adds unit tests for the new behavior.
See https://bugs.kde.org/show_bug.cgi?id=370715 for more information.
Add unit tests for indentation with auto brackets (failing yet, because Kate modeline for autobrack is ignored)
Fix semicolons being inserted after opening braces when auto brackets are enabled (bug #370715)
Add unit tests for cppstyle with auto brackets (since cppstyle ignores autobrackets, behavior should be the same as without auto brackets)
Remove character consumption to enable auto brackets and revise semicolon patch accordingly, TODO: update unit tests
Expose setAutoBrackets() method to test scripts
Adjust unit tests to properly test auto brackets (not failing anymore)