Skip to content
  • Daniel P. Berrangé's avatar
    tests: add API coverage test case · 8b26a358
    Daniel P. Berrangé authored
    
    
    This validates that the rust code in src/ references all
    the funtions, macros and enums defined in the libvirt API
    XML document.
    
    Due to large gaps we cannot yet validate the full API
    coverage. Thus we define various name prefixes under
    which we enforce full coverage. The rest is only
    validated if enabling the 'api_coverage' feature, eg
    
      cargo test --feature api_coverage
    
    Initially the virSecret, virError, VIR_FROM & VIR_ERR
    prefixes are marked as enforcing since we have 100%
    API coverage for them.
    
    Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    8b26a358
This project manages its dependencies using Cargo. Learn more