summaryrefslogtreecommitdiff
path: root/tests/genie
Commit message (Collapse)AuthorAgeFilesLines
* genie: Accept accessibility and async modifiers on "construct" creation methodsRico Tzschichholz2021-11-232-0/+631
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1235
* codegen: Emit constants without initializer list in defines sectionRico Tzschichholz2021-11-071-1/+2
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/440
* tests: Add more "statement" tests for genie to increase coverageRico Tzschichholz2021-11-0622-0/+617
|
* tests: Add more "declaration" tests for genie to increase coverageRico Tzschichholz2021-11-0512-0/+1224
|
* genie: Properly handle plain "get" or "set" property accessorsRico Tzschichholz2021-11-042-0/+323
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1248
* tests: Add expected generated C sourcesRico Tzschichholz2021-07-1664-0/+3235
|
* genie: Fix parser's inner state when a struct is declared after a classJeremy Philippe2020-01-061-0/+13
| | | | | | | | | | | If the struct is declared after a class and has a default creation method, the parser will raise a "missing return type in method ..." error. The cause of the bug is that the global 'class_name' variable is not updated when the parser encounters a struct, so the previous value is used, and if a class has been parsed before, this value will be the name of the class instead of the struct.
* tests: Add regression test for genie struct constructionJeremy Philippe2019-09-031-0/+9
|
* genie: Allow the main function "init" to return an integer as exit statusAlistair Thomas2019-02-261-0/+2
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/402
* tests: Add some Genie tests to increase coverageAlistair Thomas2019-02-2661-0/+346