canonical / canonical/wlcs

Self test appears to depend on some protocols

Open
#274 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
61
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I noticed that the self test needs a way to create a surface, and bind a seat.

I'd think the self tests would make sense as a way to ensure the compositor can properly receive requests and send events (using a roundtrip and wl_callback) and ensuring the registry behaves properly.

I'd think the test that a surface can be made would be better placed inside of the wl_compositor tests?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the self test and the existing wl_compositor tests, then trace where surface creation, seat binding, roundtrip, wl_callback, and registry checks are performed. Done means the self tests focus on receiving requests and sending events, while the surface-creation check is covered by the wl_compositor tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.