Skip to content
Snippets Groups Projects
  • Jeremy Whiting's avatar
    eef37c44
    Added mock-graphics to give specified json output for testing. · eef37c44
    Jeremy Whiting authored
    In order to test SrtGraphics on CI systems that likely aren't running
    X we needed a mock-graphics to return most of what wflinfo gives in
    different settings.
    
    Use mock-bad-wflinfo, mock-good-wflinfo and mock-software-wflinfo
    in srt_check_graphics.
    
    Use mock-good-wflinfo for good output, mock-bad-wflinfo for
    error output and mock-software-wflinfo for software rendering
    test output.
    eef37c44
    History
    Added mock-graphics to give specified json output for testing.
    Jeremy Whiting authored
    In order to test SrtGraphics on CI systems that likely aren't running
    X we needed a mock-graphics to return most of what wflinfo gives in
    different settings.
    
    Use mock-bad-wflinfo, mock-good-wflinfo and mock-software-wflinfo
    in srt_check_graphics.
    
    Use mock-good-wflinfo for good output, mock-bad-wflinfo for
    error output and mock-software-wflinfo for software rendering
    test output.