• Viresh Kumar's avatar
    [i2c] Test descriptor processing · 8c920467
    Viresh Kumar authored
    Add tests to validate processing of descriptors and read/write data.
    
    The design is based on the virtio_queue::mock::MockSplitQueue
    implementation, which is used to add a set of descriptors to the memory.
    The same memory is then processed via DescriptorChain and the same set
    of descriptors magically appear.
    
    This patch adds various tests for success and failure and also validate
    the data read or written.
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    8c920467
coverage_config_x86_64.json 75 Bytes