e5d03a2 tests: utils: Add virTestLoadFileJSON helper

Authored and Committed by Peter Krempa 6 years ago
    tests: utils: Add virTestLoadFileJSON helper
    
    This new helper loads, parses and returns a JSON file from 'abs_srcdir'
    By using variable arguments for the function, it's not necessary to
    format the path separately in the test cases.
    
    Reviewed-by: Eric Blake <eblake@redhat.com>
    
        
file modified
+34 -0
file modified
+4 -0