summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2023-06-03Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith1-1/+1
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-05-01Allow xcb tests to end with connection errorsAlan Coopersmith1-1/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-28Allow tests to repeat a data packet a specified number of timesAlan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-04-27Allow test programs to provide responses to selected QueryExtension callsAlan Coopersmith1-1/+3
Allows them to provide their own psuedo-implementations of Extensions. If the sequence in a response is set to XHIV_SEQ_MATCHDATA, then the new match_data field has a pointer to additional matching constraints. So far only X_QueryExtension will check those, and it expects a null terminated extension name string to match against the queried extension. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Allow requests to return a chain of multiple repliesAlan Coopersmith1-0/+3
Needed for XListFontsWithInfo test
2013-03-30Expose sequence number setting "extension" to test programsAlan Coopersmith1-2/+4
Allows setting specific sequeunce numbers for matching request patterns to avoid having to match exact sequences of calls Xlib may make behind the scenes to check for/use various extensions for you. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Allow building without xcb for testing on older systemsAlan Coopersmith1-0/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-03-30Create initial frameworkAlan Coopersmith1-0/+64
This provides a local static libXhiv.a library that forks and runs a fake X server process that simply responds with a canned set of replies, and which test cases can be written that check to see how libraries handle those replies. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>