aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_size.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-11Spread tests around the screenDavid Robillard1-3/+4
This makes it unlikely for tests to be completely obscured, which should hopefully make things a bit more consistent and reliable, especially when running all of the tests in parallel. It also makes things a bit less visually confusing.
2023-01-09Raise test windows initiallyDavid Robillard1-1/+1
This seems to make thing a bit more reliable, and matches what was happening before the addition of more precise show commands.
2023-01-08Add support for raising windowsDavid Robillard1-1/+1
2023-01-07Replace map/unmap events with more expressive configure eventsDavid Robillard1-5/+1
2023-01-07Rename create/destroy events to realize/unrealizeDavid Robillard1-7/+7
As evidence that this was confusing, the documentation for these was an outright lie, and I've burned quite a bit of time in the past few days trying to rework things based around that flawed understanding. These names make it clear what these events actually are. If we need actual create/destroy events with a broader scope, they'll have to be added, but I suspect those aren't actually useful anyway.
2022-10-07Use uppercase integer literal suffixesDavid Robillard1-1/+1
2022-05-21Use consistent integer types for view positions and sizesDavid Robillard1-10/+10
Actual window sizes and positions fit easily in a 16-bit integer. So, we use that in "representation contexts" like events. This makes structures smaller, and allows the values to be converted to float, double, or integer without casting (since any int16_t or uint16_t value can fit in them without loss). Setter APIs use native integers for convenience, to avoid casting hassles when doing arithmetic. Ranges are checked at runtime.
2022-05-21Add a uniform API for setting size hintsDavid Robillard1-7/+8
This collapses many functions into one, which makes the API more easily extensible and reduces code size.
2022-05-20Use consistent class names and titles in tests and examplesDavid Robillard1-1/+1
2021-12-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
See https://reuse.software/ for details.
2021-05-06Set distinct window titles for testsDavid Robillard1-1/+1
This makes things a little more clear when something goes wrong, for example if a test hangs.
2021-05-03Improve test coverageDavid Robillard1-0/+138