summaryrefslogtreecommitdiff
path: root/gtk/gtktestatcontext.h
Commit message (Collapse)AuthorAgeFilesLines
* gtk: Clean up docs syntaxMatthias Clasen2021-05-221-12/+12
| | | | Replace leftover gtk-doc syntax (#Type) with backquotes.
* a11y: Avoid __ prefixes for variable namesMatthias Clasen2021-01-081-15/+15
| | | | Seems that msvc does not like that.
* a11y: Parse reference lists using varargsEmmanuele Bassi2020-11-101-15/+15
| | | | | | | | | | Using GList is a bit lame, and makes the API more complicated to use than necessary in the common case. The only real use case for a GList is gtk_widget_add_mnemonic_label(), and for that we can use the GValue-based API instead. Fixes: #3343
* a11y: Fix the error message for the attribute test macrosEmmanuele Bassi2020-07-281-4/+4
| | | | We're missing a closing parenthesis.
* a11y: Simplify the test APIEmmanuele Bassi2020-07-261-67/+75
| | | | | | | We don't need as many functions to print out the property, relation, and state of an accessible. Additionally, we should allow comparing the accessible attributes with an expected value, and print out the real accessible value if they do not match.
* a11y: Add more test APIEmmanuele Bassi2020-07-261-23/+95
|
* a11y: Add testing APIEmmanuele Bassi2020-07-261-0/+73
We want to test the accessibility API, as well as the implementation inside each widget. For that, we should expose an API that lets us verify that a GtkAccessible has a given role, as well as a given property. The API follows the pattern of other GTest API: - a macro to assert that a condition is respected - a function that prints out the error message in case of failure