Skip to content

Test QSocketWrapper #75

@nathanielhourt

Description

@nathanielhourt

See VotingApp/capnqt/QSocketWrapper.hpp

This class seems to be working fine, but a full complement of unit tests is still needed. Tests should include basic functionality (that data is delivered intact) and also probe all more advanced functionality such as asynchronous usage (multiple pending reads), order of events (reading before data is available vs after), read sizes (kj allows a read of at least N bytes but up to M; make sure this works correctly), EOF handling, etc.

Don't forget to test writes as well, though writes are simpler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions